EventConnection QML Type

Connects to events sent out by state machines. 更多...

import 语句: import QtScxml 5.15
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 .

注意: 相应处理程序是 onOccurred .

另请参阅 QScxmlEvent .