QAbstractState QML Type
Il tipo `QAbstractState` è il tipo base degli stati di un ` StateMachine`. Per saperne di più...
| Import Statement: | import QtQml.StateMachine 6.12 |
| Inherited By: | FinalState, HistoryState, State, and StateMachine |
Proprietà
- active : bool
Segnali
Descrizione dettagliata
Non utilizzare direttamente QAbstractState; utilizzare invece State, FinalState o StateMachine.
Vedi anche StateMachine e State.
Documentazione delle proprietà
active : bool [read-only]
La proprietà "active" di questo stato. Uno stato è attivo tra i segnali entered() e exited(). Questa proprietà è di sola lettura.
Documentazione sui segnali
entered()
Questo segnale viene emesso quando lo stato diventa attivo.
Nota: il gestore corrispondente è onEntered.
exited()
Questo segnale viene emesso quando lo stato diventa inattivo.
Nota: il gestore corrispondente è 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.