def columnCount(self, parent=_QModelIndex()): return len(self.headers)
def rowCount(self, parent=_QModelIndex()): return len(self._model_data)
def columnCount(self, parent=_QModelIndex()): """ Return col count of table view """ return len(self.headers)
def rowCount(self, parent=_QModelIndex()): """ Return row count of table view """ return len(self._model_data)