(self, row)
Return the state for row.
Return the state for row.
Return the state for row .
def stateForRow(self, row):
        # type: (int) -> Optional[TablePreview.RowSpec]
        """
        Return the state for row.
        """
        model = self.__previewmodel
        if model is not None:
            return model.headerData(
                row, Qt.Vertical, TablePreviewModel.RowStateRole)
        else:
            return None
def stateForRow ( self , row ) : # type: (int) -> Optional[TablePreview.RowSpec] model = self . __previewmodel if model is not None : return model . headerData ( row , Qt . Vertical , TablePreviewModel . RowStateRole ) else : return None