How to insert new data rows to QSqlQueryModel?
-
"QSqlQueryModel":http://doc.qt.nokia.com/latest/qsqlquerymodel.html#details
bq. The QSqlQueryModel class provides a read-only data model for SQL result sets.
However, you can
- use a QSqlTableModel instead or
- insert the data to the database first or
- create your own QAbstractItemModel which incorporates a QSqlQueryModel and allows for adding rows