Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Get the value of QML Editbox from c++
nikhil.patil2010 last edited by
I have created a QtQuick application with some textboxes in QML. I want to use the value of those textboxes in my c++ code. So how can i fetch those value from c++ code ?
tolszak last edited by
I think that:
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.