QAbstractState#
Inherited by: QState, QStateMachine, QHistoryState, QFinalState
Synopsis#
Properties#
Functions#
def
active
()def
machine
()def
parentState
()
Virtual functions#
Signals#
def
activeChanged
(active)def
entered
()def
exited
()
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:
parent –
PySide6.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:
active
()Signal
activeChanged
(active)
- 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:
- abstract PySide6.QtStateMachine.QAbstractState.onEntry(event)#
- Parameters:
event –
PySide6.QtCore.QEvent
- abstract PySide6.QtStateMachine.QAbstractState.onExit(event)#
- Parameters:
event –
PySide6.QtCore.QEvent
- PySide6.QtStateMachine.QAbstractState.parentState()#
- Return type: