forked from qt-creator/qt-creator
Doc: Update contents of Motion Design chapter
Add information about new topics in the chapter. Add animation. Change-Id: Idce4c1cad796d8df011afc16413126dba6f2583c Reviewed-by: Johanna Vanhatapio <johanna.vanhatapio@qt.io> Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
This commit is contained in:
BIN
doc/qtcreator/images/timeline-rotation-animation.gif
Normal file
BIN
doc/qtcreator/images/timeline-rotation-animation.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 249 KiB |
@@ -150,7 +150,6 @@
|
|||||||
\li \l{Creating Scalable Buttons and Borders}
|
\li \l{Creating Scalable Buttons and Borders}
|
||||||
\endlist
|
\endlist
|
||||||
\endlist
|
\endlist
|
||||||
\li \l{Creating Optimized 3D Scenes}
|
|
||||||
\li \l{Specifying Component Properties}
|
\li \l{Specifying Component Properties}
|
||||||
\li \l{Scalable Layouts}
|
\li \l{Scalable Layouts}
|
||||||
\li \l{Using Custom Fonts}
|
\li \l{Using Custom Fonts}
|
||||||
@@ -187,9 +186,14 @@
|
|||||||
\li \l{Motion Design}
|
\li \l{Motion Design}
|
||||||
\list
|
\list
|
||||||
\li \l{Introduction to Animation Techniques}
|
\li \l{Introduction to Animation Techniques}
|
||||||
\li \l{Creating Animations}
|
\li \l{Creating Timeline Animations}
|
||||||
\li \l{Editing Easing Curves}
|
\li \l{Editing Easing Curves}
|
||||||
\endlist
|
\li \l{Production Quality}
|
||||||
|
\li \l{Optimizing Designs}
|
||||||
|
\list
|
||||||
|
\li \l{Creating Optimized 3D Scenes}
|
||||||
|
\endlist
|
||||||
|
\endlist
|
||||||
\li \l {Browsing ISO 7000 Icons}
|
\li \l {Browsing ISO 7000 Icons}
|
||||||
\li \l {Converting UI Projects to Applications}
|
\li \l {Converting UI Projects to Applications}
|
||||||
\endlist
|
\endlist
|
||||||
|
|||||||
@@ -65,7 +65,8 @@
|
|||||||
\li Add states to apply sets of changes to the property values of one
|
\li Add states to apply sets of changes to the property values of one
|
||||||
or several component instances in the \uicontrol States view.
|
or several component instances in the \uicontrol States view.
|
||||||
For more information, see \l{Adding States}.
|
For more information, see \l{Adding States}.
|
||||||
\li Animate the properties of component instances in the \uicontrol
|
\li Animate the properties of component instances in the
|
||||||
Timeline view. For more information, see \l{Creating Animations}.
|
\uicontrol Timeline view. For more information, see
|
||||||
|
\l{Creating Timeline Animations}.
|
||||||
\endlist
|
\endlist
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -25,8 +25,12 @@
|
|||||||
|
|
||||||
/*!
|
/*!
|
||||||
\page studio-optimized-3d-scenes.html
|
\page studio-optimized-3d-scenes.html
|
||||||
\previouspage quick-scalable-image.html
|
\previouspage qtquick-optimizing-designs.html
|
||||||
\nextpage qtquick-properties.html
|
\if defined(qtdesignstudio)
|
||||||
|
\nextpage creator-coding.html
|
||||||
|
\else
|
||||||
|
\nextpage qtquick-iso-icon-browser.html
|
||||||
|
\endif
|
||||||
|
|
||||||
\title Creating Optimized 3D Scenes
|
\title Creating Optimized 3D Scenes
|
||||||
|
|
||||||
|
|||||||
@@ -26,9 +26,12 @@
|
|||||||
/*!
|
/*!
|
||||||
\page quick-animation-overview.html
|
\page quick-animation-overview.html
|
||||||
\previouspage qtquick-motion-design.html
|
\previouspage qtquick-motion-design.html
|
||||||
|
\nextpage studio-timeline.html
|
||||||
|
|
||||||
\title Introduction to Animation Techniques
|
\title Introduction to Animation Techniques
|
||||||
|
|
||||||
|
\image timeline-rotation-animation.gif "Timeline animation of rotation and opacity"
|
||||||
|
|
||||||
\QDS supports the following types of animation techniques that are suitable
|
\QDS supports the following types of animation techniques that are suitable
|
||||||
for different purposes:
|
for different purposes:
|
||||||
|
|
||||||
|
|||||||
@@ -110,7 +110,7 @@
|
|||||||
\li \l Timeline
|
\li \l Timeline
|
||||||
\li Provides a timeline and keyframe based editor for animating
|
\li Provides a timeline and keyframe based editor for animating
|
||||||
the properties of components.
|
the properties of components.
|
||||||
\li \l{Creating Animations}
|
\li \l{Creating Timeline Animations}
|
||||||
\row
|
\row
|
||||||
\li \l{Curve Editor}
|
\li \l{Curve Editor}
|
||||||
\li Enables you to view and modify the whole animation curve by
|
\li Enables you to view and modify the whole animation curve by
|
||||||
|
|||||||
@@ -76,7 +76,7 @@
|
|||||||
|
|
||||||
For timeline animations, you can also use the more advanced
|
For timeline animations, you can also use the more advanced
|
||||||
\l {Curve Editor} that shows the interpolated values of an animated
|
\l {Curve Editor} that shows the interpolated values of an animated
|
||||||
property over the \l{Creating Animations}{animation} range.
|
property over the \l{Creating Timeline Animations}{animation} range.
|
||||||
|
|
||||||
The animation curves present a more readable view of the animation by
|
The animation curves present a more readable view of the animation by
|
||||||
showing the effective values of the animated properties over the animation
|
showing the effective values of the animated properties over the animation
|
||||||
|
|||||||
@@ -30,10 +30,15 @@
|
|||||||
|
|
||||||
\title Motion Design
|
\title Motion Design
|
||||||
|
|
||||||
You can use different animation techniques for different purposes. \QDS
|
\table
|
||||||
supports common motion design techniques, such as timeline and keyframe
|
\row
|
||||||
based animation and easing curves, as well as screen-to-screen or
|
\li \image studio-animation.png
|
||||||
state-to-state application flows and data-driven UI logic animation.
|
\li You can use different animation techniques for different
|
||||||
|
purposes. \QDS supports common motion design techniques,
|
||||||
|
such as timeline and keyframe based animation and easing
|
||||||
|
curves, as well as screen-to-screen or state-to-state
|
||||||
|
application flows and data-driven UI logic animation.
|
||||||
|
\endtable
|
||||||
|
|
||||||
\list
|
\list
|
||||||
\li \l {Introduction to Animation Techniques}
|
\li \l {Introduction to Animation Techniques}
|
||||||
@@ -41,21 +46,28 @@
|
|||||||
Learn more about which animation techniques are supported by \QDS
|
Learn more about which animation techniques are supported by \QDS
|
||||||
and the use cases they are most suitable for.
|
and the use cases they are most suitable for.
|
||||||
|
|
||||||
\li \l {Creating Animations}
|
\li \l {Creating Timeline Animations}
|
||||||
|
|
||||||
You can use a timeline and keyframe based editor in the
|
You can use a timeline and keyframe based editor in the
|
||||||
\uicontrol Timeline view to animate the properties of UI
|
\l Timeline view to animate the properties of UI
|
||||||
components. Animating properties enables their values to
|
components. Animating properties enables their values to
|
||||||
move through intermediate values at specified keyframes
|
move through intermediate values at specified keyframes
|
||||||
instead of immediately changing to the target value.
|
instead of immediately changing to the target value.
|
||||||
\li Production Quality (TODO)
|
\li \l{Editing Easing Curves}
|
||||||
|
|
||||||
After the wireframing and prototyping phases, you can use the
|
Specify easing curves for nonlinear interpolation between
|
||||||
supported motion design techniques to fine-tune your UI for
|
keyframes in timeline animations, as well as between original
|
||||||
production.
|
and new property values in property animations and between
|
||||||
\li Optimizing for Target Devices (TODO)
|
transitions.
|
||||||
|
\li \l {Production Quality}
|
||||||
|
|
||||||
|
After the wireframing and prototyping phases, you can use previewing
|
||||||
|
and profiling tools to fine-tune your UI for production.
|
||||||
|
\li \l{Optimizing Designs}
|
||||||
|
|
||||||
You can test your UIs on the target devices to make sure you get
|
You can test your UIs on the target devices to make sure you get
|
||||||
the best performance out of your animations.
|
the best performance out of your animations. To solve performance
|
||||||
|
problems, you typically need to optimize the graphical assets used
|
||||||
|
in the UI, such as images, effects, or 3D scenes.
|
||||||
\endlist
|
\endlist
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -132,7 +132,7 @@
|
|||||||
Changing a component's opacity does not affect whether the component
|
Changing a component's opacity does not affect whether the component
|
||||||
receives user input events.
|
receives user input events.
|
||||||
|
|
||||||
You can \l{Creating Animations}{animate} the opacity value to make a
|
You can \l{Creating Timeline Animations}{animate} the opacity value to make a
|
||||||
component fade in and out.
|
component fade in and out.
|
||||||
|
|
||||||
If the \uicontrol Clip check box is selected, the component and its children
|
If the \uicontrol Clip check box is selected, the component and its children
|
||||||
|
|||||||
@@ -74,7 +74,7 @@
|
|||||||
|
|
||||||
|
|
||||||
For more information about creating timeline animations, see
|
For more information about creating timeline animations, see
|
||||||
\l{Creating Animations}.
|
\l{Creating Timeline Animations}.
|
||||||
|
|
||||||
\section1 Navigating in Timeline
|
\section1 Navigating in Timeline
|
||||||
|
|
||||||
|
|||||||
@@ -24,12 +24,15 @@
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\previouspage qtquick-adding-dynamics.html
|
\previouspage quick-animation-overview.html
|
||||||
\page studio-timeline.html
|
\page studio-timeline.html
|
||||||
\nextpage qmldesigner-connections.html
|
\nextpage qtquick-editing-easing-curves.html
|
||||||
|
|
||||||
\title Creating Animations
|
\title Creating Timeline Animations
|
||||||
|
|
||||||
|
You can create timeline and keyframe based animations for linear
|
||||||
|
interpolation through intermediate values at specified keyframes
|
||||||
|
instead of immediately changing to the target value.
|
||||||
|
|
||||||
\section1 Creating Timelines
|
\section1 Creating Timelines
|
||||||
|
|
||||||
|
|||||||
@@ -141,7 +141,8 @@
|
|||||||
When we deselect the record button to stop recording the timeline, the
|
When we deselect the record button to stop recording the timeline, the
|
||||||
new timeline appears in the view.
|
new timeline appears in the view.
|
||||||
|
|
||||||
For more information about using the timeline, see \l {Creating Animations}.
|
For more information about using the timeline, see
|
||||||
|
\l {Creating Timeline Animations}.
|
||||||
|
|
||||||
\section1 Using States to Move Between Screens
|
\section1 Using States to Move Between Screens
|
||||||
|
|
||||||
|
|||||||
@@ -89,7 +89,8 @@
|
|||||||
to fade out the current screen when moving to another one and to make the
|
to fade out the current screen when moving to another one and to make the
|
||||||
speedometer grow and shrink in size depending on its current position.
|
speedometer grow and shrink in size depending on its current position.
|
||||||
|
|
||||||
For more information about using the timeline, see \l {Creating Animations}.
|
For more information about using the timeline, see
|
||||||
|
\l {Creating Timeline Animations}.
|
||||||
|
|
||||||
\section1 Using States to Move Between Screens
|
\section1 Using States to Move Between Screens
|
||||||
|
|
||||||
|
|||||||
@@ -40,10 +40,11 @@
|
|||||||
some basic UI components, such as pages, buttons, and entry fields. Part 4
|
some basic UI components, such as pages, buttons, and entry fields. Part 4
|
||||||
describes how to use the timeline and states to animate UI components.
|
describes how to use the timeline and states to animate UI components.
|
||||||
|
|
||||||
In Part 3, you learned how to use states to simulate page changes in a UI
|
In Part 3, you learned how to use states to simulate page changes
|
||||||
and connections to provide user interaction with it. In Part 4, you will now
|
in a UI and connections to provide user interaction with it. In
|
||||||
learn another way of animating the UI by creating \l{Creating Animations}
|
Part 4, you will now learn another way of animating the UI by creating
|
||||||
{timeline animations} that you bind to states.
|
\l{Creating Timeline Animations}{timeline animations} that you bind
|
||||||
|
to states.
|
||||||
|
|
||||||
These instructions build on:
|
These instructions build on:
|
||||||
|
|
||||||
@@ -128,7 +129,7 @@
|
|||||||
|
|
||||||
\section2 Adding a Timeline and Animation Settings
|
\section2 Adding a Timeline and Animation Settings
|
||||||
|
|
||||||
You are now ready to add the \l{Creating Animations}{timeline}. You will
|
You are now ready to add the \l{Creating Timeline Animations}{timeline}. You will
|
||||||
need two animations, one for moving into the registration page and another
|
need two animations, one for moving into the registration page and another
|
||||||
for returning to the login page. You can use the same animation for both
|
for returning to the login page. You can use the same animation for both
|
||||||
cases, by running it either from the beginning to the end or from the
|
cases, by running it either from the beginning to the end or from the
|
||||||
@@ -314,7 +315,7 @@
|
|||||||
All the properties and functions of the components from this module are
|
All the properties and functions of the components from this module are
|
||||||
available in the \uicontrol Design mode, and therefore it is enough to
|
available in the \uicontrol Design mode, and therefore it is enough to
|
||||||
learn how to use \uicontrol Timeline, as described in
|
learn how to use \uicontrol Timeline, as described in
|
||||||
\l {Creating Animations}.
|
\l {Creating Timeline Animations}.
|
||||||
|
|
||||||
\section1 Next Steps
|
\section1 Next Steps
|
||||||
|
|
||||||
|
|||||||
@@ -82,7 +82,8 @@
|
|||||||
changing color. To animate the label and indicator, we'll add timelines
|
changing color. To animate the label and indicator, we'll add timelines
|
||||||
in the \l Timeline view.
|
in the \l Timeline view.
|
||||||
|
|
||||||
For more information about using the timeline, see \l {Creating Animations}.
|
For more information about using the timeline, see
|
||||||
|
\l {Creating Timeline Animations}.
|
||||||
|
|
||||||
\section2 Adding Color Animation
|
\section2 Adding Color Animation
|
||||||
|
|
||||||
|
|||||||
@@ -185,7 +185,8 @@
|
|||||||
apply when the animation finishes. In the lower part of the
|
apply when the animation finishes. In the lower part of the
|
||||||
dialog, we bind the states that don't have animations to fixed frames.
|
dialog, we bind the states that don't have animations to fixed frames.
|
||||||
|
|
||||||
For more information about using the timeline, see \l {Creating Animations}.
|
For more information about using the timeline, see
|
||||||
|
\l {Creating Timeline Animations}.
|
||||||
|
|
||||||
\section1 Connecting the Burger Menu to Actions
|
\section1 Connecting the Burger Menu to Actions
|
||||||
|
|
||||||
|
|||||||
@@ -48,8 +48,9 @@
|
|||||||
Users select buttons to navigate between the screens.
|
Users select buttons to navigate between the screens.
|
||||||
We use \l{Connecting Components to Signals}{connections} to determine which
|
We use \l{Connecting Components to Signals}{connections} to determine which
|
||||||
screen to open when users select a particular button and \l{Adding States}
|
screen to open when users select a particular button and \l{Adding States}
|
||||||
{states} to show the screens. We use the \l{Creating Animations}{timeline}
|
{states} to show the screens. We use the \l{Creating Timeline Animations}
|
||||||
to create progress indicators for buttons and the \e Running screen.
|
{timeline} to create progress indicators for buttons and the \e Running
|
||||||
|
screen.
|
||||||
|
|
||||||
In addition, all screens contain a small clock component that displays
|
In addition, all screens contain a small clock component that displays
|
||||||
the current time. We implement a \e TimeDate JavaScript object to
|
the current time. We implement a \e TimeDate JavaScript object to
|
||||||
|
|||||||
@@ -191,5 +191,6 @@
|
|||||||
|
|
||||||
\image webinardemo-timeline.png "Popup animations in the Timeline view"
|
\image webinardemo-timeline.png "Popup animations in the Timeline view"
|
||||||
|
|
||||||
For more information about using the timeline, see \l {Creating Animations}.
|
For more information about using the timeline, see
|
||||||
|
\l {Creating Timeline Animations}.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -179,17 +179,16 @@
|
|||||||
\li \l{Motion Design}
|
\li \l{Motion Design}
|
||||||
\list
|
\list
|
||||||
\li \l{Introduction to Animation Techniques}
|
\li \l{Introduction to Animation Techniques}
|
||||||
\li \l{Creating Animations}
|
\li \l{Creating Timeline Animations}
|
||||||
\li \l{Editing Easing Curves}
|
\li \l{Editing Easing Curves}
|
||||||
\li \l{Production Quality} (NEW)
|
\li \l{Production Quality}
|
||||||
|
\li \l{Optimizing Designs}
|
||||||
\list
|
\list
|
||||||
\li \l{Detailed Motion Design} (NEW)
|
\li \l{Creating Optimized 3D Scenes}
|
||||||
\endlist
|
\endlist
|
||||||
\li \l{Optimizing for Target Hardware} (NEW)
|
|
||||||
\endlist
|
\endlist
|
||||||
\li \l{Implementing Applications} (NEW)
|
\li \l{Implementing Applications} (NEW)
|
||||||
\list
|
\list
|
||||||
\li\l{Creating Optimized 3D Scenes}
|
|
||||||
\li Using Flows in Production (NEW)
|
\li Using Flows in Production (NEW)
|
||||||
\li \l{Coding}{Cross-Platform Development} (NEW)
|
\li \l{Coding}{Cross-Platform Development} (NEW)
|
||||||
\list
|
\list
|
||||||
|
|||||||
@@ -74,11 +74,10 @@
|
|||||||
\li \b {\l{Motion Design}}
|
\li \b {\l{Motion Design}}
|
||||||
\list
|
\list
|
||||||
\li \l{Introduction to Animation Techniques}
|
\li \l{Introduction to Animation Techniques}
|
||||||
\li \l{Creating Animations}
|
\li \l{Creating Timeline Animations}
|
||||||
\li \l{Editing Easing Curves}
|
\li \l{Editing Easing Curves}
|
||||||
\li \l{Production Quality} (NEW)
|
\li \l{Production Quality}
|
||||||
\li \l{Importing from Content Creation Tools}
|
\li \l{Optimizing Designs}
|
||||||
\li \l{Optimizing for Target Hardware} (NEW)
|
|
||||||
\endlist
|
\endlist
|
||||||
\row
|
\row
|
||||||
\li \inlineimage front-preview.png
|
\li \inlineimage front-preview.png
|
||||||
|
|||||||
@@ -243,7 +243,7 @@
|
|||||||
|
|
||||||
\li Recreate animations in subpresentation_ADAS according to the original
|
\li Recreate animations in subpresentation_ADAS according to the original
|
||||||
project. For more information on creating animations in \QDS, see
|
project. For more information on creating animations in \QDS, see
|
||||||
\l {Creating Animations}.
|
\l {Creating Timeline Animations}.
|
||||||
\image exporting-from-qt3ds/24-recreate-animations.png "Recreate animations"
|
\image exporting-from-qt3ds/24-recreate-animations.png "Recreate animations"
|
||||||
|
|
||||||
\li Go to the \uicontrol Timeline View to review the timeline for the
|
\li Go to the \uicontrol Timeline View to review the timeline for the
|
||||||
|
|||||||
@@ -73,7 +73,7 @@
|
|||||||
by any other colors specified for the material.
|
by any other colors specified for the material.
|
||||||
|
|
||||||
You can animate material properties in the \uicontrol Timeline view, as
|
You can animate material properties in the \uicontrol Timeline view, as
|
||||||
instructed in \l {Creating Animations}.
|
instructed in \l {Creating Timeline Animations}.
|
||||||
|
|
||||||
\section1 Blending Colors
|
\section1 Blending Colors
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user