Hi Dolphin
One solution can be with dynamic QML objects:
——————————————————————————-
http://qt-project.org/wiki/QML-Dynamic-Objects
http://harmattan-dev.nokia.com/docs/platform-api-reference/xml/daily-docs/libqt4/qdeclarativedynamicobjects.html
http://stackoverflow.com/questions/8266464/creating-custom-qml-objects-instances-with-qt-createqmlobject
http://developer.blackberry.com/cascades/documentation/dev/dynamic_qml/index.html
The other solution can be realized to get the title from a memberfunction of the MVC model.
All public slots are accessible from QML.
A good manual can be found here:
http://qt.digia.com/Global/Images/Qt/Files/QtEssentialsQtQuick/qml-cpp-integration.pdf
Happy hacking.
Best regards
↧