Connects to events sent out by state machines. More...
| Import Statement: | import QtScxml |
| Since: | QtScxml 5.8 |
To receive a notification when a state machine sends out an event, a connection can be created to the corresponding signal.
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.
occurred(event)
This signal is emitted when the event event occurrs.
The corresponding signal handler is onOccurred.
Note: The corresponding handler is onOccurred.
See also QScxmlEvent.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qml-qtscxml-eventconnection.html