Hi,
I was wondering if anyone can explain how SIgnals and Slots work in QML.
I understand them in Qt.
So if I have 2 files.
A.qml
B.qml
I want A.qml to send a signal to B.qml
The signal I want A to send to B is a string.
//A.qml
Qt Code:
Item { id: aItem signal sendStringSignal Rectangle { onClicked: { //need to send a to B.qml } } }To copy to clipboard, switch view to plain text mode
I wasn't able to find code snippets of anyone doing this, any ideas?
Thanks
Bookmarks