Nesta página

QAbstractState QML Type

O tipo `QAbstractState` é o tipo base dos estados de um ` StateMachine`. Mais...

Import Statement: import QtQml.StateMachine 6.12
Inherited By:

FinalState, HistoryState, State, and StateMachine

Propriedades

Sinais

Descrição detalhada

Não utilize QAbstractState diretamente; em vez disso, utilize State, FinalState ou StateMachine.

Veja também StateMachine e State.

Documentação da propriedade

active : bool [read-only]

A propriedade “active” deste estado. Um estado permanece ativo entre os sinais entered() e exited(). Essa propriedade é somente para leitura.

Veja também entered e exited.

Documentação de sinais

entered()

Esse sinal é emitido quando o estado se torna ativo.

Observação: O manipulador correspondente é onEntered.

Veja também active e exited.

exited()

Esse sinal é emitido quando o Estado fica inativo.

Observação: O manipulador correspondente é onExited.

Veja também 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.