I have TableView and QSqlTableModel as a model for this TableView. They connected as written here (the second method).
I'd like that TableView would refresh its view (data) automatically (when something inserted/updated/removed in the model). How should I do this?
Can I trace somehow all changes in QSqlTableModel (insertion/updating/removing) by one signal? Yes, probably, I can look after rowsInserted, rowsModed and rowsRemoved signals, but may there is one signal for any type of change?