Skip to content

PythonQt.QtCore.QAbstractProxyModel · declarations 001

Back to PythonQt.QtCore.QAbstractProxyModel

buddy

buddy(index: Any) -> Any

X.buddy(index) -> PythonQt.QtCore.QModelIndex

Supplemental documentation: Qt 5 reference:

[override virtual] QModelIndex QAbstractProxyModel::buddy(const QModelIndex \&index) const

Reimplements: QAbstractItemModel::buddy(const QModelIndex \&index) const.

Upstream PySide2 reference signatures (binding differences may apply):

buddy(self, index: PySide2.QtCore.QModelIndex) -> PySide2.QtCore.QModelIndex

Source: https://doc.qt.io/archives/qt-5.15/qabstractproxymodel.html#buddy

canDropMimeData

canDropMimeData(data: Any, action: Any, row: int, column: int, parent: Any) -> bool

X.canDropMimeData(data, action, row, column, parent) -> bool

Supplemental documentation: Qt 5 reference:

[override virtual] bool QAbstractProxyModel::canDropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex \&parent) const

Reimplements: QAbstractItemModel::canDropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex \&parent) const.

This function was introduced in Qt 5.4.

Upstream PySide2 reference signatures (binding differences may apply):

canDropMimeData(self, data: PySide2.QtCore.QMimeData, action: PySide2.QtCore.Qt.DropAction, row: int, column: int, parent: PySide2.QtCore.QModelIndex) -> bool

Source: https://doc.qt.io/archives/qt-5.15/qabstractproxymodel.html#canDropMimeData

canFetchMore

canFetchMore(parent: Any) -> bool

X.canFetchMore(parent) -> bool

Supplemental documentation: Qt 5 reference:

[override virtual] bool QAbstractProxyModel::canFetchMore(const QModelIndex \&parent) const

Reimplements: QAbstractItemModel::canFetchMore(const QModelIndex \&parent) const.

Upstream PySide2 reference signatures (binding differences may apply):

canFetchMore(self, parent: PySide2.QtCore.QModelIndex) -> bool

Source: https://doc.qt.io/archives/qt-5.15/qabstractproxymodel.html#canFetchMore

columnCount

columnCount(parent: Any) -> int

X.columnCount(parent) -> int

columnsAboutToBeInserted

