HistoryState
Base classes
| Name | Children | Inherits |
|---|---|---|
| AbstractStateMixin prettyqt.statemachine.abstractstate |
||
| QHistoryState PySide6.QtStateMachine QHistoryState(self, type: PySide6.QtStateMachine.QHistoryState.HistoryType, /, parent: PySide6.QtStateMachine.QState | None \= None, *, defaultState: PySide6.QtStateMachine.QAbstractState | None \= None, defaultTransition: PySide6.QtStateMachine.QAbstractTransition | None \= None, historyType: PySide6.QtStateMachine.QHistoryState.HistoryType | None \= None) -> None |
⋔ Inheritance diagram
graph TD
3113325887["statemachine.HistoryState"]
2375005945["statemachine.AbstractStateMixin"]
3227531497["core.ObjectMixin"]
2751680898["builtins.object"]
2743376500["QtStateMachine.QHistoryState"]
1706596049["QtStateMachine.QAbstractState"]
3984060476["QtCore.QObject"]
37984305["Shiboken.Object"]
2375005945 --> 3113325887
3227531497 --> 2375005945
2751680898 --> 3227531497
2751680898 --> 2375005945
2743376500 --> 3113325887
1706596049 --> 2743376500
3984060476 --> 1706596049
37984305 --> 3984060476
2751680898 --> 37984305
🛈 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 |