Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Property Access In Designer
Sil20 last edited by
I am currently developping an applycation base on QML component. I already developpe some compnents, on is called TPL. I am using:
- QTQuick 1.1,
- QTcreator 2.5.82
- QT 4.8
Inside this component there are many "Variable" defined as "Property int/real/string".
I would like to only access some of them in the designer interface, because moste of them are only necessary internally.
I would say something like Private and Public component. Can someone tell me how to do this??
see the illustration of the designer below:
_rmn last edited by
in qml private properties should begin with "__". This properties won't be shown in QML designer.
See more here: http://doc.qt.digia.com/qt/qml-coding-conventions.html#private-properties