Hello and welcome to devnet,
i would go ahead and use signals for that. For example:
Creating the component: var component = Qt.createComponent("detail_dialog.qml.qml");
dialog = component.createObject(root);
dialog.show();
Creating the signals in your detail_dialog.qml, for example: signal mySignal()
Accessing the signals with for example: dialog.onMySignal()
Havn’t tested it out yet but it should theoretically work,
↧