Quote Originally Posted by wysota View Post
The easiest thing would be not to reset your model but instead add/remove/move rows.
All data from the model changes every 1 minute so I beleive reseting it and only keeping track of the selected item would be better.

Quote Originally Posted by wysota View Post
How exactly do you "try to paint the selection"?
I thought
Qt Code:
  1. activeSelectionModel->select(selection,QItemSelectionModel::Select|QItemSelectionModel::Rows);
To copy to clipboard, switch view to plain text mode 
would do the trick.
How can I select items in a QTableView programatically!