Updating database through QStandardItemModel
-
Hi,
I'm changing te QStandardItemModel data using custom delegates. Which is the best way to get the QStandardItemModel to make the changes in the database? (I was thinking of using QSqlQuery, but if there is a better, or simpler way I would like to go that way).
Thank you. -
Hi,
No there's not unless you change your QStandardItemModel for a QSqlTableModel.
-
Thank you.