Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module « PySide6.QtCore »

Classe « QAbstractListModel »

Informations générales

Héritage

builtins.object
    Object
        QObject
            QAbstractItemModel
                QAbstractListModel

Définition

class QAbstractListModel(QAbstractItemModel):

Description [extrait de QAbstractListModel.__doc__]

QAbstractListModel(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None

Constructeur(s)

Signature du constructeur Description
__new__(*args, **kwargs) Create and return a new object. See help(type) for accurate signature. [extrait de __new__.__doc__]
__init__(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None __init__(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None [extrait de __init__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
HorizontalSortHintPySide6.QtCore.QAbstractItemModel.LayoutChangeHint.HorizontalSortHint
NoLayoutChangeHintPySide6.QtCore.QAbstractItemModel.LayoutChangeHint.NoLayoutChangeHint
staticMetaObject<PySide6.QtCore.QMetaObject object at 0x7f40ebf91f80>
VerticalSortHintPySide6.QtCore.QAbstractItemModel.LayoutChangeHint.VerticalSortHint

Liste des opérateurs

Opérateurs hérités de la classe object

__eq__, __ge__, __gt__, __le__, __lt__, __ne__

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes dépréciées
Signature de la méthodeDescription
__delattr__(self, name) Implement delattr(self, name). [extrait de __delattr__.__doc__]
__setattr__(self, name, value) Implement setattr(self, name, value). [extrait de __setattr__.__doc__]
columnCount(self, parent: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex]) -> int columnCount(self, parent: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex]) -> int [extrait de columnCount.__doc__]
columnsAboutToBeInserted
columnsAboutToBeMoved
columnsAboutToBeRemoved
columnsInserted
columnsMoved
columnsRemoved
dataChanged
destroyed
dropMimeData(self, data: PySide6.QtCore.QMimeData, action: PySide6.QtCore.Qt.DropAction, row: int, column: int, parent: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex]) -> bool dropMimeData(self, data: PySide6.QtCore.QMimeData, action: PySide6.QtCore.Qt.DropAction, row: int, column: int, parent: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex]) -> bool [extrait de dropMimeData.__doc__]
flags(self, index: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex]) -> PySide6.QtCore.Qt.ItemFlags flags(self, index: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex]) -> PySide6.QtCore.Qt.ItemFlags [extrait de flags.__doc__]
hasChildren(self, parent: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex]) -> bool hasChildren(self, parent: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex]) -> bool [extrait de hasChildren.__doc__]
headerDataChanged
index(self, row: int, column: int = 0, parent: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex] = Invalid(PySide6.QtCore.QModelIndex)) -> PySide6.QtCore.QModelIndex index(self, row: int, column: int = 0, parent: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex] = Invalid(PySide6.QtCore.QModelIndex)) -> PySide6.QtCore.QModelIndex [extrait de index.__doc__]
layoutAboutToBeChanged
layoutChanged
modelAboutToBeReset
modelReset
objectNameChanged
parent parent(self) -> PySide6.QtCore.QObject [extrait de parent.__doc__]
rowsAboutToBeInserted
rowsAboutToBeMoved
rowsAboutToBeRemoved
rowsInserted
rowsMoved
rowsRemoved
sibling(self, row: int, column: int, idx: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex]) -> PySide6.QtCore.QModelIndex sibling(self, row: int, column: int, idx: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex]) -> PySide6.QtCore.QModelIndex [extrait de sibling.__doc__]
tr

Méthodes héritées de la classe QAbstractItemModel

__init_subclass__, __subclasshook__, beginInsertColumns, beginInsertRows, beginMoveColumns, beginMoveRows, beginRemoveColumns, beginRemoveRows, beginResetModel, buddy, canDropMimeData, canFetchMore, changePersistentIndex, changePersistentIndexList, checkIndex, CheckIndexOption, CheckIndexOptions, clearItemData, createIndex, data, decodeData, encodeData, endInsertColumns, endInsertRows, endMoveColumns, endMoveRows, endRemoveColumns, endRemoveRows, endResetModel, fetchMore, hasIndex, headerData, insertColumn, insertColumns, insertRow, insertRows, itemData, LayoutChangeHint, match, mimeData, mimeTypes, moveColumn, moveColumns, moveRow, moveRows, persistentIndexList, removeColumn, removeColumns, removeRow, removeRows, resetInternalData, revert, roleNames, rowCount, setData, setHeaderData, setItemData, sort, span, submit, supportedDragActions, supportedDropActions

Méthodes héritées de la classe QObject

__getattribute__, __init_subclass__, __repr__, __subclasshook__, blockSignals, childEvent, children, connect, connectNotify, customEvent, deleteLater, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, event, eventFilter, findChild, findChildren, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, property, receivers, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent

Méthodes héritées de la classe Object

__getattribute__, __init_subclass__, __subclasshook__

Méthodes héritées de la classe object

__dir__, __format__, __hash__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __str__