I am using a QTableView to display a QSqlTableModel.
Code:
ui->tableView->setModel(myTableModel); ui->tableView->show();
But when the user changes rows I want to get some information from the db and display it in a side widget. But in QTableView there is no signal that the row has been changed. I cannot use a QTableWiget because it will not "bind" to a QSqlTableModel...it says setModel() is private.
So QTableWidget will give a signal when a row has changed positions but it will not bind to the QSqlTableModel.
What is the best way to do this?

