Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

[Never Mind] Communication between components in QML



  • I've grasped this signal concept on QML, but as far as I know of what I have read, no examples are given on how to allow interaction between different components. I see that if you use Qt with C++, it's got something called "Signal and Slots", but where can I read about slots in QML? If it allows for usage of slots, of course, which I suspect isn't possible.

    What I am trying to do just as an experimentation to get started, is to simply change the color of the text owned by an item of the same type, when you hover over a different button. That's it.

    Help will be appreciated, and I hope to see a reply soon. Meanwhile I will put my effort in trying to figure this out by myself.

    Edit: never mind, I found out.


Log in to reply