BaseDataclassModel
Qt Base Class: QAbstractTableModel
Signature: QAbstractTableModel(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None
Base classes
Name | Children | Inherits |
---|---|---|
AbstractTableModel prettyqt.core.abstracttablemodel |
Subclasses
Class | Module | Description |
---|---|---|
DataClassModel | prettyqt.itemmodels.dataclassmodel |
⋔ Inheritance diagram
graph TD
1473245454784["itemmodels.BaseDataclassModel"]
1473299901888["core.AbstractTableModel"]
1473299900912["core.AbstractTableModelMixin"]
1473299890176["core.AbstractItemModelMixin"]
1473299815024["core.ObjectMixin"]
140713234304496["builtins.object"]
1473289054032["QtCore.QAbstractTableModel"]
1473289050128["QtCore.QAbstractItemModel"]
1473288842240["QtCore.QObject"]
1473291690208["Shiboken.Object"]
1473299901888 --> 1473245454784
1473299900912 --> 1473299901888
1473299890176 --> 1473299900912
1473299815024 --> 1473299890176
140713234304496 --> 1473299815024
1473289054032 --> 1473299901888
1473289050128 --> 1473289054032
1473288842240 --> 1473289050128
1473291690208 --> 1473288842240
140713234304496 --> 1473291690208
🛈 DocStrings
Bases: AbstractTableModel
Source code in prettyqt\itemmodels\basedataclassmodel.py
flags(parent: core.ModelIndex) -> constants.ItemFlag
Override.
BaseClass implementation just tries to set attribute with same value to test if field is writable. If possible, subclasses should find a more efficient way.
Source code in prettyqt\itemmodels\basedataclassmodel.py
rowCount(parent: core.ModelIndex | None = None) -> int
Override for AbstractitemModel base method.
Source code in prettyqt\itemmodels\basedataclassmodel.py
Info
Recommended delegate: 'editor'
⌗ Property table
Qt Property | Type | Doc |
---|---|---|
objectName |
QString |