QAbstractState QML Type
Der Typ „QAbstractState“ ist der Basistyp für Zustände eines „ StateMachine “. Mehr...
| Import Statement: | import QtQml.StateMachine 6.12 |
| Inherited By: | FinalState, HistoryState, State, and StateMachine |
Eigenschaften
- active : bool
Signale
Ausführliche Beschreibung
Verwenden Sie „QAbstractState“ nicht direkt; verwenden Sie stattdessen „State“, „ FinalState “ oder „ StateMachine “.
Siehe auch „ StateMachine “ und „ State “.
Dokumentation zu den Eigenschaften
active : bool [read-only]
Die Eigenschaft „active“ dieses Zustands. Ein Zustand ist zwischen den Signalen „ entered()“ und „ exited()“ aktiv. Diese Eigenschaft ist schreibgeschützt.
Siehe auch „ entered “ und „ exited “.
Signaldokumentation
entered()
Dieses Signal wird ausgesendet, wenn der Zustand aktiv wird.
Hinweis: Der entsprechende Handler lautet „ onEntered “.
exited()
Dieses Signal wird ausgesendet, wenn der Zustand inaktiv wird.
Hinweis: Der entsprechende Handler lautet „ onExited “.
© 2026 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.