Property Access In Designer
-
Hi,
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:
!http://img339.imageshack.us/img339/8986/propertiesaccess.jpg(Designer interface)! -
Hello,
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