QAbstractState#

Inheritance diagram of PySide6.QtStateMachine.QAbstractState

Inherited by: QState, QStateMachine, QHistoryState, QFinalState

Synopsis#

Properties#

Functions#

Virtual functions#

Signals#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

class PySide6.QtStateMachine.QAbstractState([parent=None])#
Parameters:

parentPySide6.QtStateMachine.QState

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property PᅟySide6.QtStateMachine.QAbstractState.active: bool#
Access functions:
PySide6.QtStateMachine.QAbstractState.active()#
Return type:

bool

Getter of property active .

PySide6.QtStateMachine.QAbstractState.activeChanged(active)#
Parameters:

active – bool

Notification signal of property active .

PySide6.QtStateMachine.QAbstractState.entered()#
PySide6.QtStateMachine.QAbstractState.exited()#
PySide6.QtStateMachine.QAbstractState.machine()#
Return type:

PySide6.QtStateMachine.QStateMachine

abstract PySide6.QtStateMachine.QAbstractState.onEntry(event)#
Parameters:

eventPySide6.QtCore.QEvent

abstract PySide6.QtStateMachine.QAbstractState.onExit(event)#
Parameters:

eventPySide6.QtCore.QEvent

PySide6.QtStateMachine.QAbstractState.parentState()#
Return type:

PySide6.QtStateMachine.QState