forked from qt-creator/qt-creator
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:
Binary file not shown.
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 3.2 KiB |
@@ -428,6 +428,10 @@
|
|||||||
you can change the position of an object on the canvas and then add animation
|
you can change the position of an object on the canvas and then add animation
|
||||||
to the change between the states.
|
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
|
You can preview the states in the \uicontrol State pane and click them to switch
|
||||||
between states on the canvas.
|
between states on the canvas.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user