Skip to content

EventTransition

Qt Base Class: QEventTransition

Signature: QEventTransition(self, object: PySide6.QtCore.QObject, type: PySide6.QtCore.QEvent.Type, sourceState: Optional[PySide6.QtStateMachine.QState] = None) -> None QEventTransition(self, sourceState: Optional[PySide6.QtStateMachine.QState] = None) -> None

Base classes

Name Children Inherits
AbstractTransitionMixin
prettyqt.statemachine.abstracttransition
QEventTransition
PySide6.QtStateMachine
QEventTransition(self, object: PySide6.QtCore.QObject, type: PySide6.QtCore.QEvent.Type, sourceState: Optional[PySide6.QtStateMachine.QState] \= None) -> None

⋔ Inheritance diagram

graph TD
  1473374535520["statemachine.EventTransition"]
  1473374533568["statemachine.AbstractTransitionMixin"]
  1473299815024["core.ObjectMixin"]
  140713234304496["builtins.object"]
  1473374489648["QtStateMachine.QEventTransition"]
  1473374496480["QtStateMachine.QAbstractTransition"]
  1473288842240["QtCore.QObject"]
  1473291690208["Shiboken.Object"]
  1473374533568 --> 1473374535520
  1473299815024 --> 1473374533568
  140713234304496 --> 1473299815024
  1473374489648 --> 1473374535520
  1473374496480 --> 1473374489648
  1473288842240 --> 1473374496480
  1473291690208 --> 1473288842240
  140713234304496 --> 1473291690208

🛈 DocStrings

Bases: AbstractTransitionMixin, QEventTransition

Source code in prettyqt\statemachine\eventtransition.py
6
7
8
9
class EventTransition(
    statemachine.AbstractTransitionMixin, statemachine.QEventTransition
):
    pass

⌗ Property table

Qt Property Type Doc
objectName QString
sourceState QState
targetState QAbstractState
targetStates QList
transitionType QAbstractTransition::TransitionType
eventSource QObject
eventType QEvent::Type