Skip to content

ModelRoleData

Base classes

Name Children Inherits
QModelRoleData
PySide6.QtCore
QModelRoleData(self, QModelRoleData: PySide6.QtCore.QModelRoleData, /) -> None

⋔ Inheritance diagram

graph TD
  846844205["core.ModelRoleData"]
  3143638921["QtCore.QModelRoleData"]
  37984305["Shiboken.Object"]
  2751680898["builtins.object"]
  3143638921 --> 846844205
  37984305 --> 3143638921
  2751680898 --> 37984305

🛈 DocStrings

Bases: QModelRoleData

Holds a role and the data associated to that role.

Source code in prettyqt/core/modelroledata.py
class ModelRoleData(QtCore.QModelRoleData):
    """Holds a role and the data associated to that role."""

:fa-brands-github: Show source on GitHub