Skip to content

AbstractListModel

Qt Base Class: QAbstractListModel

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

Base classes

Name Children Inherits
AbstractListModelMixin
prettyqt.core.abstractlistmodel
QAbstractListModel
PySide6.QtCore
QAbstractListModel(self, parent: Optional[PySide6.QtCore.QObject] \= None) -> None

⋔ Inheritance diagram

graph TD
  1473299895056["core.AbstractListModel"]
  1473299894080["core.AbstractListModelMixin"]
  1473299890176["core.AbstractItemModelMixin"]
  1473299815024["core.ObjectMixin"]
  140713234304496["builtins.object"]
  1473289043296["QtCore.QAbstractListModel"]
  1473289050128["QtCore.QAbstractItemModel"]
  1473288842240["QtCore.QObject"]
  1473291690208["Shiboken.Object"]
  1473299894080 --> 1473299895056
  1473299890176 --> 1473299894080
  1473299815024 --> 1473299890176
  140713234304496 --> 1473299815024
  1473289043296 --> 1473299895056
  1473289050128 --> 1473289043296
  1473288842240 --> 1473289050128
  1473291690208 --> 1473288842240
  140713234304496 --> 1473291690208

🛈 DocStrings

Bases: AbstractListModelMixin, QAbstractListModel

Abstract model that can be subclassed to create one-dimensional list models.

Source code in prettyqt\core\abstractlistmodel.py
class AbstractListModel(AbstractListModelMixin, core.QAbstractListModel):
    """Abstract model that can be subclassed to create one-dimensional list models."""

⌗ Property table

Qt Property Type Doc
objectName QString