EventConnection QML Type

Connects to events sent out by state machines. More...

Import Statement: import QtScxml 5.8
Since: QtScxml 5.8

Properties

Signals

Detailed Description

To receive a notification when a state machine sends out an event, a connection can be created to the corresponding signal.

Property Documentation

events : stringlist

The list of SCXML event specifiers that describe the events to listen for.

Even though spaces are allowed in event specifications in SCXML documents, they are not allowed in this list. However, the list can contain multiple specifiers, to the same effect.


stateMachine : ScxmlStateMachine

The state machine that sends out the event.


Signal Documentation

occurred(event)

This signal is emitted when the event event occurrs.

The corresponding signal handler is onOccurred.

See also QScxmlEvent.


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