HistoryState
Qt Base Class: QHistoryState
Signature: QHistoryState(self, parent: Optional[PySide6.QtStateMachine.QState] = None) -> None
QHistoryState(self, type: PySide6.QtStateMachine.QHistoryState.HistoryType, parent: Optional[PySide6.QtStateMachine.QState] = None) -> None
Base classes
Name | Children | Inherits |
---|---|---|
AbstractStateMixin prettyqt.statemachine.abstractstate |
|
|
QHistoryState PySide6.QtStateMachine QHistoryState(self, parent: Optional[PySide6.QtStateMachine.QState] \= None) -> None |
⋔ Inheritance diagram
graph TD
1473374538448["statemachine.HistoryState"]
1473374532592["statemachine.AbstractStateMixin"]
1473299815024["core.ObjectMixin"]
140713234304496["builtins.object"]
1473374495504["QtStateMachine.QHistoryState"]
1473374523808["QtStateMachine.QAbstractState"]
1473288842240["QtCore.QObject"]
1473291690208["Shiboken.Object"]
1473374532592 --> 1473374538448
1473299815024 --> 1473374532592
140713234304496 --> 1473299815024
1473374495504 --> 1473374538448
1473374523808 --> 1473374495504
1473288842240 --> 1473374523808
1473291690208 --> 1473288842240
140713234304496 --> 1473291690208
🛈 DocStrings
Bases: AbstractStateMixin
, QHistoryState
Source code in prettyqt\statemachine\historystate.py
get_history_type() -> HistoryTypeStr
set_history_type(typ: HistoryTypeStr | statemachine.QHistoryState.HistoryType)
Set history type to use.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
typ |
HistoryTypeStr | HistoryType
|
history type to use |
required |
⌗ Property table
Qt Property | Type | Doc |
---|---|---|
objectName |
QString | |
active |
bool | |
defaultState |
QAbstractState | |
defaultTransition |
QAbstractTransition | |
historyType |
QHistoryState::HistoryType |