diff options
author | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2017-05-09 11:14:27 +0200 |
---|---|---|
committer | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2017-05-09 11:10:43 +0000 |
commit | 87276046bea411d38fdaf3a491f3609830697ad5 (patch) | |
tree | d12c5fc49887c401c99386c746057d83c64a1b6e /doc/src/qtquick | |
parent | 56414c0cc91437b1135f186ff42b16bb4071ad94 (diff) |
Doc: Describe editing the when condition of states
...in the Qt Quick Designer States pane.
Change-Id: Ie2a2252d295d6d0ae37744b7cc7691d5a1c3022f
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'doc/src/qtquick')
-rw-r--r-- | doc/src/qtquick/qtquick-screens.qdoc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/src/qtquick/qtquick-screens.qdoc b/doc/src/qtquick/qtquick-screens.qdoc index 2beb1c4a35..3bf0232b85 100644 --- a/doc/src/qtquick/qtquick-screens.qdoc +++ b/doc/src/qtquick/qtquick-screens.qdoc @@ -391,6 +391,18 @@ \endlist + \section2 Using SCXML State Machines + + To use QML and \QMLD together with an SCXML state machine, add states and + bind them to the state machine in the \uicontrol Backends tab, as described + in \l {Managing C++ Backend Objects}. + + In the \uicontrol States pane, you can edit the \c when condition of states + to map QML states to the states of the SCXML state machine. For an example, + see \l {Qt SCXML Traffic Light QML Example (Dynamic)}. + + \image qmldesigner-states-when-condition.png + \section1 Animating Screens To make movement between states smooth, you can specify transitions. You can |