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)
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)