QAbstractState QML Type

The QAbstractState type is the base type of States of a StateMachine. More...

Import Statement: import QtQml.StateMachine 1.14
Since: Qt 5.4
Inherited By:

FinalState, HistoryState, and State

Properties

Signals

Detailed Description

Do not use QAbstractState directly; use State, FinalState or StateMachine instead.

See also StateMachine and State.

Property Documentation

[read-only] active : bool

The active property of this state. A state is active between entered() and exited() signals. This property is readonly.

See also entered and exited.


Signal Documentation

entered()

This signal is emitted when the State becomes active.

The corresponding handler is onEntered.

See also active and exited.


exited()

This signal is emitted when the State becomes inactive.

The corresponding handler is onExited.

See also active and entered.


© 2020 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.