I think that:
http://qt-project.org/doc/qt-5.0/qtqml/qtqml-cppintegration-interactqmlfromcpp.html
is what you are looking for. Read it carefully – the safer and recommended approach is to expose some C++ object to Qml and bind your “textbox” properties to it. This way you are able to handle “textbox” properties in C++ code.
↧