Skip to content

State

Qt Base Class: QState

Signature: QState(self, childMode: PySide6.QtStateMachine.QState.ChildMode, parent: Optional[PySide6.QtStateMachine.QState] = None) -> None QState(self, parent: Optional[PySide6.QtStateMachine.QState] = None) -> None

Base classes

Name Children Inherits
StateMixin
prettyqt.statemachine.state
QState
PySide6.QtStateMachine
QState(self, childMode: PySide6.QtStateMachine.QState.ChildMode, parent: Optional[PySide6.QtStateMachine.QState] \= None) -> None

⋔ Inheritance diagram

graph TD
  1473374540400["statemachine.State"]
  1473374539424["statemachine.StateMixin"]
  1473374532592["statemachine.AbstractStateMixin"]
  1473299815024["core.ObjectMixin"]
  140713234304496["builtins.object"]
  1473374520880["QtStateMachine.QState"]
  1473374523808["QtStateMachine.QAbstractState"]
  1473288842240["QtCore.QObject"]
  1473291690208["Shiboken.Object"]
  1473374539424 --> 1473374540400
  1473374532592 --> 1473374539424
  1473299815024 --> 1473374532592
  140713234304496 --> 1473299815024
  1473374520880 --> 1473374540400
  1473374523808 --> 1473374520880
  1473288842240 --> 1473374523808
  1473291690208 --> 1473288842240
  140713234304496 --> 1473291690208

🛈 DocStrings

Bases: StateMixin, QState

Source code in prettyqt\statemachine\state.py
class State(StateMixin, statemachine.QState):
    pass

⌗ Property table

Qt Property Type Doc
objectName QString
active bool
initialState QAbstractState
errorState QAbstractState
childMode QState::ChildMode