[Qt-qml] How to know who is the parent !
Thomas PABST
thomas.pabst at gmail.com
Wed Dec 8 16:22:43 CET 2010
Hi,
When we design new QML Element which can be call by a lot of other QML
elements( Items, Buttons ...) we sometime need to know which call it.
I am looking for a way to know how the current element was called. Which is
the source, but only with qml or JavaScript, not c++.
On my case, many elements call only one element. But the action will differ
depending on who called it.
Thanks
-----------------------------------------------------
Thomas PABST
thomas.pabst at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20101208/0a3ed5e8/attachment.html
More information about the Qt-qml
mailing list