QState#

Inheritance diagram of PySide6.QtStateMachine.QState

Inherited by: QStateMachine

Synopsis#

Properties#

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.QState([parent=None])#

PySide6.QtStateMachine.QState(childMode[, parent=None])

Parameters:

Note

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

property PᅟySide6.QtStateMachine.QState.childMode: ChildMode#
Access functions:
property PᅟySide6.QtStateMachine.QState.errorState: PySide6.QtStateMachine.QAbstractState#
Access functions:
property PᅟySide6.QtStateMachine.QState.initialState: PySide6.QtStateMachine.QAbstractState#
Access functions:
PySide6.QtStateMachine.QState.ChildMode#
PySide6.QtStateMachine.QState.RestorePolicy#
PySide6.QtStateMachine.QState.addTransition(target)#
Parameters:

targetPySide6.QtStateMachine.QAbstractState

Return type:

PySide6.QtStateMachine.QAbstractTransition

PySide6.QtStateMachine.QState.addTransition(transition)
Parameters:

transitionPySide6.QtStateMachine.QAbstractTransition

PySide6.QtStateMachine.QState.addTransition(sender, signal, target)
Parameters:
Return type:

PySide6.QtStateMachine.QSignalTransition

PySide6.QtStateMachine.QState.addTransition(arg__1, arg__2)
Parameters:
Return type:

PySide6.QtStateMachine.QSignalTransition

PySide6.QtStateMachine.QState.assignProperty(object, name, value)#
Parameters:
PySide6.QtStateMachine.QState.childMode()#
Return type:

ChildMode

Getter of property childMode .

PySide6.QtStateMachine.QState.childModeChanged()#

Notification signal of property childMode .

PySide6.QtStateMachine.QState.errorState()#
Return type:

PySide6.QtStateMachine.QAbstractState

Getter of property errorState .

PySide6.QtStateMachine.QState.errorStateChanged()#

Notification signal of property errorState .

PySide6.QtStateMachine.QState.finished()#
PySide6.QtStateMachine.QState.initialState()#
Return type:

PySide6.QtStateMachine.QAbstractState

Getter of property initialState .

PySide6.QtStateMachine.QState.initialStateChanged()#

Notification signal of property initialState .

PySide6.QtStateMachine.QState.propertiesAssigned()#
PySide6.QtStateMachine.QState.removeTransition(transition)#
Parameters:

transitionPySide6.QtStateMachine.QAbstractTransition

PySide6.QtStateMachine.QState.setChildMode(mode)#
Parameters:

modeChildMode

Setter of property childMode .

PySide6.QtStateMachine.QState.setErrorState(state)#
Parameters:

statePySide6.QtStateMachine.QAbstractState

Setter of property errorState .

PySide6.QtStateMachine.QState.setInitialState(state)#
Parameters:

statePySide6.QtStateMachine.QAbstractState

Setter of property initialState .

PySide6.QtStateMachine.QState.transitions()#
Return type: