Skip to content

ModelRoleData

Qt Base Class: QModelRoleData

Signature: QModelRoleData(self, QModelRoleData: PySide6.QtCore.QModelRoleData) -> None QModelRoleData(self, role: int) -> None

Base classes

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

⋔ Inheritance diagram

graph TD
  1473299793552["core.ModelRoleData"]
  1473243815456["QtCore.QModelRoleData"]
  1473291690208["Shiboken.Object"]
  140713234304496["builtins.object"]
  1473243815456 --> 1473299793552
  1473291690208 --> 1473243815456
  140713234304496 --> 1473291690208

🛈 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."""