Hello, I'm new with QML and just wondering that I can't access the id of a QML 
parent object if I work with the MouseArea and the onClicked signal.

What I did is creating a QML Button definition which I want to use in multiple 
other QML Objects.

So I want to to reuse the Button instead duplicating the code.

If the button is clicked it's important to know in which parent QML Object the 
button was embedded. I need this to run different actions depending on the 
parent object. 

What is the trick to get the parent id?

Best regards Michael
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml

Reply via email to