(self, selectionModel: QItemSelectionModel)
Reimplemented from QTableView
Reimplemented from QTableView
Reimplemented from QTableView
def setSelectionModel(self, selectionModel: QItemSelectionModel) -> None:
        """Reimplemented from QTableView"""
        sm = self.selectionModel()
        if sm is not None:
            sm.selectionChanged.disconnect(self.__on_selectionChanged)
        super().setSelectionModel(selectionModel)
        if selectionModel is not None:
            selectionModel.selectionChanged.connect(self.__on_selectionChanged)
def setSelectionModel ( self , selectionModel : QItemSelectionModel ) -> None : sm = self . selectionModel ( ) if sm is not None : sm . selectionChanged . disconnect ( self . __on_selectionChanged ) super ( ) . setSelectionModel ( selectionModel ) if selectionModel is not None : selectionModel . selectionChanged . connect ( self . __on_selectionChanged )