PythonQt.QtCore.QAbstractState · declarations 001
Back to PythonQt.QtCore.QAbstractState
active
instance-attribute
active: bool
Qt 5 reference:
active : const bool
This property holds the active property of this state. A state is active between entered() and exited() signals.
This property was introduced in Qt 5.4.
Access functions:
| bool | active() const |
|---|---|
Notifier signal:
| void | activeChanged(bool active) |
|---|---|
bool QAbstractState::active() const
Returns whether this state is active.
Note: Getter function for property active.
See also activeChanged(bool), entered(), and exited().
Source: https://doc.qt.io/archives/qt-5.15/qabstractstate.html#active
activeChanged
activeChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtCore.QAbstractState.activeChanged; argument details are not documented.
Supplemental documentation: Qt 5 reference:
[signal] void QAbstractState::activeChanged(bool active)
This signal is emitted when the active property is changed with active as argument.
Note: Notifier signal for property active.
This function was introduced in Qt 5.4.
See also QAbstractState::active, entered(), and exited().
Source: https://doc.qt.io/archives/qt-5.15/qabstractstate.html#activeChanged
destroyed
destroyed(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtCore.QAbstractState.destroyed; argument details are not documented.
entered
entered(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtCore.QAbstractState.entered; argument details are not documented.
Supplemental documentation: Qt 5 reference:
[signal] void QAbstractState::entered()
This signal is emitted when the state has been entered (after onEntry() has been called).
Note: This is a private signal. It can be used in signal connections but cannot be emitted by the user.
Source: https://doc.qt.io/archives/qt-5.15/qabstractstate.html#entered
event
event(e: Any) -> bool
X.event(e) -> bool
Supplemental documentation: Qt 5 reference:
[override virtual protected] bool QAbstractState::event(QEvent *e)
Reimplements: QObject::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/qabstractstate.html#event
exited
exited(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtCore.QAbstractState.exited; argument details are not documented.
Supplemental documentation: Qt 5 reference:
[signal] void QAbstractState::exited()
This signal is emitted when the state has been exited (after onExit() has been called).
Note: This is a private signal. It can be used in signal connections but cannot be emitted by the user.
Source: https://doc.qt.io/archives/qt-5.15/qabstractstate.html#exited
machine
machine() -> Any
X.machine() -> PythonQt.QtCore.QStateMachine
Supplemental documentation: Qt 5 reference:
QStateMachine *QAbstractState::machine() const
Returns the state machine that this state is part of, or nullptr if the state is not
part of a state machine.
Upstream PySide2 reference signatures (binding differences may apply):
machine(self) -> PySide2.QtCore.QStateMachine
Source: https://doc.qt.io/archives/qt-5.15/qabstractstate.html#machine
objectNameChanged
objectNameChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtCore.QAbstractState.objectNameChanged; argument details are not documented.
onEntry
onEntry(event: Any) -> None
X.onEntry(event)
Supplemental documentation: Qt 5 reference:
[pure virtual protected] void QAbstractState::onEntry(QEvent *event)
This function is called when the state is entered. The given event is what caused the state to be entered. Reimplement this function to perform custom processing when the state is entered.
Upstream PySide2 reference signatures (binding differences may apply):
onEntry(self, event: PySide2.QtCore.QEvent) -> None
Source: https://doc.qt.io/archives/qt-5.15/qabstractstate.html#onEntry
onExit
onExit(event: Any) -> None
X.onExit(event)
Supplemental documentation: Qt 5 reference:
[pure virtual protected] void QAbstractState::onExit(QEvent *event)
This function is called when the state is exited. The given event is what caused the state to be exited. Reimplement this function to perform custom processing when the state is exited.
Upstream PySide2 reference signatures (binding differences may apply):
onExit(self, event: PySide2.QtCore.QEvent) -> None
Source: https://doc.qt.io/archives/qt-5.15/qabstractstate.html#onExit
parentState
parentState() -> Any
X.parentState() -> PythonQt.QtCore.QState
Supplemental documentation: Qt 5 reference:
QState *QAbstractState::parentState() const
Returns this state's parent state, or nullptr if the state has no parent state.
Upstream PySide2 reference signatures (binding differences may apply):
parentState(self) -> PySide2.QtCore.QState
Source: https://doc.qt.io/archives/qt-5.15/qabstractstate.html#parentState