Unsolved How to modify values in a QAbstractItemModel through QML.
-
i have to modify values in model during runtime and display them in a view
-
@Sanjeev-Gudisagar
did you read this already? -
Starting from https://wiki.qt.io/How_to_Use_a_Custom_Class_in_C%2B%2B_Model_and_QML_View
You can just change the QML file delegate to:
delegate: TextInput { text: edit.name onEditingFinished: { edit.name = text } }