In questa pagina

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à

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.

Vedi anche entered e exited.

Documentazione sui segnali

entered()

Questo segnale viene emesso quando lo stato diventa attivo.

Nota: il gestore corrispondente è onEntered.

Vedi anche active e exited.

exited()

Questo segnale viene emesso quando lo stato diventa inattivo.

Nota: il gestore corrispondente è onExited.

Vedi anche active e entered.

© 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.