QTableView - change selection when scrolling <p>I have a QTableView. I want the selection to be moved when i scroll - so the cursor would be always visible.</p> <p><img src="https://i.stack.imgur.com/DddG0.png" alt="enter image description here"></p> <p>There is <code>QTableView.selectRow(rowNo)</code>, but do you have a suggestion where to call this?</p> <p>Ideally i would like upon scrolling the selected row to be in the center.</p>