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 « QAbstractProxyModel »

Informations générales

Héritage

builtins.object
    Object
        QObject
            QAbstractItemModel
                QAbstractProxyModel

Définition

class QAbstractProxyModel(QAbstractItemModel):

Description [extrait de QAbstractProxyModel.__doc__]

QAbstractProxyModel(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 0x7f40ebf91a00>
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__]
buddy(self, index: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex]) -> PySide6.QtCore.QModelIndex buddy(self, index: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex]) -> PySide6.QtCore.QModelIndex [extrait de buddy.__doc__]
canDropMimeData(self, data: PySide6.QtCore.QMimeData, action: PySide6.QtCore.Qt.DropAction, row: int, column: int, parent: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex]) -> bool canDropMimeData(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 canDropMimeData.__doc__]
canFetchMore(self, parent: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex]) -> bool canFetchMore(self, parent: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex]) -> bool [extrait de canFetchMore.__doc__]
clearItemData(self, index: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex]) -> bool clearItemData(self, index: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex]) -> bool [extrait de clearItemData.__doc__]
columnsAboutToBeInserted
columnsAboutToBeMoved
columnsAboutToBeRemoved
columnsInserted
columnsMoved
columnsRemoved
createSourceIndex(self, row: int, col: int, internalPtr: int) -> PySide6.QtCore.QModelIndex createSourceIndex(self, row: int, col: int, internalPtr: int) -> PySide6.QtCore.QModelIndex [extrait de createSourceIndex.__doc__]
data(self, proxyIndex: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex], role: int = PySide6.QtCore.Qt.ItemDataRole.DisplayRole) -> Any data(self, proxyIndex: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex], role: int = PySide6.QtCore.Qt.ItemDataRole.DisplayRole) -> Any [extrait de data.__doc__]
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__]
fetchMore(self, parent: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex]) -> None fetchMore(self, parent: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex]) -> None [extrait de fetchMore.__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] = Invalid(PySide6.QtCore.QModelIndex)) -> bool hasChildren(self, parent: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex] = Invalid(PySide6.QtCore.QModelIndex)) -> bool [extrait de hasChildren.__doc__]
headerData(self, section: int, orientation: PySide6.QtCore.Qt.Orientation, role: int = PySide6.QtCore.Qt.ItemDataRole.DisplayRole) -> Any headerData(self, section: int, orientation: PySide6.QtCore.Qt.Orientation, role: int = PySide6.QtCore.Qt.ItemDataRole.DisplayRole) -> Any [extrait de headerData.__doc__]
headerDataChanged
itemData(self, index: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex]) -> Dict[int, Any] itemData(self, index: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex]) -> Dict[int, Any] [extrait de itemData.__doc__]
layoutAboutToBeChanged
layoutChanged
mapFromSource(self, sourceIndex: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex]) -> PySide6.QtCore.QModelIndex mapFromSource(self, sourceIndex: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex]) -> PySide6.QtCore.QModelIndex [extrait de mapFromSource.__doc__]
mapSelectionFromSource(self, selection: PySide6.QtCore.QItemSelection) -> PySide6.QtCore.QItemSelection mapSelectionFromSource(self, selection: PySide6.QtCore.QItemSelection) -> PySide6.QtCore.QItemSelection [extrait de mapSelectionFromSource.__doc__]
mapSelectionToSource(self, selection: PySide6.QtCore.QItemSelection) -> PySide6.QtCore.QItemSelection mapSelectionToSource(self, selection: PySide6.QtCore.QItemSelection) -> PySide6.QtCore.QItemSelection [extrait de mapSelectionToSource.__doc__]
mapToSource(self, proxyIndex: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex]) -> PySide6.QtCore.QModelIndex mapToSource(self, proxyIndex: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex]) -> PySide6.QtCore.QModelIndex [extrait de mapToSource.__doc__]
mimeData(self, indexes: List[int]) -> PySide6.QtCore.QMimeData mimeData(self, indexes: List[int]) -> PySide6.QtCore.QMimeData [extrait de mimeData.__doc__]
mimeTypes(self) -> List[str] mimeTypes(self) -> List[str] [extrait de mimeTypes.__doc__]
modelAboutToBeReset
modelReset
objectNameChanged
revert(self) -> None revert(self) -> None [extrait de revert.__doc__]
roleNames(self) -> Dict[int, PySide6.QtCore.QByteArray] roleNames(self) -> Dict[int, PySide6.QtCore.QByteArray] [extrait de roleNames.__doc__]
rowsAboutToBeInserted
rowsAboutToBeMoved
rowsAboutToBeRemoved
rowsInserted
rowsMoved
rowsRemoved
setData(self, index: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex], value: Any, role: int = PySide6.QtCore.Qt.ItemDataRole.EditRole) -> bool setData(self, index: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex], value: Any, role: int = PySide6.QtCore.Qt.ItemDataRole.EditRole) -> bool [extrait de setData.__doc__]
setHeaderData(self, section: int, orientation: PySide6.QtCore.Qt.Orientation, value: Any, role: int = PySide6.QtCore.Qt.ItemDataRole.EditRole) -> bool setHeaderData(self, section: int, orientation: PySide6.QtCore.Qt.Orientation, value: Any, role: int = PySide6.QtCore.Qt.ItemDataRole.EditRole) -> bool [extrait de setHeaderData.__doc__]
setItemData(self, index: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex], roles: Dict[int, Any]) -> bool setItemData(self, index: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex], roles: Dict[int, Any]) -> bool [extrait de setItemData.__doc__]
setSourceModel(self, sourceModel: PySide6.QtCore.QAbstractItemModel) -> None setSourceModel(self, sourceModel: PySide6.QtCore.QAbstractItemModel) -> None [extrait de setSourceModel.__doc__]
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__]
sort(self, column: int, order: PySide6.QtCore.Qt.SortOrder = PySide6.QtCore.Qt.SortOrder.AscendingOrder) -> None sort(self, column: int, order: PySide6.QtCore.Qt.SortOrder = PySide6.QtCore.Qt.SortOrder.AscendingOrder) -> None [extrait de sort.__doc__]
sourceModel(self) -> PySide6.QtCore.QAbstractItemModel sourceModel(self) -> PySide6.QtCore.QAbstractItemModel [extrait de sourceModel.__doc__]
sourceModelChanged
span(self, index: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex]) -> PySide6.QtCore.QSize span(self, index: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex]) -> PySide6.QtCore.QSize [extrait de span.__doc__]
submit(self) -> bool submit(self) -> bool [extrait de submit.__doc__]
supportedDragActions(self) -> PySide6.QtCore.Qt.DropActions supportedDragActions(self) -> PySide6.QtCore.Qt.DropActions [extrait de supportedDragActions.__doc__]
supportedDropActions(self) -> PySide6.QtCore.Qt.DropActions supportedDropActions(self) -> PySide6.QtCore.Qt.DropActions [extrait de supportedDropActions.__doc__]
tr

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

__init_subclass__, __subclasshook__, beginInsertColumns, beginInsertRows, beginMoveColumns, beginMoveRows, beginRemoveColumns, beginRemoveRows, beginResetModel, changePersistentIndex, changePersistentIndexList, checkIndex, CheckIndexOption, CheckIndexOptions, columnCount, createIndex, decodeData, encodeData, endInsertColumns, endInsertRows, endMoveColumns, endMoveRows, endRemoveColumns, endRemoveRows, endResetModel, hasIndex, index, insertColumn, insertColumns, insertRow, insertRows, LayoutChangeHint, match, moveColumn, moveColumns, moveRow, moveRows, parent, persistentIndexList, removeColumn, removeColumns, removeRow, removeRows, resetInternalData, rowCount

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, parent, 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__