View Full Version : ActiveQt
sabna
7th March 2008, 06:00
Hello i am new to Qt and needed help with actveqt:)
After doing the following :
sample = new QAxWidget();
sample->setControl("{BAF827A4-6347-11D2-956A-00A0C96125B2}");
then i executed dumpcpp to generate the namespace.
and i included the namespace within my project.
Next,How do i access the methods of my control ???
Plz help! :o
sabna
It depends on the control you use. Take a look at that stuff generated by dumpcpp.
sabna
7th March 2008, 09:45
Thanks for replying !! :D
I have seen the code.It has all the properties and methods of my control(which is basically a chart with a graph).But how do i access them ?
Do i use the AxWidget object or some other way?
I tried creating an object of the class from my namespace and then,using that object i invoked its method.No.error is shown ,but nothing happens in my GUI, as there is no connection between my widget and class object.
:confused:
I have tried with dynamic call and it works,but dynamic call works even without namespace.Except i need to know the name of all the functions.
Yes, just create an instance and use direct calls to its methods. There are some kind of example snippets at dumpcpp page: http://doc.trolltech.com/4.3/activeqt-dumpcpp.html
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.