Doc: Update change from "+" to "Create New State" label
States view layout was also changed, so update screenshots. Change-Id: I0e4535add8720375e40fcf0e65b20061d94c5150 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Before Width: | Height: | Size: 8.5 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 82 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 75 KiB |
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 20 KiB |
@@ -214,8 +214,8 @@
|
||||
\c y properties of \e icon to those of the rectangles.
|
||||
|
||||
\list 1
|
||||
\li In the \uicontrol States view, click the \inlineimage plus.png
|
||||
button three times to create \e State1, \e State2, and \e State3.
|
||||
\li In the \uicontrol States view, select \uicontrol {Create New State}
|
||||
three times to create \e State1, \e State2, and \e State3.
|
||||
\li Select \e State1 in \uicontrol States.
|
||||
\li Select \inlineimage icons/action-icon.png
|
||||
to open the \uicontrol Actions menu, and then select
|
||||
|
@@ -229,7 +229,7 @@
|
||||
\section1 Using States to Change Component Property Values
|
||||
|
||||
\list 1
|
||||
\li In the \uicontrol States view, select \inlineimage plus.png
|
||||
\li In the \uicontrol States view, select \uicontrol {Create New State}
|
||||
twice to create two new states.
|
||||
\image qmldesigner-borderimage-states.png "Active and inactive states"
|
||||
\li Select \uicontrol State1.
|
||||
|
@@ -68,9 +68,9 @@
|
||||
|
||||
\image qmldesigner-transitions.png "States view"
|
||||
|
||||
To add states, click the \inlineimage plus.png
|
||||
button. Click the new state to switch to it in \uicontrol {Form Editor},
|
||||
and then modify the properties of components in \uicontrol Properties.
|
||||
To add states, select \uicontrol {Create New State}. Click the new state to
|
||||
switch to it in \uicontrol {Form Editor}, and then modify the properties of
|
||||
components in \uicontrol Properties.
|
||||
|
||||
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 view,
|
||||
|
@@ -101,7 +101,7 @@
|
||||
|
||||
We create the states for displaying the Trip, Standard, and Navigation
|
||||
screens by moving from viewport to viewport in \e Screen01.ui.qml and
|
||||
clicking \inlineimage plus.png "Add button" in the \uicontrol States view
|
||||
selecting \uicontrol {Create New State} in the \uicontrol States view
|
||||
when the appropriate screen is displayed in the viewport.
|
||||
|
||||
We then create states for animations that are run when moving between the
|
||||
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 38 KiB |
Before Width: | Height: | Size: 127 KiB After Width: | Height: | Size: 52 KiB |
Before Width: | Height: | Size: 122 KiB After Width: | Height: | Size: 56 KiB |
Before Width: | Height: | Size: 110 KiB After Width: | Height: | Size: 61 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 167 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 43 KiB |
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 10 KiB |
@@ -114,8 +114,7 @@
|
||||
components in the \uicontrol {Form Editor}:
|
||||
|
||||
\list 1
|
||||
\li In the \uicontrol States view, select the \inlineimage plus.png
|
||||
button.
|
||||
\li In the \uicontrol States view, select \uicontrol {Create New State}.
|
||||
\image loginui3-login-state.png "States view"
|
||||
\li Enter \e loginState as the state name.
|
||||
\li Select \e verifyPasswordField in the \uicontrol Navigator,
|
||||
|
@@ -257,10 +257,10 @@
|
||||
in \uicontrol Timeline:
|
||||
|
||||
\list 1
|
||||
\li In \uicontrol States, select the \inlineimage plus.png
|
||||
button twice to add two states called \e loginState and
|
||||
\e registerState. You don't need to make any property changes this
|
||||
time, because you'll bind the states to property animations.
|
||||
\li In \uicontrol States, select \uicontrol {Create New State} twice to
|
||||
add two states called \e loginState and \e registerState. You don't
|
||||
need to make any property changes this time, because you'll bind the
|
||||
states to property animations.
|
||||
\li In \uicontrol Timeline, select the \inlineimage animation.png
|
||||
(\uicontrol {Timeline Settings (S)}) button on the toolbar (or press
|
||||
\key S to open the \uicontrol {Timeline Settings} dialog.
|
||||
|
@@ -142,8 +142,8 @@
|
||||
another animation is run that closes the side menu. When the animation
|
||||
finishes, the side menu returns to the \e closed state.
|
||||
|
||||
We select the \inlineimage plus.png
|
||||
(\uicontrol Add) button in the \uicontrol States view to add the states:
|
||||
We select \uicontrol {Create New State} in the \uicontrol States view to add
|
||||
the states:
|
||||
|
||||
\image sidemenu-states.png "Side menu states"
|
||||
|
||||
|