Use QTableView::selectRow(int row) if you keep track of the row number