[Qt-interest] create properties of custom type dynamically

ami guru dosto.walla at gmail.com
Wed Jan 21 11:39:38 CET 2009


Hello forum,

i am reading a file that contains different data type name like SFVEC3F,
MFVEC3D and so on.

i would like to make a generic class that will contain some of the
properties of types specified above.

Lets go for an example:


I have class named Aloha that contains the properties of the following type

SFVEC3F
SFFLOAT
MFINT


I have anothere class named Cone that have properties of the following type:

SFMATRIX4F
MFVEC3D
SFVEC3F


Any hint on how i can make a generic class containing some of the
properties.

How can i define the properties at run-time that are read from the file?


I need that generic class to use in a editable property browser .


Regards
Sajjad

Regards
Sajjad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090121/25962e4d/attachment.html 


More information about the Qt-interest-old mailing list