How can I select by rows instead of individual cells in QTableView in PyQt?
That turned out to be easier than I thought. Simply adding this row makes the selection to be by row instead of cell. self.tv.setSelectionBehavior(QAbstractItemView.SelectRows)