ItemSelectionModel
Qt Base Class: QItemSelectionModel
Signature: QItemSelectionModel(self, model: PySide6.QtCore.QAbstractItemModel, parent: PySide6.QtCore.QObject) -> None
QItemSelectionModel(self, model: Optional[PySide6.QtCore.QAbstractItemModel] = None) -> None
Base classes
Name | Children | Inherits |
---|---|---|
ObjectMixin prettyqt.core.object |
||
QItemSelectionModel PySide6.QtCore QItemSelectionModel(self, model: PySide6.QtCore.QAbstractItemModel, parent: PySide6.QtCore.QObject) -> None |
Subclasses
Class | Module | Description |
---|---|---|
LinkedSelectionModel | prettyqt.itemmodels.proxies.linkedselectionmodel |
⋔ Inheritance diagram
graph TD
1473299851136["core.ItemSelectionModel"]
1473299815024["core.ObjectMixin"]
140713234304496["builtins.object"]
1473288881280["QtCore.QItemSelectionModel"]
1473288842240["QtCore.QObject"]
1473291690208["Shiboken.Object"]
1473299815024 --> 1473299851136
140713234304496 --> 1473299815024
1473288881280 --> 1473299851136
1473288842240 --> 1473288881280
1473291690208 --> 1473288842240
140713234304496 --> 1473291690208
🛈 DocStrings
Bases: ObjectMixin
, QItemSelectionModel
Keeps track of a view's selected items.
Source code in prettyqt\core\itemselectionmodel.py
⌗ Property table
Qt Property | Type | Doc |
---|---|---|
objectName |
QString | |
model |
QAbstractItemModel | |
hasSelection |
bool | |
currentIndex |
QModelIndex | |
selection |
QItemSelection | |
selectedIndexes |
QList |