Skip to content

AbstractItemModel

Qt Base Class: QAbstractItemModel

Signature: QAbstractItemModel(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None

Base classes

Name Children Inherits
AbstractItemModelMixin
prettyqt.core.abstractitemmodel
QAbstractItemModel
PySide6.QtCore
QAbstractItemModel(self, parent: Optional[PySide6.QtCore.QObject] \= None) -> None

Subclasses

Class Module Description
TreeModel prettyqt.itemmodels.treemodel
NestedModel prettyqt.itemmodels.nestedmodel

⋔ Inheritance diagram

graph TD
  1473299893104["core.AbstractItemModel"]
  1473299890176["core.AbstractItemModelMixin"]
  1473299815024["core.ObjectMixin"]
  140713234304496["builtins.object"]
  1473289050128["QtCore.QAbstractItemModel"]
  1473288842240["QtCore.QObject"]
  1473291690208["Shiboken.Object"]
  1473299890176 --> 1473299893104
  1473299815024 --> 1473299890176
  140713234304496 --> 1473299815024
  1473289050128 --> 1473299893104
  1473288842240 --> 1473289050128
  1473291690208 --> 1473288842240
  140713234304496 --> 1473291690208

🛈 DocStrings

Bases: AbstractItemModelMixin, QAbstractItemModel

The abstract interface for item model classes.

Source code in prettyqt\core\abstractitemmodel.py
class AbstractItemModel(AbstractItemModelMixin, core.QAbstractItemModel):
    """The abstract interface for item model classes."""

⌗ Property table

Qt Property Type Doc
objectName QString