Doc: Setting when property for state in Design mode

Change-Id: I3462f7c5a8ea436d979c12bc02ae1e2f063eeb4b
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
This commit is contained in:
Leena Miettinen
2016-10-28 17:05:56 +02:00
parent 2cab55ea1a
commit 75c5afef48
2 changed files with 4 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@@ -428,6 +428,10 @@
you can change the position of an object on the canvas and then add animation
to the change between the states.
To determine when the state should be applied, select
\uicontrol {Set when Condition} in the context menu and specify a
\l [QtQuick]{State::when}{when} property for the state.
You can preview the states in the \uicontrol State pane and click them to switch
between states on the canvas.