要导入 QML 类型到应用程序中,使用以下 import 语句在 .qml 文件中:
import QtScxml
更多信息,见 实例化状态机 .
EventConnection | Connects to events sent out by state machines |
InvokedServices | Provices access to the services invoked by state machines |
ScxmlStateMachine | Provides an interface to the state machines created from SCXML files |
StateMachineLoader | Dynamically loads an SCXML document and instantiates the state machine |