Hi,
Could someone list different ways of linking a QML object’s action with the C/C++ code behind. I have done some reading, most confusing to me and still cannot get a good grasp on this.
For example:
A QML defined button (via QtQuick 1.1 / Qt 4.8) is pressed on the touchscreen (or clicked with a mouse).
This action should call a C/C++ function in the .cpp file
Is there only one way of achieving this or many? (code examples would be greatly appreciated)
What are the different ways, if any?
What are the reasons for these different ways, if any?
Thank you!
↧