Qtquick application event handling from c++ class
-
I have designed the basic UI with some buttons,textareas using QtQuick application. I need to write the event handlers in c++ for the events like button click. How can i access the qml elements from c++ file?
-
There are several ways to do this it depends on the design of your application. But a good start is the chapter "qtqml-c++-Integration Chapter in te Docu":http://qt-project.org/doc/qt-5.0/qtqml/qtqml-cppintegration-topic.html