LinkedSelectionModel
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 |
---|---|---|
ItemSelectionModel prettyqt.core.itemselectionmodel |
⋔ Inheritance diagram
graph TD
1473290763792["itemmodels.LinkedSelectionModel"]
1473299851136["core.ItemSelectionModel"]
1473299815024["core.ObjectMixin"]
140713234304496["builtins.object"]
1473288881280["QtCore.QItemSelectionModel"]
1473288842240["QtCore.QObject"]
1473291690208["Shiboken.Object"]
1473299851136 --> 1473290763792
1473299815024 --> 1473299851136
140713234304496 --> 1473299815024
1473288881280 --> 1473299851136
1473288842240 --> 1473288881280
1473291690208 --> 1473288842240
140713234304496 --> 1473291690208
🛈 DocStrings
Bases: ItemSelectionModel
An ItemSelectionModel which link selections between item models.
Source code in prettyqt\itemmodels\proxies\linkedselectionmodel.py
⌗ Property table
Qt Property | Type | Doc |
---|---|---|
objectName |
QString | |
model |
QAbstractItemModel | |
hasSelection |
bool | |
currentIndex |
QModelIndex | |
selection |
QItemSelection | |
selectedIndexes |
QList |