def columnCount(self, parent): """ Public method to return the number of columns. @param parent index of the parent (QModelIndex) @return number of columns (integer) """ return min(1, QSortFilterProxyModel.columnCount(self, parent))
def columnCount(self, parent): """ Public method to return the number of columns. @param parent index of the parent (QModelIndex) @return number of columns (integer) """ return min(1, QSortFilterProxyModel.columnCount(self, parent))