Take a look at QtCreator and how it uses its designer plugin. I think you can do the same in your program.
Take a look at QtCreator and how it uses its designer plugin. I think you can do the same in your program.
I'm a rebel in the S.D.G.
Could you point me to the way how make auto-generate GUI and add,edit,remove operation code for data objects?
It is very boring (in case of many data-classes) to make dialog per class manually with edit box per object data field and listbox (models) per array of contained objects.
C++
Last edited by nicolas1; 20th March 2009 at 13:14.
I have never used it myself before. So it will take me some time to investigate it.
I'm a rebel in the S.D.G.
You can find one (or maybe more) PropertyEditor on QtApps.org
As for the object inspector it is simply a tree view showing object trees maintained by the meta object system.
These components are available in Qt Designer sources, but are fully independent from the QtDesigner application and can probably be made independent from the rest of Qt Designer core lib easily enough if you take some time to study the code.
Current Qt projects : QCodeEdit, RotiDeCode
Yes, for this part there is no problem.
Problem arise when I want to serialialize/deserialize data with pointers (for example, to child objects). QDataStream does not handle pointers... ((
In QtDesigner, trolltech uses special c++ code generator (for example, ui4.cpp/ui4.h), which generates ser/deser code for QWidget -derived classes to xml Dom. Is there any same kind of tool?
How to make serialialize/deserialize of QObject derives?
Bookmarks