SubClassTreeModel
Qt Base Class: QAbstractItemModel
Signature: QAbstractItemModel(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None
Base classes
Name | Children | Inherits |
---|---|---|
BaseClassTreeModel prettyqt.itemmodels.classtreemodel |
⋔ Inheritance diagram
graph TD
1473245425504["itemmodels.SubClassTreeModel"]
1473245438192["itemmodels.BaseClassTreeModel"]
1473299686192["itemmodels.TreeModel"]
1473299893104["core.AbstractItemModel"]
1473299890176["core.AbstractItemModelMixin"]
1473299815024["core.ObjectMixin"]
140713234304496["builtins.object"]
1473289050128["QtCore.QAbstractItemModel"]
1473288842240["QtCore.QObject"]
1473291690208["Shiboken.Object"]
1473245438192 --> 1473245425504
1473299686192 --> 1473245438192
1473299893104 --> 1473299686192
1473299890176 --> 1473299893104
1473299815024 --> 1473299890176
140713234304496 --> 1473299815024
1473289050128 --> 1473299893104
1473288842240 --> 1473289050128
1473291690208 --> 1473288842240
140713234304496 --> 1473291690208
🛈 DocStrings
Bases: BaseClassTreeModel
Model to display the subclass tree of a python class.
from prettyqt import itemmodels, widgets
app = widgets.app()
widget = widgets.TreeView()
model = itemmodels.SubClassTreeModel(core.AbstractItemModelMixin)
widget.set_model(model)
widget.show()
Source code in prettyqt\itemmodels\classtreemodel.py
Info
Supported data type: type | types.UnionType
⌗ Property table
Qt Property | Type | Doc |
---|---|---|
objectName |
QString |