Home · All Classes · Modules

QProxyModel Class Reference
[QtGui module]

Inherits QAbstractItemModel.

Methods


Detailed Description


Method Documentation

QProxyModel.__init__ (self, QObject parent = None)

The parent argument, if not None, causes self to be owned by Qt instead of PyQt.

int QProxyModel.columnCount (self, QModelIndex parent = QModelIndex())

QVariant QProxyModel.data (self, QModelIndex index, int role = Qt.DisplayRole)

bool QProxyModel.dropMimeData (self, QMimeData, Qt.DropAction, int, int, QModelIndex)

QProxyModel.fetchMore (self, QModelIndex)

Qt.ItemFlags QProxyModel.flags (self, QModelIndex)

bool QProxyModel.hasChildren (self, QModelIndex parent = QModelIndex())

QVariant QProxyModel.headerData (self, int, Qt.Orientation, int role = Qt.DisplayRole)

QModelIndex QProxyModel.index (self, int row, int column, QModelIndex parent = QModelIndex())

bool QProxyModel.insertColumns (self, int, int, QModelIndex parent = QModelIndex())

bool QProxyModel.insertRows (self, int, int, QModelIndex parent = QModelIndex())

list-of-QModelIndex QProxyModel.match (self, QModelIndex, int, QVariant, int hits = 1, Qt.MatchFlags flags = Qt.MatchFlags(Qt.MatchStartsWith|Qt.MatchWrap))

QMimeData QProxyModel.mimeData (self, list-of-QModelIndex)

The QMimeData result

QStringList QProxyModel.mimeTypes (self)

QAbstractItemModel QProxyModel.model (self)

QModelIndex QProxyModel.parent (self, QModelIndex)

QObject QProxyModel.parent (self)

QProxyModel.revert (self)

int QProxyModel.rowCount (self, QModelIndex parent = QModelIndex())

bool QProxyModel.setData (self, QModelIndex, QVariant, int role = Qt.EditRole)

bool QProxyModel.setHeaderData (self, int, Qt.Orientation, QVariant, int role = Qt.EditRole)

QProxyModel.setModel (self, QAbstractItemModel)

QProxyModel.sort (self, int, Qt.SortOrder order = Qt.AscendingOrder)

QSize QProxyModel.span (self, QModelIndex)

bool QProxyModel.submit (self)

Qt.DropActions QProxyModel.supportedDropActions (self)


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