columnsAboutToBeInserted(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtCore.QAbstractProxyModel.columnsAboutToBeInserted; argument details are not documented.

columnsAboutToBeMoved

columnsAboutToBeMoved(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtCore.QAbstractProxyModel.columnsAboutToBeMoved; argument details are not documented.

columnsAboutToBeRemoved

columnsAboutToBeRemoved(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtCore.QAbstractProxyModel.columnsAboutToBeRemoved; argument details are not documented.

columnsInserted

columnsInserted(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtCore.QAbstractProxyModel.columnsInserted; argument details are not documented.

columnsMoved

columnsMoved(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtCore.QAbstractProxyModel.columnsMoved; argument details are not documented.

columnsRemoved

columnsRemoved(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtCore.QAbstractProxyModel.columnsRemoved; argument details are not documented.

data

data(proxyIndex: Any, role: int) -> Any

X.data(proxyIndex, role) -> object

Supplemental documentation: Qt 5 reference:

[override virtual] QVariant QAbstractProxyModel::data(const QModelIndex \&proxyIndex, int role \= Qt::DisplayRole) const

Reimplements: QAbstractItemModel::data(const QModelIndex \&index, int role) const.

See also setData().

Upstream PySide2 reference signatures (binding differences may apply):

data(self, proxyIndex: PySide2.QtCore.QModelIndex, role: int=...) -> typing.Any

Source: https://doc.qt.io/archives/qt-5.15/qabstractproxymodel.html#data

dataChanged

dataChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtCore.QAbstractProxyModel.dataChanged; argument details are not documented.

destroyed

destroyed(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtCore.QAbstractProxyModel.destroyed; argument details are not documented.

dropMimeData

dropMimeData(data: Any, action: Any, row: int, column: int, parent: Any) -> bool

X.dropMimeData(data, action, row, column, parent) -> bool

Supplemental documentation: Qt 5 reference:

[override virtual] bool QAbstractProxyModel::dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex \&parent)

Reimplements: QAbstractItemModel::dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex \&parent).

This function was introduced in Qt 5.4.

Upstream PySide2 reference signatures (binding differences may apply):

dropMimeData(self, data: PySide2.QtCore.QMimeData, action: PySide2.QtCore.Qt.DropAction, row: int, column: int, parent: PySide2.QtCore.QModelIndex) -> bool

Source: https://doc.qt.io/archives/qt-5.15/qabstractproxymodel.html#dropMimeData

fetchMore

fetchMore(parent: Any) -> None

X.fetchMore(parent)

Supplemental documentation: Qt 5 reference:

[override virtual] void QAbstractProxyModel::fetchMore(const QModelIndex \&parent)

Reimplements: QAbstractItemModel::fetchMore(const QModelIndex \&parent).

Upstream PySide2 reference signatures (binding differences may apply):

fetchMore(self, parent: PySide2.QtCore.QModelIndex) -> None

Source: https://doc.qt.io/archives/qt-5.15/qabstractproxymodel.html#fetchMore

flags

flags(index: Any) -> Any

X.flags(index)

Supplemental documentation: Qt 5 reference:

[override virtual] Qt::ItemFlags QAbstractProxyModel::flags(const QModelIndex \&index) const

Reimplements: QAbstractItemModel::flags(const QModelIndex \&index) const.

Upstream PySide2 reference signatures (binding differences may apply):

flags(self, index: PySide2.QtCore.QModelIndex) -> PySide2.QtCore.Qt.ItemFlags

Source: https://doc.qt.io/archives/qt-5.15/qabstractproxymodel.html#flags

hasChildren

hasChildren(parent: Any) -> bool

X.hasChildren(parent) -> bool

Supplemental documentation: Qt 5 reference:

[override virtual] bool QAbstractProxyModel::hasChildren(const QModelIndex \&parent \= QModelIndex()) const

Reimplements: QAbstractItemModel::hasChildren(const QModelIndex \&parent) const.

Upstream PySide2 reference signatures (binding differences may apply):

hasChildren(self, parent: PySide2.QtCore.QModelIndex=...) -> bool

Source: https://doc.qt.io/archives/qt-5.15/qabstractproxymodel.html#hasChildren

headerData

headerData(section: int, orientation: Any, role: int) -> Any

X.headerData(section, orientation, role) -> object

Supplemental documentation: Qt 5 reference:

[override virtual] QVariant QAbstractProxyModel::headerData(int section, Qt::Orientation orientation, int role \= Qt::DisplayRole) const

Reimplements: QAbstractItemModel::headerData(int section, Qt::Orientation orientation, int role) const.

See also setHeaderData().

Upstream PySide2 reference signatures (binding differences may apply):

headerData(self, section: int, orientation: PySide2.QtCore.Qt.Orientation, role: int=...) -> typing.Any

Source: https://doc.qt.io/archives/qt-5.15/qabstractproxymodel.html#headerData

headerDataChanged

headerDataChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtCore.QAbstractProxyModel.headerDataChanged; argument details are not documented.

index

index(row: Any, column: Any, parent: Any) -> Any

X.index(row, column, parent) -> PythonQt.QtCore.QModelIndex

itemData

itemData(index: Any) -> dict

X.itemData(index) -> dict

Supplemental documentation: Qt 5 reference:

[override virtual] QMap\<int, QVariant> QAbstractProxyModel::itemData(const QModelIndex \&proxyIndex) const

Reimplements: QAbstractItemModel::itemData(const QModelIndex \&index) const.

See also setItemData().

Upstream PySide2 reference signatures (binding differences may apply):

itemData(self, index: PySide2.QtCore.QModelIndex) -> typing.Dict[int, typing.Any]

Source: https://doc.qt.io/archives/qt-5.15/qabstractproxymodel.html#itemData

layoutAboutToBeChanged

layoutAboutToBeChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtCore.QAbstractProxyModel.layoutAboutToBeChanged; argument details are not documented.

layoutChanged

layoutChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtCore.QAbstractProxyModel.layoutChanged; argument details are not documented.

mapFromSource

mapFromSource(sourceIndex: Any) -> Any

X.mapFromSource(sourceIndex) -> PythonQt.QtCore.QModelIndex

Supplemental documentation: Qt 5 reference:

[pure virtual] QModelIndex QAbstractProxyModel::mapFromSource(const QModelIndex \&sourceIndex) const

Reimplement this function to return the model index in the proxy model that corresponds to the sourceIndex from the source model.

Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.

See also mapToSource().

Upstream PySide2 reference signatures (binding differences may apply):

mapFromSource(self, sourceIndex: PySide2.QtCore.QModelIndex) -> PySide2.QtCore.QModelIndex

Source: https://doc.qt.io/archives/qt-5.15/qabstractproxymodel.html#mapFromSource

mapSelectionFromSource

mapSelectionFromSource(selection: Any) -> Any

X.mapSelectionFromSource(selection) -> PythonQt.QtGui.QItemSelection

Supplemental documentation: Qt 5 reference:

[virtual] QItemSelection QAbstractProxyModel::mapSelectionFromSource(const QItemSelection \&sourceSelection) const

Returns a proxy selection mapped from the specified sourceSelection.

Reimplement this method to map source selections to proxy selections.

Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.

Upstream PySide2 reference signatures (binding differences may apply):

mapSelectionFromSource(self, selection: PySide2.QtCore.QItemSelection) -> PySide2.QtCore.QItemSelection

Source: https://doc.qt.io/archives/qt-5.15/qabstractproxymodel.html#mapSelectionFromSource

mapSelectionToSource

mapSelectionToSource(selection: Any) -> Any

X.mapSelectionToSource(selection) -> PythonQt.QtGui.QItemSelection

Supplemental documentation: Qt 5 reference:

[virtual] QItemSelection QAbstractProxyModel::mapSelectionToSource(const QItemSelection \&proxySelection) const

Returns a source selection mapped from the specified proxySelection.

Reimplement this method to map proxy selections to source selections.

Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.

Upstream PySide2 reference signatures (binding differences may apply):

mapSelectionToSource(self, selection: PySide2.QtCore.QItemSelection) -> PySide2.QtCore.QItemSelection

Source: https://doc.qt.io/archives/qt-5.15/qabstractproxymodel.html#mapSelectionToSource

mapToSource

mapToSource(proxyIndex: Any) -> Any

X.mapToSource(proxyIndex) -> PythonQt.QtCore.QModelIndex

Supplemental documentation: Qt 5 reference:

[pure virtual] QModelIndex QAbstractProxyModel::mapToSource(const QModelIndex \&proxyIndex) const

Reimplement this function to return the model index in the source model that corresponds to the proxyIndex in the proxy model.

Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.

See also mapFromSource().

Upstream PySide2 reference signatures (binding differences may apply):

mapToSource(self, proxyIndex: PySide2.QtCore.QModelIndex) -> PySide2.QtCore.QModelIndex

Source: https://doc.qt.io/archives/qt-5.15/qabstractproxymodel.html#mapToSource

mimeData

mimeData(indexes: Any) -> Any

X.mimeData(indexes) -> PythonQt.QtCore.QMimeData

Supplemental documentation: Qt 5 reference:

[override virtual] QMimeData *QAbstractProxyModel::mimeData(const QModelIndexList \&indexes) const

Reimplements: QAbstractItemModel::mimeData(const QModelIndexList \&indexes) const.

Upstream PySide2 reference signatures (binding differences may apply):

mimeData(self, indexes: typing.List[int]) -> PySide2.QtCore.QMimeData

Source: https://doc.qt.io/archives/qt-5.15/qabstractproxymodel.html#mimeData

mimeTypes

mimeTypes() -> tuple

X.mimeTypes() -> tuple

Supplemental documentation: Qt 5 reference:

[override virtual] QStringList QAbstractProxyModel::mimeTypes() const

Reimplements: QAbstractItemModel::mimeTypes() const.

Upstream PySide2 reference signatures (binding differences may apply):

mimeTypes(self) -> typing.List[str]

Source: https://doc.qt.io/archives/qt-5.15/qabstractproxymodel.html#mimeTypes

modelAboutToBeReset

modelAboutToBeReset(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtCore.QAbstractProxyModel.modelAboutToBeReset; argument details are not documented.

modelReset

modelReset(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtCore.QAbstractProxyModel.modelReset; argument details are not documented.

objectNameChanged

objectNameChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtCore.QAbstractProxyModel.objectNameChanged; argument details are not documented.

parent

parent(child: Any) -> Any

X.parent(child) -> PythonQt.QtCore.QModelIndex

revert

revert() -> None

X.revert()

Supplemental documentation: Qt 5 reference:

[override virtual] void QAbstractProxyModel::revert()

Reimplements: QAbstractItemModel::revert().

Upstream PySide2 reference signatures (binding differences may apply):

revert(self) -> None

Source: https://doc.qt.io/archives/qt-5.15/qabstractproxymodel.html#revert

rowsAboutToBeInserted

rowsAboutToBeInserted(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtCore.QAbstractProxyModel.rowsAboutToBeInserted; argument details are not documented.

rowsAboutToBeMoved

rowsAboutToBeMoved(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtCore.QAbstractProxyModel.rowsAboutToBeMoved; argument details are not documented.

rowsAboutToBeRemoved

rowsAboutToBeRemoved(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtCore.QAbstractProxyModel.rowsAboutToBeRemoved; argument details are not documented.

rowsInserted

rowsInserted(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtCore.QAbstractProxyModel.rowsInserted; argument details are not documented.

rowsMoved

rowsMoved(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtCore.QAbstractProxyModel.rowsMoved; argument details are not documented.

rowsRemoved

rowsRemoved(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtCore.QAbstractProxyModel.rowsRemoved; argument details are not documented.