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

Informations générales

Héritage

builtins.object
    Object
        QObject
            QItemSelectionModel

Définition

class QItemSelectionModel(QObject):

Description [extrait de QItemSelectionModel.__doc__]

QItemSelectionModel(self, model: PySide6.QtCore.QAbstractItemModel, parent: PySide6.QtCore.QObject) -> None
QItemSelectionModel(self, model: Optional[PySide6.QtCore.QAbstractItemModel] = 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__]

Liste des attributs statiques

Nom de l'attribut Valeur
ClearPySide6.QtCore.QItemSelectionModel.SelectionFlag.Clear
ClearAndSelectPySide6.QtCore.QItemSelectionModel.SelectionFlag.ClearAndSelect
ColumnsPySide6.QtCore.QItemSelectionModel.SelectionFlag.Columns
CurrentPySide6.QtCore.QItemSelectionModel.SelectionFlag.Current
DeselectPySide6.QtCore.QItemSelectionModel.SelectionFlag.Deselect
NoUpdatePySide6.QtCore.QItemSelectionModel.SelectionFlag.NoUpdate
RowsPySide6.QtCore.QItemSelectionModel.SelectionFlag.Rows
SelectPySide6.QtCore.QItemSelectionModel.SelectionFlag.Select
SelectCurrentPySide6.QtCore.QItemSelectionModel.SelectionFlag.SelectCurrent
staticMetaObject<PySide6.QtCore.QMetaObject object at 0x7f40ebf24900>
TogglePySide6.QtCore.QItemSelectionModel.SelectionFlag.Toggle
ToggleCurrentPySide6.QtCore.QItemSelectionModel.SelectionFlag.ToggleCurrent

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__]
clear(self) -> None clear(self) -> None [extrait de clear.__doc__]
clearCurrentIndex(self) -> None clearCurrentIndex(self) -> None [extrait de clearCurrentIndex.__doc__]
clearSelection(self) -> None clearSelection(self) -> None [extrait de clearSelection.__doc__]
columnIntersectsSelection(self, column: int, parent: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex] = Invalid(PySide6.QtCore.QModelIndex)) -> bool columnIntersectsSelection(self, column: int, parent: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex] = Invalid(PySide6.QtCore.QModelIndex)) -> bool [extrait de columnIntersectsSelection.__doc__]
currentChanged
currentColumnChanged
currentIndex(self) -> PySide6.QtCore.QModelIndex currentIndex(self) -> PySide6.QtCore.QModelIndex [extrait de currentIndex.__doc__]
currentRowChanged
destroyed
emitSelectionChanged(self, newSelection: PySide6.QtCore.QItemSelection, oldSelection: PySide6.QtCore.QItemSelection) -> None emitSelectionChanged(self, newSelection: PySide6.QtCore.QItemSelection, oldSelection: PySide6.QtCore.QItemSelection) -> None [extrait de emitSelectionChanged.__doc__]
hasSelection(self) -> bool hasSelection(self) -> bool [extrait de hasSelection.__doc__]
isColumnSelected(self, column: int, parent: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex] = Invalid(PySide6.QtCore.QModelIndex)) -> bool isColumnSelected(self, column: int, parent: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex] = Invalid(PySide6.QtCore.QModelIndex)) -> bool [extrait de isColumnSelected.__doc__]
isRowSelected(self, row: int, parent: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex] = Invalid(PySide6.QtCore.QModelIndex)) -> bool isRowSelected(self, row: int, parent: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex] = Invalid(PySide6.QtCore.QModelIndex)) -> bool [extrait de isRowSelected.__doc__]
isSelected(self, index: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex]) -> bool isSelected(self, index: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex]) -> bool [extrait de isSelected.__doc__]
model(self) -> PySide6.QtCore.QAbstractItemModel model(self) -> PySide6.QtCore.QAbstractItemModel [extrait de model.__doc__]
modelChanged
objectNameChanged
reset(self) -> None reset(self) -> None [extrait de reset.__doc__]
rowIntersectsSelection(self, row: int, parent: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex] = Invalid(PySide6.QtCore.QModelIndex)) -> bool rowIntersectsSelection(self, row: int, parent: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex] = Invalid(PySide6.QtCore.QModelIndex)) -> bool [extrait de rowIntersectsSelection.__doc__]
select select(self, index: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex], command: PySide6.QtCore.QItemSelectionModel.SelectionFlags) -> None [extrait de select.__doc__]
selectedColumns(self, row: int = 0) -> List[int] selectedColumns(self, row: int = 0) -> List[int] [extrait de selectedColumns.__doc__]
selectedIndexes(self) -> List[int] selectedIndexes(self) -> List[int] [extrait de selectedIndexes.__doc__]
selectedRows(self, column: int = 0) -> List[int] selectedRows(self, column: int = 0) -> List[int] [extrait de selectedRows.__doc__]
selection(self) -> PySide6.QtCore.QItemSelection selection(self) -> PySide6.QtCore.QItemSelection [extrait de selection.__doc__]
selectionChanged
SelectionFlag
SelectionFlags
setCurrentIndex(self, index: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex], command: PySide6.QtCore.QItemSelectionModel.SelectionFlags) -> None setCurrentIndex(self, index: Union[PySide6.QtCore.QModelIndex, PySide6.QtCore.QPersistentModelIndex], command: PySide6.QtCore.QItemSelectionModel.SelectionFlags) -> None [extrait de setCurrentIndex.__doc__]
setModel(self, model: PySide6.QtCore.QAbstractItemModel) -> None setModel(self, model: PySide6.QtCore.QAbstractItemModel) -> None [extrait de setModel.__doc__]
tr

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__