QSortFilterProxyModel Class Reference
[QtGui module]
Inherits QAbstractProxyModel.
Methods
- __init__ (self, QObject parent = None)
- QModelIndex buddy (self, QModelIndex)
- bool canFetchMore (self, QModelIndex)
- clear (self)
- int columnCount (self, QModelIndex parent = QModelIndex())
- QVariant data (self, QModelIndex, int role = Qt.DisplayRole)
- bool dropMimeData (self, QMimeData, Qt.DropAction, int, int, QModelIndex)
- bool dynamicSortFilter (self)
- fetchMore (self, QModelIndex)
- bool filterAcceptsColumn (self, int, QModelIndex)
- bool filterAcceptsRow (self, int, QModelIndex)
- Qt.CaseSensitivity filterCaseSensitivity (self)
- filterChanged (self)
- int filterKeyColumn (self)
- QRegExp filterRegExp (self)
- int filterRole (self)
- Qt.ItemFlags flags (self, QModelIndex)
- bool hasChildren (self, QModelIndex parent = QModelIndex())
- QVariant headerData (self, int, Qt.Orientation, int role = Qt.EditRole)
- QModelIndex index (self, int, int, QModelIndex parent = QModelIndex())
- bool insertColumns (self, int, int, QModelIndex parent = QModelIndex())
- bool insertRows (self, int, int, QModelIndex parent = QModelIndex())
- invalidate (self)
- invalidateFilter (self)
- bool isSortLocaleAware (self)
- bool lessThan (self, QModelIndex, QModelIndex)
- QModelIndex mapFromSource (self, QModelIndex)
- QItemSelection mapSelectionFromSource (self, QItemSelection)
- QItemSelection mapSelectionToSource (self, QItemSelection)
- QModelIndex mapToSource (self, QModelIndex)
- list-of-QModelIndex match (self, QModelIndex, int, QVariant, int hits = 1, Qt.MatchFlags flags = Qt.MatchStartsWith|Qt.MatchWrap)
- QMimeData mimeData (self, list-of-QModelIndex)
- QStringList mimeTypes (self)
- QModelIndex parent (self, QModelIndex)
- QObject parent (self)
- bool removeColumns (self, int, int, QModelIndex parent = QModelIndex())
- bool removeRows (self, int, int, QModelIndex parent = QModelIndex())
- int rowCount (self, QModelIndex parent = QModelIndex())
- bool setData (self, QModelIndex, QVariant, int role = Qt.EditRole)
- setDynamicSortFilter (self, bool)
- setFilterCaseSensitivity (self, Qt.CaseSensitivity)
- setFilterFixedString (self, QString)
- setFilterKeyColumn (self, int)
- setFilterRegExp (self, QRegExp)
- setFilterRegExp (self, QString)
- setFilterRole (self, int)
- setFilterWildcard (self, QString)
- bool setHeaderData (self, int, Qt.Orientation, QVariant, int role = Qt.EditRole)
- setSortCaseSensitivity (self, Qt.CaseSensitivity)
- setSortLocaleAware (self, bool)
- setSortRole (self, int)
- setSourceModel (self, QAbstractItemModel)
- sort (self, int, Qt.SortOrder order = Qt.AscendingOrder)
- Qt.CaseSensitivity sortCaseSensitivity (self)
- int sortColumn (self)
- Qt.SortOrder sortOrder (self)
- int sortRole (self)
- QSize span (self, QModelIndex)
- Qt.DropActions supportedDropActions (self)
Detailed Description
Method Documentation
QSortFilterProxyModel.__init__ (self, QObject parent = None)
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.
bool QSortFilterProxyModel.canFetchMore (self, QModelIndex)
QSortFilterProxyModel.clear (self)
This method is also a Qt slot with the C++ signature void clear().
int QSortFilterProxyModel.columnCount (self, QModelIndex parent = QModelIndex())
QVariant QSortFilterProxyModel.data (self, QModelIndex, int role = Qt.DisplayRole)
bool QSortFilterProxyModel.dynamicSortFilter (self)
QSortFilterProxyModel.fetchMore (self, QModelIndex)
bool QSortFilterProxyModel.filterAcceptsColumn (self, int, QModelIndex)
bool QSortFilterProxyModel.filterAcceptsRow (self, int, QModelIndex)
Qt.CaseSensitivity QSortFilterProxyModel.filterCaseSensitivity (self)
QSortFilterProxyModel.filterChanged (self)
int QSortFilterProxyModel.filterKeyColumn (self)
QRegExp QSortFilterProxyModel.filterRegExp (self)
int QSortFilterProxyModel.filterRole (self)
bool QSortFilterProxyModel.hasChildren (self, QModelIndex parent = QModelIndex())
QVariant QSortFilterProxyModel.headerData (self, int, Qt.Orientation, int role = Qt.EditRole)
QModelIndex QSortFilterProxyModel.index (self, int, int, QModelIndex parent = QModelIndex())
bool QSortFilterProxyModel.insertColumns (self, int, int, QModelIndex parent = QModelIndex())
bool QSortFilterProxyModel.insertRows (self, int, int, QModelIndex parent = QModelIndex())
QSortFilterProxyModel.invalidate (self)
This method is also a Qt slot with the C++ signature void invalidate().
QSortFilterProxyModel.invalidateFilter (self)
bool QSortFilterProxyModel.isSortLocaleAware (self)
bool QSortFilterProxyModel.lessThan (self, QModelIndex, QModelIndex)
QModelIndex QSortFilterProxyModel.mapFromSource (self, QModelIndex)
list-of-QModelIndex QSortFilterProxyModel.match (self, QModelIndex, int, QVariant, int hits = 1, Qt.MatchFlags flags = Qt.MatchStartsWith|Qt.MatchWrap)
QMimeData QSortFilterProxyModel.mimeData (self, list-of-QModelIndex)
The QMimeData result
QStringList QSortFilterProxyModel.mimeTypes (self)
QObject QSortFilterProxyModel.parent (self)
bool QSortFilterProxyModel.removeColumns (self, int, int, QModelIndex parent = QModelIndex())
bool QSortFilterProxyModel.removeRows (self, int, int, QModelIndex parent = QModelIndex())
int QSortFilterProxyModel.rowCount (self, QModelIndex parent = QModelIndex())
bool QSortFilterProxyModel.setData (self, QModelIndex, QVariant, int role = Qt.EditRole)
QSortFilterProxyModel.setDynamicSortFilter (self, bool)
QSortFilterProxyModel.setFilterCaseSensitivity (self, Qt.CaseSensitivity)
QSortFilterProxyModel.setFilterFixedString (self, QString)
This method is also a Qt slot with the C++ signature void setFilterFixedString(const QString&).
QSortFilterProxyModel.setFilterKeyColumn (self, int)
QSortFilterProxyModel.setFilterRegExp (self, QRegExp)
QSortFilterProxyModel.setFilterRegExp (self, QString)
This method is also a Qt slot with the C++ signature void setFilterRegExp(const QString&).
QSortFilterProxyModel.setFilterRole (self, int)
QSortFilterProxyModel.setFilterWildcard (self, QString)
This method is also a Qt slot with the C++ signature void setFilterWildcard(const QString&).
bool QSortFilterProxyModel.setHeaderData (self, int, Qt.Orientation, QVariant, int role = Qt.EditRole)
QSortFilterProxyModel.setSortCaseSensitivity (self, Qt.CaseSensitivity)
QSortFilterProxyModel.setSortLocaleAware (self, bool)
QSortFilterProxyModel.setSortRole (self, int)
QSortFilterProxyModel.setSourceModel (self, QAbstractItemModel)
QSortFilterProxyModel.sort (self, int, Qt.SortOrder order = Qt.AscendingOrder)
Qt.CaseSensitivity QSortFilterProxyModel.sortCaseSensitivity (self)
int QSortFilterProxyModel.sortColumn (self)
Qt.SortOrder QSortFilterProxyModel.sortOrder (self)
int QSortFilterProxyModel.sortRole (self)
QSize QSortFilterProxyModel.span (self, QModelIndex)
Qt.DropActions QSortFilterProxyModel.supportedDropActions (self)