see QDesignerCustomWidgetInterface::domXml() and its usage in the custom plugin example:
http://qt-project.org/doc/qt-4.8/des...getplugin.html
see QDesignerCustomWidgetInterface::domXml() and its usage in the custom plugin example:
http://qt-project.org/doc/qt-4.8/des...getplugin.html
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
d_stranz (12th April 2012)
Hi,
thanks for your reply. I tried to use the domXML-function to create new properties and it works for strings. When using 'cstring' as datatyp-element I even get rid of the sub-properties translation, etc.
But I cannot create a 'set'-property. As described in http://www.kde.gr.jp/~ichi/qt/designer-manual-15.html it should be possible to create a set-property with
<set>AlignLeft|AlignTop</set>
But if I specify this in my domXML() method this property is silently ignored by QTDesigner
Can anybody tell me where the problem is?
Bookmarks