Qt SCXML 范例

Qt SCXML 范例应用程序演示功能提供通过 Qt SCXML 模块。

There are multiple versions of the Invoke , 媒体播放器 ,和 Traffic Light example applications. Each application has some common files that are stored in a common folder, in addition to the files stored in the example version folder.

All versions of an example application have the same appearance and functionality. They demonstrate the different options for creating user interfaces (using Qt Widgets or Qt Quick ) and for loading the SCXML dynamically versus first compiling it to a C++ class (the static versions).

In addition, the Media Player example versions demonstrate how to access the C++ and ECMAScript data models.

Qt SCXML 计算器范例

A widget-based application that implements the Calculator example presented in the SCXML Specification.

Qt SCXML 计算器 QML 范例

A Qt Quick application that implements the Calculator example presented in the SCXML Specification.

Qt SCXML FTP 客户端范例

使用状态机实现简单 FTP 客户端。

Qt SCXML 援引范例 (动态)

援引动态加载嵌套状态机。

Qt SCXML 援引范例 (静态)

援引编译嵌套状态机。

Qt SCXML 媒体播放器范例 (动态)

A widget-based application that sends data to and receives it from a dynamically loaded ECMAScript data model.

Qt SCXML 媒体播放器范例 (静态)

A widget-based application that sends data to and receives it from a compiled ECMAScript data model.

Qt SCXML 媒体播放器 QML 范例 (C++ 数据模型)

发送数据到 C++ 数据模型和接收数据从 C++ 数据模型。

Qt SCXML 媒体播放器 QML 范例 (动态)

A Qt Quick application that sends data to and receives it from a dynamically loaded ECMAScript data model.

Qt SCXML 媒体播放器 QML 范例 (静态)

A Qt Quick application that sends data to and receives it from a compiled ECMAScript data model.

Qt SCXML 弹球范例

Encapsulates the internal logic of an application in an SCXML file.

Qt SCXML 数独范例

Presents the use of SCXML in a sudoku game.

Qt SCXML 交通灯范例 (动态)

A widget-based application that uses a dynamically loaded state machine to implement a traffic light.

Qt SCXML 交通灯范例 (静态)

A widget-based application that uses a compiled state machine to implement a traffic light.

Qt SCXML 交通灯 QML 范例 (动态)

A Qt Quick application that uses a dynamically loaded state machine to implement a traffic light.

Qt SCXML 交通灯 QML 范例 (简单)

A Qt Quick application that uses a compiled state machine to implement a simplified traffic light.

Qt SCXML 交通灯 QML 范例 (静态)

A Qt Quick application that uses a compiled state machine to implement a traffic light.