PythonQt.QtCore.QStateMachine · declarations 001
Back to PythonQt.QtCore.QStateMachine
Error
instance-attribute
Error: type
int([x]) -> integer int(x, base=10) -> integer
Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.
If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.
int('0b100', base=0) 4
EventPriority
instance-attribute
EventPriority: type
int([x]) -> integer int(x, base=10) -> integer
Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.
If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.
int('0b100', base=0) 4
HighPriority
instance-attribute
HighPriority: Any
NoCommonAncestorForTransitionError
instance-attribute
NoCommonAncestorForTransitionError: Any
NoDefaultStateInHistoryStateError
instance-attribute
NoDefaultStateInHistoryStateError: Any
NoInitialStateError
instance-attribute
NoInitialStateError: Any
NormalPriority
instance-attribute
NormalPriority: Any
SignalEvent
instance-attribute
SignalEvent: type
PythonQtInstanceWrapper object
WrappedEvent
instance-attribute
WrappedEvent: type
PythonQtInstanceWrapper object
activeChanged
activeChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtCore.QStateMachine.activeChanged; argument details are not documented.
addDefaultAnimation
addDefaultAnimation(animation: Any) -> None
X.addDefaultAnimation(animation)
Supplemental documentation: Qt 5 reference:
void QStateMachine::addDefaultAnimation(QAbstractAnimation *animation)
Adds a default animation to be considered for any transition.
Upstream PySide2 reference signatures (binding differences may apply):
addDefaultAnimation(self, animation: PySide2.QtCore.QAbstractAnimation) -> None
Source: https://doc.qt.io/archives/qt-5.15/qstatemachine.html#addDefaultAnimation
addState
addState(state: Any) -> None
X.addState(state)
Supplemental documentation: Qt 5 reference:
void QStateMachine::addState(QAbstractState *state)
Adds the given state to this state machine. The state becomes a top-level state and the state machine takes ownership of the state.
If the state is already in a different machine, it will first be removed from its old machine, and then added to this machine.
See also removeState() and setInitialState().
Upstream PySide2 reference signatures (binding differences may apply):
addState(self, state: PySide2.QtCore.QAbstractState) -> None
Source: https://doc.qt.io/archives/qt-5.15/qstatemachine.html#addState
addTransition
addTransition(sender: Any, signal: Any, target: Any) -> Any
X.addTransition(sender, signal, target) -> PythonQt.QtCore.QAbstractTransition
animated
instance-attribute
animated: Any
Qt 5 reference:
animated : bool
This property holds whether animations are enabled
The default value of this property is true.
Access functions:
| bool | isAnimated() const |
|---|---|
| void | setAnimated(bool enabled) |
See also QAbstractTransition::addAnimation().
Source: https://doc.qt.io/archives/qt-5.15/qstatemachine.html#animated
assignProperty
assignProperty(object: Any, name: Any, value: Any) -> Any
X.assignProperty(object, name, value)
beginMicrostep
beginMicrostep(event: Any) -> None
X.beginMicrostep(event)
Upstream PySide2 reference signatures (binding differences may apply):
beginMicrostep(self, event: PySide2.QtCore.QEvent) -> None
Source: https://doc.qt.io/archives/qt-5.15/qstatemachine.html#beginMicrostep
beginSelectTransitions
beginSelectTransitions(event: Any) -> None
X.beginSelectTransitions(event)
Upstream PySide2 reference signatures (binding differences may apply):
beginSelectTransitions(self, event: PySide2.QtCore.QEvent) -> None
Source: https://doc.qt.io/archives/qt-5.15/qstatemachine.html#beginSelectTransitions
cancelDelayedEvent
cancelDelayedEvent(id: int) -> bool
X.cancelDelayedEvent(id) -> bool
Supplemental documentation: Qt 5 reference:
bool QStateMachine::cancelDelayedEvent(int id)
Cancels the delayed event identified by the given id. The id should be a value
returned by a call to
postDelayedEvent().
Returns true if the event was successfully cancelled, otherwise returns false.
Note: This function is thread-safe.
See also postDelayedEvent().
Upstream PySide2 reference signatures (binding differences may apply):
cancelDelayedEvent(self, id: int) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qstatemachine.html#cancelDelayedEvent
childMode
instance-attribute
childMode: Any
childModeChanged
childModeChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtCore.QStateMachine.childModeChanged; argument details are not documented.
clearError
clearError() -> None
X.clearError()
Supplemental documentation: Qt 5 reference:
void QStateMachine::clearError()
Clears the error string and error code of the state machine.
Upstream PySide2 reference signatures (binding differences may apply):
clearError(self) -> None
Source: https://doc.qt.io/archives/qt-5.15/qstatemachine.html#clearError
configuration
configuration() -> Any
X.configuration()
Supplemental documentation: Qt 5 reference:
QSet\<QAbstractState *> QStateMachine::configuration() const
Returns the maximal consistent set of states (including parallel and final states) that
this state machine is currently in. If a state s is in the configuration, it is always
the case that the parent of s is also in c. Note, however, that the machine itself is
not an explicit member of the configuration.
Upstream PySide2 reference signatures (binding differences may apply):
configuration(self) -> typing.Set[PySide2.QtCore.QAbstractState]
configuration(self) -> typing.List[PySide2.QtCore.QAbstractState]
Source: https://doc.qt.io/archives/qt-5.15/qstatemachine.html#configuration
defaultAnimations
defaultAnimations() -> tuple
X.defaultAnimations() -> tuple
Supplemental documentation: Qt 5 reference:
QList\<QAbstractAnimation *> QStateMachine::defaultAnimations() const
Returns the list of default animations that will be considered for any transition.
Upstream PySide2 reference signatures (binding differences may apply):
defaultAnimations(self) -> typing.List[PySide2.QtCore.QAbstractAnimation]
Source: https://doc.qt.io/archives/qt-5.15/qstatemachine.html#defaultAnimations
destroyed
destroyed(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtCore.QStateMachine.destroyed; argument details are not documented.
endMicrostep
endMicrostep(event: Any) -> None
X.endMicrostep(event)
Upstream PySide2 reference signatures (binding differences may apply):
endMicrostep(self, event: PySide2.QtCore.QEvent) -> None
Source: https://doc.qt.io/archives/qt-5.15/qstatemachine.html#endMicrostep
endSelectTransitions
endSelectTransitions(event: Any) -> None
X.endSelectTransitions(event)
Upstream PySide2 reference signatures (binding differences may apply):
endSelectTransitions(self, event: PySide2.QtCore.QEvent) -> None
Source: https://doc.qt.io/archives/qt-5.15/qstatemachine.html#endSelectTransitions
entered
entered(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtCore.QStateMachine.entered; argument details are not documented.
error
error() -> Any
X.error()
Supplemental documentation: Qt 5 reference:
QStateMachine::Error QStateMachine::error() const
Returns the error code of the last error that occurred in the state machine.
Upstream PySide2 reference signatures (binding differences may apply):
error(self) -> PySide2.QtCore.QStateMachine.Error
Source: https://doc.qt.io/archives/qt-5.15/qstatemachine.html#error
errorStateChanged
errorStateChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtCore.QStateMachine.errorStateChanged; argument details are not documented.
errorString
instance-attribute
errorString: str
Qt 5 reference:
errorString : const QString
This property holds the error string of this state machine
Access functions:
| QString | errorString() const |
|---|---|
QString QStateMachine::errorString() const
Returns the error string of the last error that occurred in the state machine.
Note: Getter function for property errorString.
Source: https://doc.qt.io/archives/qt-5.15/qstatemachine.html#errorString
event
event(e: Any) -> bool
X.event(e) -> bool
Supplemental documentation: Qt 5 reference:
[override virtual protected] bool QStateMachine::event(QEvent *e)
Reimplements: QState::event(QEvent *e).
Upstream PySide2 reference signatures (binding differences may apply):
event(self, e: PySide2.QtCore.QEvent) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qstatemachine.html#event
eventFilter
eventFilter(watched: Any, event: Any) -> bool
X.eventFilter(watched, event) -> bool
Supplemental documentation: Qt 5 reference:
[override virtual] bool QStateMachine::eventFilter(QObject *watched, QEvent *event)
Reimplements: QObject::eventFilter(QObject *watched, QEvent *event).
Upstream PySide2 reference signatures (binding differences may apply):
eventFilter(self, watched: PySide2.QtCore.QObject, event: PySide2.QtCore.QEvent) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qstatemachine.html#eventFilter
exited
exited(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtCore.QStateMachine.exited; argument details are not documented.
finished
finished(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtCore.QStateMachine.finished; argument details are not documented.
globalRestorePolicy
instance-attribute
globalRestorePolicy: Any
Qt 5 reference:
globalRestorePolicy : QState::RestorePolicy
This property holds the restore policy for states of this state machine.
The default value of this property is QState::DontRestoreProperties.
Access functions:
| QState::RestorePolicy | globalRestorePolicy() const |
|---|---|
| void | setGlobalRestorePolicy(QState::RestorePolicy restorePolicy) |
QState::RestorePolicy QStateMachine::globalRestorePolicy() const
Returns the restore policy of the state machine.
Note: Getter function for property globalRestorePolicy.
See also setGlobalRestorePolicy().
Source: https://doc.qt.io/archives/qt-5.15/qstatemachine.html#globalRestorePolicy
initialStateChanged
initialStateChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtCore.QStateMachine.initialStateChanged; argument details are not documented.
isAnimated
isAnimated() -> bool
X.isAnimated() -> bool
Supplemental documentation: Qt 5 reference:
bool QStateMachine::isAnimated() const
Returns whether animations are enabled for this state machine.
Note: Getter function for property animated.
Upstream PySide2 reference signatures (binding differences may apply):
isAnimated(self) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qstatemachine.html#isAnimated
isRunning
isRunning() -> bool
X.isRunning() -> bool
Upstream PySide2 reference signatures (binding differences may apply):
isRunning(self) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qstatemachine.html#isRunning