Home · All Classes · Modules

QSortFilterProxyModel Class Reference
[QtGui module]

Inherits QAbstractProxyModel.

Methods


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.

QModelIndex QSortFilterProxyModel.buddy (self, QModelIndex)

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.dropMimeData (self, QMimeData, Qt.DropAction, int, int, QModelIndex)

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)

Qt.ItemFlags QSortFilterProxyModel.flags (self, QModelIndex)

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)

QItemSelection QSortFilterProxyModel.mapSelectionFromSource (self, QItemSelection)

QItemSelection QSortFilterProxyModel.mapSelectionToSource (self, QItemSelection)

QModelIndex QSortFilterProxyModel.mapToSource (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)

QModelIndex QSortFilterProxyModel.parent (self, QModelIndex)

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)


PyQt 4.8 for X11Copyright © Riverbank Computing Ltd and Nokia 2010Qt 4.7.0