Support of Custom Property in Custom Widget in Designer
-
Let's say i have the following class:
@
class TextPair {
int number;
QString text;
}
@The custom widget has a property of type TextPair.
All i want is in the property editor of that widget a tree like setting:
TextPair- number
- text
It should be very similar to a QString or a QRect property.
Edit: please use @ tags around code sections; Andre
-
Thanks for the additional info, but I require it available through the designer for the design team.
[quote author="Andre" date="1363768640"]Note that that doesn't mean that your widget can't have such a property. Just that you can't set it directly from designer. [/quote]