In questa pagina

EventConnection QML Type

Si collega agli eventi inviati dalle macchine a stati. Per saperne di più...

Import Statement: import QtScxml 6.12
Since: QtScxml 5.8

Proprietà

Segnali

Descrizione dettagliata

Per ricevere una notifica quando una macchina a stati invia un evento, è possibile creare una connessione al segnale corrispondente.

Documentazione delle proprietà

events : stringlist

L'elenco dei specificatori di evento SCXML che descrivono gli eventi da monitorare.

Sebbene negli SCXML i caratteri spazio siano consentiti nelle specifiche degli eventi, non sono ammessi in questo elenco. Tuttavia, l’elenco può contenere più specificatori con lo stesso significato.

stateMachine : ScxmlStateMachine

La macchina a stati che genera l'evento.

Documentazione sui segnali

occurred(event)

Questo segnale viene emesso quando si verifica l'evento SCXML " event ".

Nota: il gestore corrispondente è onOccurred.

Vedi anche QScxmlEvent.

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