NestedModel
Qt Base Class: QAbstractItemModel
Signature: QAbstractItemModel(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None
Base classes
Name | Children | Inherits |
---|---|---|
ListMixin prettyqt.itemmodels.listmixin |
||
ModelMixin prettyqt.itemmodels.modelmixin |
||
AbstractItemModel prettyqt.core.abstractitemmodel |
⋔ Inheritance diagram
graph TD
1473245676336["itemmodels.NestedModel"]
1473299910672["itemmodels.ListMixin"]
140713234304496["builtins.object"]
1473245686096["itemmodels.ModelMixin"]
1473299893104["core.AbstractItemModel"]
1473299890176["core.AbstractItemModelMixin"]
1473299815024["core.ObjectMixin"]
1473289050128["QtCore.QAbstractItemModel"]
1473288842240["QtCore.QObject"]
1473291690208["Shiboken.Object"]
1473299910672 --> 1473245676336
140713234304496 --> 1473299910672
1473245686096 --> 1473245676336
140713234304496 --> 1473245686096
1473299893104 --> 1473245676336
1473299890176 --> 1473299893104
1473299815024 --> 1473299890176
140713234304496 --> 1473299815024
1473289050128 --> 1473299893104
1473288842240 --> 1473289050128
1473291690208 --> 1473288842240
140713234304496 --> 1473291690208
🛈 DocStrings
Bases: ListMixin
, ModelMixin
, AbstractItemModel
Source code in prettyqt\itemmodels\nestedmodel.py
json(root = None) -> dict
Serialise model as JSON-compliant dictionary.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
root |
JsonTreeItem
|
Serialise from here defaults to the the top-level item |
None
|
Source code in prettyqt\itemmodels\nestedmodel.py
⌗ Property table
Qt Property | Type | Doc |
---|---|---|
objectName |
QString |