Qt SCXML 範例

Qt SCXML 範例應用程序演示功能提供通過 Qt SCXML 模塊。

There are multiple versions of the 援引 , 媒體播放器 ,和 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 fuctionality. 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.