ParentClassTreeModel
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
1473245430384["itemmodels.ParentClassTreeModel"]
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 --> 1473245430384
1473299686192 --> 1473245438192
1473299893104 --> 1473299686192
1473299890176 --> 1473299893104
1473299815024 --> 1473299890176
140713234304496 --> 1473299815024
1473289050128 --> 1473299893104
1473288842240 --> 1473289050128
1473291690208 --> 1473288842240
140713234304496 --> 1473291690208
🛈 DocStrings
Bases: BaseClassTreeModel
Tree model to display the parent class tree of a python class.
Source code in prettyqt\itemmodels\classtreemodel.py
136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 |
|
get_show_mro() -> bool
set_show_mro(show: bool)
Toggles mro mode on or off.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
show |
bool
|
toggle mro mode on/off |
required |
Info
Supported data type: <class 'type'>
⌗ Property table
Qt Property | Type | Doc |
---|---|---|
objectName |
QString | |
show_mro |
bool | Whether children items should be the ordered mro. |