Skip to content

PythonQt.QtCore.QAbstractListModel · declarations 002

Back to PythonQt.QtCore.QAbstractListModel

insertColumn

insertColumn(column: Any, parent: Any) -> bool

X.insertColumn(column, parent) -> bool

insertColumns

insertColumns(column: Any, count: Any, parent: Any) -> bool

X.insertColumns(column, count, parent) -> bool

insertRow

insertRow(row: Any, parent: Any) -> bool

X.insertRow(row, parent) -> bool

insertRows

insertRows(row: Any, count: Any, parent: Any) -> bool

X.insertRows(row, count, parent) -> bool

itemData

itemData(index: Any) -> dict

X.itemData(index) -> dict

layoutAboutToBeChanged

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

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

layoutChanged

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

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

match

match(start: Any, role: Any, value: Any, hits: Any, arg4: flags) -> tuple

X.match(start, role, value, hits, flags) -> tuple

mimeData

mimeData(indexes: Any) -> Any

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

mimeTypes

mimeTypes() -> tuple

X.mimeTypes() -> tuple

modelAboutToBeReset

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

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

modelReset

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

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

moveColumn

moveColumn(sourceParent: Any, sourceColumn: Any, destinationParent: Any, destinationChild: Any) -> bool

X.moveColumn(sourceParent, sourceColumn, destinationParent, destinationChild) -> bool

moveColumns

moveColumns(sourceParent: Any, sourceColumn: Any, count: Any, destinationParent: Any, destinationChild: Any) -> bool

X.moveColumns(sourceParent, sourceColumn, count, destinationParent, destinationChild) -> bool

moveRow

moveRow(sourceParent: Any, sourceRow: Any, destinationParent: Any, destinationChild: Any) -> bool

X.moveRow(sourceParent, sourceRow, destinationParent, destinationChild) -> bool

moveRows

moveRows(sourceParent: Any, sourceRow: Any, count: Any, destinationParent: Any, destinationChild: Any) -> bool

X.moveRows(sourceParent, sourceRow, count, destinationParent, destinationChild) -> bool

objectNameChanged

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

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

parent

parent(child: Any) -> Any

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

Upstream PySide2 reference signatures (binding differences may apply):

parent(self) -> PySide2.QtCore.QObject
parent(self, child: PySide2.QtCore.QModelIndex) -> PySide2.QtCore.QModelIndex

Source: https://doc.qt.io/archives/qt-5.15/qabstractlistmodel.html#parent

persistentIndexList

persistentIndexList() -> tuple

X.persistentIndexList() -> tuple

removeColumn

removeColumn(column: Any, parent: Any) -> bool

X.removeColumn(column, parent) -> bool

removeColumns

removeColumns(column: Any, count: Any, parent: Any) -> bool

X.removeColumns(column, count, parent) -> bool

removeRow

removeRow(row: Any, parent: Any) -> bool

X.removeRow(row, parent) -> bool

removeRows

removeRows(row: Any, count: Any, parent: Any) -> bool

X.removeRows(row, count, parent) -> bool

revert

revert() -> Any

X.revert()

roleNames

roleNames() -> dict

X.roleNames() -> dict

rowCount

rowCount(parent: Any) -> int

X.rowCount(parent) -> int

rowsAboutToBeInserted

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

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

rowsAboutToBeMoved

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

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

rowsAboutToBeRemoved

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

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

rowsInserted

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

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

rowsMoved

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

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

rowsRemoved

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

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

setData

setData(index: Any, value: Any, role: Any) -> bool

X.setData(index, value, role) -> bool

setHeaderData

setHeaderData(section: Any, orientation: Any, value: Any, role: Any) -> bool

X.setHeaderData(section, orientation, value, role) -> bool

setItemData

setItemData(index: Any, roles: Any) -> bool

X.setItemData(index, roles) -> bool

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 QAbstractListModel::sibling(int row, int column, const QModelIndex \&idx) const

Reimplements: QAbstractItemModel::sibling(int row, int column, const QModelIndex \&index) 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/qabstractlistmodel.html#sibling

sort

sort(column: Any, order: Any) -> Any

X.sort(column, order)

span

span(index: Any) -> Any

X.span(index) -> PythonQt.QtCore.QSize

submit

submit() -> bool

X.submit() -> bool

supportedDragActions

supportedDragActions() -> Any

X.supportedDragActions()