Skip to content

PythonQt.QtCore.QAbstractListModel · declarations 001

Back to PythonQt.QtCore.QAbstractListModel

beginInsertColumns

beginInsertColumns(parent: Any, first: Any, last: Any) -> Any

X.beginInsertColumns(parent, first, last)

beginInsertRows

beginInsertRows(parent: Any, first: Any, last: Any) -> Any

X.beginInsertRows(parent, first, last)

beginMoveColumns

beginMoveColumns(sourceParent: Any, sourceFirst: Any, sourceLast: Any, destinationParent: Any, destinationColumn: Any) -> bool

X.beginMoveColumns(sourceParent, sourceFirst, sourceLast, destinationParent, destinationColumn) -> bool

beginMoveRows

beginMoveRows(sourceParent: Any, sourceFirst: Any, sourceLast: Any, destinationParent: Any, destinationRow: Any) -> bool

X.beginMoveRows(sourceParent, sourceFirst, sourceLast, destinationParent, destinationRow) -> bool

beginRemoveColumns

beginRemoveColumns(parent: Any, first: Any, last: Any) -> Any

X.beginRemoveColumns(parent, first, last)

beginRemoveRows

beginRemoveRows(parent: Any, first: Any, last: Any) -> Any

X.beginRemoveRows(parent, first, last)

beginResetModel

beginResetModel() -> Any

X.beginResetModel()

buddy

buddy(index: Any) -> Any

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

canDropMimeData

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

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

canFetchMore

canFetchMore(parent: Any) -> bool

X.canFetchMore(parent) -> bool

changePersistentIndex

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

X.changePersistentIndex(from, to)

changePersistentIndexList

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

X.changePersistentIndexList(from, to)

columnCount

columnCount(parent: Any) -> int

X.columnCount(parent) -> int

Upstream PySide2 reference signatures (binding differences may apply):

columnCount(self, parent: PySide2.QtCore.QModelIndex) -> int

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

columnsAboutToBeInserted

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

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

columnsAboutToBeMoved

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

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

columnsAboutToBeRemoved

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

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

columnsInserted

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

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

columnsMoved

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

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

columnsRemoved

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

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

createIndex

createIndex(row: Any, column: Any, id: Any) -> Any

X.createIndex(row, column, id) -> PythonQt.QtCore.QModelIndex

data

data(index: Any, role: Any) -> Any

X.data(index, role) -> object

dataChanged

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

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

decodeData

decodeData(row: Any, column: Any, parent: Any, stream: Any) -> bool

X.decodeData(row, column, parent, stream) -> bool

destroyed

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

Native PythonQt.QtCore.QAbstractListModel.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 QAbstractListModel::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).

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/qabstractlistmodel.html#dropMimeData

encodeData

encodeData(indexes: Any, stream: Any) -> Any

X.encodeData(indexes, stream)

endInsertColumns

endInsertColumns() -> Any

X.endInsertColumns()

endInsertRows

endInsertRows() -> Any

X.endInsertRows()

endMoveColumns

endMoveColumns() -> Any

X.endMoveColumns()

endMoveRows

endMoveRows() -> Any

X.endMoveRows()

endRemoveColumns

endRemoveColumns() -> Any

X.endRemoveColumns()

endRemoveRows

endRemoveRows() -> Any

X.endRemoveRows()

endResetModel

endResetModel() -> Any

X.endResetModel()

fetchMore

fetchMore(parent: Any) -> Any

X.fetchMore(parent)

flags

flags(index: Any) -> Any

X.flags(index)

Supplemental documentation: Qt 5 reference:

[override virtual] Qt::ItemFlags QAbstractListModel::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/qabstractlistmodel.html#flags

hasChildren

hasChildren(parent: Any) -> bool

X.hasChildren(parent) -> bool

Upstream PySide2 reference signatures (binding differences may apply):

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

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

hasIndex

hasIndex(row: Any, column: Any, parent: Any) -> bool

X.hasIndex(row, column, parent) -> bool

headerData

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

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

headerDataChanged

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

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

index

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

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

Supplemental documentation: Qt 5 reference:

[override virtual] QModelIndex QAbstractListModel::index(int row, int column \= 0, const QModelIndex \&parent \= QModelIndex()) const

Reimplements: QAbstractItemModel::index(int row, int column, const QModelIndex \&parent) const.

Returns the index of the data in row and column with parent.

See also parent().

Upstream PySide2 reference signatures (binding differences may apply):

index(self, row: int, column: int=..., parent: PySide2.QtCore.QModelIndex=...) -> PySide2.QtCore.QModelIndex

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