I think the syntax is not so nice especially the need to have both
the class name and the 'path' to the property.
About syntax, I think i can make syntax easier.
For example:
Q_PROPERTY(QString label ALIAS ui-customWidget-label)
or:
Q_PROPERTY(QString label ALIAS ui-customWidget label)
If you have 10 properties, you only need to call initAliasNotify to
connect all.
2014-03-11 14:59 GMT+06:00 André Somers an...@familiesomers.nl:
Svetkin Mikhail schreef op 11-3-2014 04:12:
Explain:
I was creating custom widgets with the help of Qt-designer.
And I have noticed I have
14:05:09 Svetkin Mikhail wrote:
Hellow all.
I was creating custom widgets with the help of Qt-designer model.
And I have noticed I have to duplicate my code, if I want to edit
properties of the widget in qt-designer property editor.
[...]
Q_PROPERTY(QString label READ ui