Quote Originally Posted by john_god View Post
I never used QSqlTableModel, but as far as QTableView if you want users to edit data I think you should use QTableWidget instead.
Just a remark here: QTableWidget is basically a QTableModel a filter and a QTableView put into one convenience widget. When the model supports data for the Qt::EditRole, then QTableView will be perfectly able to support editing of data.