PythonQt.QtCore.QHistoryState · declarations 001
Back to PythonQt.QtCore.QHistoryState
DeepHistory
instance-attribute
DeepHistory: Any
HistoryType
instance-attribute
HistoryType: 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
ShallowHistory
instance-attribute
ShallowHistory: Any
activeChanged
activeChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtCore.QHistoryState.activeChanged; argument details are not documented.
defaultState
instance-attribute
defaultState: QAbstractState
Qt 5 reference:
defaultState : QAbstractState*
This property holds the default state of this history state
Access functions:
| QAbstractState * | defaultState() const |
|---|---|
| void | setDefaultState(QAbstractState *state) |
Notifier signal:
| void | defaultStateChanged() | [see note below] |
|---|---|---|
Note: This is a private signal. It can be used in signal connections but cannot be emitted by the user.
QAbstractState *QHistoryState::defaultState() const
Returns this history state's default state. The default state indicates the state to transition to if the parent state has never been entered before.
Note: Getter function for property defaultState.
See also setDefaultState().
Source: https://doc.qt.io/archives/qt-5.15/qhistorystate.html#defaultState
defaultStateChanged
defaultStateChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtCore.QHistoryState.defaultStateChanged; argument details are not documented.
Supplemental documentation: Qt 5 reference:
[signal] void QHistoryState::defaultStateChanged()
This signal is emitted when the defaultState property is changed.
Note: This is a private signal. It can be used in signal connections but cannot be emitted by the user.
Note: Notifier signal for property defaultState.
This function was introduced in Qt 5.4.
See also QHistoryState::defaultState.
Source: https://doc.qt.io/archives/qt-5.15/qhistorystate.html#defaultStateChanged
defaultTransition
instance-attribute
defaultTransition: QAbstractTransition
Qt 5 reference:
defaultTransition : QAbstractTransition*
This property holds the default transition of this history state
Access functions:
| QAbstractTransition * | defaultTransition() const |
|---|---|
| void | setDefaultTransition(QAbstractTransition *transition) |
Notifier signal:
| void | defaultTransitionChanged() | [see note below] |
|---|---|---|
Note: This is a private signal. It can be used in signal connections but cannot be emitted by the user.
QAbstractTransition *QHistoryState::defaultTransition() const
Returns this history state's default transition. The default transition is taken when the history state has never been entered before. The target states of the default transition therefore make up the default state.
Note: Getter function for property defaultTransition.
This function was introduced in Qt 5.6.
See also setDefaultTransition().
Source: https://doc.qt.io/archives/qt-5.15/qhistorystate.html#defaultTransition
defaultTransitionChanged
defaultTransitionChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtCore.QHistoryState.defaultTransitionChanged; argument details are not documented.
Supplemental documentation: Qt 5 reference:
[signal] void QHistoryState::defaultTransitionChanged()
This signal is emitted when the defaultTransition property is changed.
Note: This is a private signal. It can be used in signal connections but cannot be emitted by the user.
Note: Notifier signal for property defaultTransition.
This function was introduced in Qt 5.6.
See also QHistoryState::defaultTransition.
Source: https://doc.qt.io/archives/qt-5.15/qhistorystate.html#defaultTransitionChanged
destroyed
destroyed(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtCore.QHistoryState.destroyed; argument details are not documented.
entered
entered(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtCore.QHistoryState.entered; argument details are not documented.
event
event(e: Any) -> bool
X.event(e) -> bool
Supplemental documentation: Qt 5 reference:
[override virtual protected] bool QHistoryState::event(QEvent *e)
Reimplements: QAbstractState::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/qhistorystate.html#event
exited
exited(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtCore.QHistoryState.exited; argument details are not documented.
historyType
instance-attribute
historyType: Any
Qt 5 reference:
historyType : HistoryType
This property holds the type of history that this history state records
The default value of this property is QHistoryState::ShallowHistory.
Access functions:
| QHistoryState::HistoryType | historyType() const |
|---|---|
| void | setHistoryType(QHistoryState::HistoryType type) |
Notifier signal:
| void | historyTypeChanged() | [see note below] |
|---|---|---|
Note: This is a private signal. It can be used in signal connections but cannot be emitted by the user.
QHistoryState::HistoryType QHistoryState::historyType() const
Returns the type of history that this history state records.
Note: Getter function for property historyType.
See also setHistoryType().
Source: https://doc.qt.io/archives/qt-5.15/qhistorystate.html#historyType
historyTypeChanged
historyTypeChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtCore.QHistoryState.historyTypeChanged; argument details are not documented.
Supplemental documentation: Qt 5 reference:
[signal] void QHistoryState::historyTypeChanged()
This signal is emitted when the historyType property is changed.
Note: This is a private signal. It can be used in signal connections but cannot be emitted by the user.
Note: Notifier signal for property historyType.
This function was introduced in Qt 5.4.
See also QHistoryState::historyType.
Source: https://doc.qt.io/archives/qt-5.15/qhistorystate.html#historyTypeChanged
objectNameChanged
objectNameChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtCore.QHistoryState.objectNameChanged; argument details are not documented.
onEntry
onEntry(event: Any) -> None
X.onEntry(event)
Supplemental documentation: Qt 5 reference:
[override virtual protected] void QHistoryState::onEntry(QEvent *event)
Reimplements: QAbstractState::onEntry(QEvent *event).
Upstream PySide2 reference signatures (binding differences may apply):
onEntry(self, event: PySide2.QtCore.QEvent) -> None
Source: https://doc.qt.io/archives/qt-5.15/qhistorystate.html#onEntry
onExit
onExit(event: Any) -> None
X.onExit(event)
Supplemental documentation: Qt 5 reference:
[override virtual protected] void QHistoryState::onExit(QEvent *event)
Reimplements: QAbstractState::onExit(QEvent *event).
Upstream PySide2 reference signatures (binding differences may apply):
onExit(self, event: PySide2.QtCore.QEvent) -> None
Source: https://doc.qt.io/archives/qt-5.15/qhistorystate.html#onExit
setDefaultState
setDefaultState(state: Any) -> None
X.setDefaultState(state)
Supplemental documentation: Qt 5 reference:
void QHistoryState::setDefaultState(QAbstractState *state)
Sets this history state's default state to be the given state. state must be a sibling of this history state.
Note that this function does not set state as the initial state of its parent.
Note: Setter function for property defaultState.
See also defaultState().
Upstream PySide2 reference signatures (binding differences may apply):
setDefaultState(self, state: PySide2.QtCore.QAbstractState) -> None
Source: https://doc.qt.io/archives/qt-5.15/qhistorystate.html#setDefaultState
setDefaultTransition
setDefaultTransition(transition: Any) -> None
X.setDefaultTransition(transition)
Supplemental documentation: Qt 5 reference:
void QHistoryState::setDefaultTransition(QAbstractTransition *transition)
Sets this history state's default transition to be the given transition. This will set the source state of the transition to the history state.
Note that the eventTest method of the transition will never be called.
Note: Setter function for property defaultTransition.
This function was introduced in Qt 5.6.
See also defaultTransition().
Upstream PySide2 reference signatures (binding differences may apply):
setDefaultTransition(self, transition: PySide2.QtCore.QAbstractTransition) -> None
Source: https://doc.qt.io/archives/qt-5.15/qhistorystate.html#setDefaultTransition
setHistoryType
setHistoryType(type: Any) -> None
X.setHistoryType(type)
Supplemental documentation: Qt 5 reference:
void QHistoryState::setHistoryType(QHistoryState::HistoryType type)
Sets the type of history that this history state records.
Note: Setter function for property historyType.
See also historyType().
Upstream PySide2 reference signatures (binding differences may apply):
setHistoryType(self, type: PySide2.QtCore.QHistoryState.HistoryType) -> None
Source: https://doc.qt.io/archives/qt-5.15/qhistorystate.html#setHistoryType