En esta página

QAbstractState QML Type

El tipo `QAbstractState` es el tipo base de los estados de un ` StateMachine`. Más información...

Import Statement: import QtQml.StateMachine 6.12
Inherited By:

FinalState, HistoryState, State, and StateMachine

Propiedades

Señales

Descripción detallada

No utilices QAbstractState directamente; en su lugar, utiliza State, FinalState o StateMachine.

Véase también StateMachine y State.

Documentación de las propiedades

active : bool [read-only]

La propiedad «active» de este estado. Un estado se considera activo entre las señales entered() y exited(). Esta propiedad es de solo lectura.

Véase también entered y exited.

Documentación sobre señales

entered()

Esta señal se emite cuando el estado pasa a estar activo.

Nota: El controlador correspondiente es onEntered.

Véase también active y exited.

exited()

Esta señal se emite cuando el estado pasa a estar inactivo.

Nota: El controlador correspondiente es onExited.

Véase también active y 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.