How to access other QML elements ?
-
Hi,
is there a documentation or a tip to simple access other elements ID ?
because in my case sometime it works ( i think where there is a hierarchical relation ) and sometimes it doesn't work.
How to perform connections between to components that each one id is not accessible for the other ?
Sorry for my english.
Thank you.
-
You should read on the "QML Object identifier attribute":http://qt-project.org/doc/qt-5.0/qtqml/qtqml-syntax-objectattributes.html#the-id-attribute, and then also on the "QML Object scope":http://qt-project.org/doc/qt-5.0/qtqml/qtqml-documents-scope.html#component-scope.