class QAbstractState#

Inheritance diagram of PySide6.QtStateMachine.QAbstractState

Inherited by: QState, QStateMachine, QHistoryState, QFinalState

Synopsis#

Properties#

Methods#

Virtual methods#

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#

Note

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

property activeᅟ: bool#
Access functions:
__init__([parent=None])#
Parameters:

parentQState

active()#
Return type:

bool

Getter of property activeᅟ .

activeChanged(active)#
Parameters:

active – bool

Notification signal of property activeᅟ .

entered()#
exited()#
machine()#
Return type:

QStateMachine

abstract onEntry(event)#
Parameters:

eventQEvent

abstract onExit(event)#
Parameters:

eventQEvent

parentState()#
Return type:

QState