PySide6.QtStateMachine.QState¶
- class QState¶
-
Inherited by:
QStateMachine
Synopsis¶
Properties¶
Methods¶
def
__init__()
def
addTransition()
def
assignProperty()
def
childMode()
def
errorState()
def
initialState()
def
setChildMode()
def
setErrorState()
def
transitions()
Signals¶
def
finished()
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 ChildMode¶
- class RestorePolicy¶
Note
Properties can be used directly when
from __feature__ import true_property
is used or via accessor functions otherwise.- property childModeᅟ: QState.ChildMode¶
- Access functions:
- property errorStateᅟ: QAbstractState¶
- Access functions:
- property initialStateᅟ: QAbstractState¶
- Access functions:
- addTransition(target)¶
- Parameters:
target –
QAbstractState
- Return type:
- addTransition(transition)
- Parameters:
transition –
QAbstractTransition
- addTransition(arg__1, arg__2)
- Parameters:
arg__1 – object
arg__2 –
QAbstractState
- Return type:
- addTransition(sender, signal, target)
- Parameters:
sender –
QObject
signal – str
target –
QAbstractState
- Return type:
Getter of property
childModeᅟ
.- childModeChanged()¶
Notification signal of property
childModeᅟ
.- errorState()¶
- Return type:
Getter of property
errorStateᅟ
.- errorStateChanged()¶
Notification signal of property
errorStateᅟ
.- finished()¶
- initialState()¶
- Return type:
Getter of property
initialStateᅟ
.- initialStateChanged()¶
Notification signal of property
initialStateᅟ
.- propertiesAssigned()¶
- removeTransition(transition)¶
- Parameters:
transition –
QAbstractTransition
Setter of property
childModeᅟ
.- setErrorState(state)¶
- Parameters:
state –
QAbstractState
Setter of property
errorStateᅟ
.- setInitialState(state)¶
- Parameters:
state –
QAbstractState
Setter of property
initialStateᅟ
.- transitions()¶
- Return type:
.list of QAbstractTransition