Skip to content

PythonQt.QtCore.QIdentityProxyModel · declarations 002

Back to PythonQt.QtCore.QIdentityProxyModel

setSourceModel

setSourceModel(sourceModel: Any) -> None

X.setSourceModel(sourceModel)

Supplemental documentation: Qt 5 reference:

[override virtual] void QIdentityProxyModel::setSourceModel(QAbstractItemModel *newSourceModel)

Reimplements: QAbstractProxyModel::setSourceModel(QAbstractItemModel *sourceModel).

Upstream PySide2 reference signatures (binding differences may apply):

setSourceModel(self, sourceModel: PySide2.QtCore.QAbstractItemModel) -> None

Source: https://doc.qt.io/archives/qt-5.15/qidentityproxymodel.html#setSourceModel

sibling

sibling(row: int, column: int, idx: Any) -> Any

X.sibling(row, column, idx) -> PythonQt.QtCore.QModelIndex

Supplemental documentation: Qt 5 reference:

[override virtual] QModelIndex QIdentityProxyModel::sibling(int row, int column, const QModelIndex \&idx) const

Reimplements: QAbstractProxyModel::sibling(int row, int column, const QModelIndex \&idx) const.

Upstream PySide2 reference signatures (binding differences may apply):

sibling(self, row: int, column: int, idx: PySide2.QtCore.QModelIndex) -> PySide2.QtCore.QModelIndex

Source: https://doc.qt.io/archives/qt-5.15/qidentityproxymodel.html#sibling

sourceModel instance-attribute

sourceModel: QAbstractItemModel

sourceModelChanged

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

Native PythonQt.QtCore.QIdentityProxyModel.sourceModelChanged; argument details are not documented.