diff options
author | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2017-02-20 13:32:31 +0100 |
---|---|---|
committer | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2017-02-21 11:36:21 +0000 |
commit | 97d517b11607f171a3305e0b8a37c6cd183de100 (patch) | |
tree | 04f11b09e4cee0d7c07f5e4a1947d7ac7116f909 /doc/src/qtquick | |
parent | b1a7731c46e88d5c75916fefdd5361f04a41cec7 (diff) |
Doc: Edit info about managing states in Qt Quick Designer
- Describe expanding the State pane.
- The empty slot has been replaced with a + button.
- Do not call the circle menu a "context menu", because there
is a separate context menu.
Change-Id: I4bc689fd6490bc171891135b2c9f5bd67f9931ba
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'doc/src/qtquick')
-rw-r--r-- | doc/src/qtquick/qtquick-designer.qdoc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/src/qtquick/qtquick-designer.qdoc b/doc/src/qtquick/qtquick-designer.qdoc index 9fdf896c8c..110fa9012a 100644 --- a/doc/src/qtquick/qtquick-designer.qdoc +++ b/doc/src/qtquick/qtquick-designer.qdoc @@ -440,18 +440,21 @@ \endlist The \uicontrol State pane displays the different \l{State}{states} - of the component in the Qt Quick Designer. + of the component in the Qt Quick Designer. The \uicontrol State pane is + collapsed by default to save space. Select \uicontrol Expand in the context + menu to view the whole pane. \image qmldesigner-transitions.png "State pane" - To add states, click the empty slot. Then modify the new state in the editor. + To add states, click the \inlineimage plus.png + button. Then modify the new state in the editor. For example, to change the appearance of a button, you can hide the button image and show another image in its place. Or, to add movement to the screen, 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 + \uicontrol {Set when Condition} in the 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 |