I am confused about the communication between Qt and QML
-
several questions:
-
In QML how to call function in Qt C++?
-
In QML how to connect signal to Qt C++ slots?
-
In Qt C++ how to manage the QML element? For example, change the property of the item, create the item dynamically?
-
In Qt C++ how to connect signal to QML slots?
-
In Qt C++ how to call functions in QML?
Sorry, I am new to QML, but these topic is very important for implementing the application. In General, the question is the communication methods between Qt C++ and QML.
-
-
Have you found "this wiki":http://developer.qt.nokia.com/wiki/Category:Developing_with_Qt::Qt_Quick?
Especially the datasharing topic should interest you there.
-
For QML to call C++ function is in the tutorial.
http://doc.qt.nokia.com/latest/qml-extending-tutorial-index.htmlFor C++ to manage QML, it would be a bit complex, the main concept is MetaObject
Call function:
http://www.lothlorien.com/kf6gpe/?p=309Property:
http://stackoverflow.com/questions/5709820/communication-between-c-and-qml