signal action only specific object
Unsolved
QML and Qt Quick
-
Hello,
In my project into a main qml I create more object from an specific component.
So I havemain.qml tabSplit.qml
And with dynamic code into main.qml I create other object from tabSplit.qml where signals are also defined (example : onLoadButton , so I have:
main.qml VirtualObjectCreated_A.qml (from component tabSplit.qml) VirtualObjectCreated_B.qml (from component tabSplit.qml)
When in my program I call the signal loadButton into c++ and the call start from the VirtualObjectCreated_B or VirtualObjectCreated_A
emit loadButton(parameter);
it happens that it is called twice
how can I refer the signal to the object created in dynamic mode?