aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/doc/src/concepts/statesanimations/animations.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'src/quick/doc/src/concepts/statesanimations/animations.qdoc')
-rw-r--r--src/quick/doc/src/concepts/statesanimations/animations.qdoc40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/quick/doc/src/concepts/statesanimations/animations.qdoc b/src/quick/doc/src/concepts/statesanimations/animations.qdoc
index 438804ce41..dcf1d49a72 100644
--- a/src/quick/doc/src/concepts/statesanimations/animations.qdoc
+++ b/src/quick/doc/src/concepts/statesanimations/animations.qdoc
@@ -31,7 +31,7 @@
\title Animation and Transitions in Qt Quick
\brief the animation system in Qt Quick
-\section1 Animation and Transitions Elements
+\section1 Animation and Transitions Types
\generatelist{related}
\list
\li \l {Transition} - Animates transitions during state changes
@@ -45,7 +45,7 @@
\li \l {ScriptAction} - Runs scripts during an animation
\endlist
-Elements that animate properties based on data types
+Types that animate properties based on data types
\annotatedlist qtquick-animation-properties
\list
\li \l {PropertyAnimation} - Animates property changes
@@ -57,11 +57,11 @@ Elements that animate properties based on data types
\li \l {AnchorAnimation} - Animates anchor changes
\endlist
-Animations are created by applying animation elements to property
-values. Animation elements will interpolate property values to create smooth
+Animations are created by applying animation types to property
+values. Animation types will interpolate property values to create smooth
transitions. As well, state transitions may assign animations to state changes.
-To create an animation, use an appropriate animation element for the type of
+To create an animation, use an appropriate animation type for the type of
the property that is to be animated, and apply the animation depending on the
type of behavior that is required.
@@ -79,8 +79,8 @@ animations provide timing controls and allows different interpolations through
\snippet qml/animation.qml property animation
-Specialized \l{qml-property-animation-elements}{property animation elements}
-have more efficient implementations than the \l{PropertyAnimation} element. They
+Specialized \l{qml-property-animation-types}{property animation types}
+have more efficient implementations than the \l{PropertyAnimation} type. They
are for setting animations to different QML types such as \c int, \c color, and
rotations. Similarly, the \l{ParentAnimation} can animate parent changes.
@@ -152,8 +152,8 @@ values.
abrupt property changes; animations smooth transitions to produce visually
appealing state changes.
-The \l{Transition} element can contain
-\l{qml-animation-elements}{animation elements} to interpolate property changes
+The \l{Transition} type can contain
+\l{qml-animation-types}{animation types} to interpolate property changes
caused by state changes. To assign the transition to an object, bind it to the
\c transitions property.
@@ -176,8 +176,8 @@ that the transition applies to any state change.
\section2 Default Animation as Behaviors
Default property animations are set using \e {behavior animations}. Animations
-declared in \l {Behavior} elements apply to the property and animates any
-property value changes. However, Behavior elements have an
+declared in \l {Behavior} types apply to the property and animates any
+property value changes. However, Behavior types have an
\c enabled property to purposely enable or disable the behavior animations.
A ball component might have a behavior animation assigned to its \c x, \c y, and
@@ -204,8 +204,8 @@ sequence or in parallel.
A banner component may have several icons or slogans to display, one after the
other. The \c opacity property could transform to \c 1.0 denoting an opaque
-object. Using the \l{SequentialAnimation} element, the opacity animations will
-play after the preceding animation finishes. The \l{ParallelAnimation} element
+object. Using the \l{SequentialAnimation} type, the opacity animations will
+play after the preceding animation finishes. The \l{ParallelAnimation} type
will play the animations at the same time.
\snippet qml/animation.qml sequential animation
@@ -214,7 +214,7 @@ Once individual animations are placed into a SequentialAnimation or
ParallelAnimation, they can no longer be started and stopped independently. The
sequential or parallel animation must be started and stopped as a group.
-The \l SequentialAnimation element is also useful for playing
+The \l SequentialAnimation type is also useful for playing
\l{qml-transition-animations}{transition animations} because animations are
played in parallel inside transitions.
@@ -227,9 +227,9 @@ demonstration of creating and combining multiple animations in QML.
There are different methods to control animations.
\section2 Animation Playback
-All animation types inherit from the \l Animation element. It is not
-possible to create \l Animation objects; instead, this element provides the
-essential properties and methods for animation elements. Animation elements have
+All animation types inherit from the \l Animation type. It is not
+possible to create \l Animation objects; instead, this type provides the
+essential properties and methods for animation types. Animation types have
\c{start()}, \c{stop()}, \c{resume()}, \c{pause()}, \c {restart()}, and
\c{complete()} -- all of these methods control the execution of animations.
@@ -249,9 +249,9 @@ to a particular curve. For more information about the easing curves, visit the
The \l{declarative/animation/easing}{easing example} visually demonstrates each
of the different easing types.
-\section2 Other Animation Elements
+\section2 Other Animation Types
-In addition, QML provides several other elements useful for animation:
+In addition, QML provides several other types useful for animation:
\list
\li PauseAnimation: enables pauses during animations
@@ -261,7 +261,7 @@ be used together with StateChangeScript to reused existing scripts
without animating the property change
\endlist
-These are specialized animation elements that animate different property types
+These are specialized animation types that animate different property types
\list
\li SmoothedAnimation: a specialized NumberAnimation that provides smooth
changes in animation when the target value changes