EventConnection QML Type
Connects to events sent out by state machines. 更多...
Import Statement: | import QtScxml 5.8 |
开始支持版本: | QtScxml 5.8 |
属性
- events : stringlist
- stateMachine : ScxmlStateMachine
信号
- occurred(event)
详细描述
To receive a notification when a state machine sends out an event, a connection can be created to the corresponding signal.
属性
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.
信号
This signal is emitted when the event event occurrs.
The corresponding signal handler is onOccurred
.
参见 QScxmlEvent.