Updating model from UI
Unsolved
General and Desktop
-
Hi
iam new to QT, i have a model class (class employee) and i want to show some details in text edit,
is there any way to bind the data from my model to ui and whenever i change some text in textedit ,it should be updated to model and vice versa.
iam using QT5 with visual studio and not using any qmlthanks in advance
-
@vmjafar Hi!
Take a look at http://doc.qt.io/qt-5/model-view-programming.html