aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/doc/src/concepts/statesanimations/animations.qdoc
diff options
context:
space:
mode:
authorAndreas Eliasson <andreas.eliasson@qt.io>2022-03-11 10:47:14 +0100
committerAndreas Eliasson <andreas.eliasson@qt.io>2022-03-14 06:16:33 +0100
commit2af09901418d5639a2c105369559ab925cd7166b (patch)
tree65014e9174294c35ebc9966723c6feb4f0c41812 /src/quick/doc/src/concepts/statesanimations/animations.qdoc
parent7255b7db30098a6290a0c7af74e3ca0258900e4b (diff)
Doc: Fix ambiguous transition qml type links
Add the sqaure bracket argument to the link command to make sure the links go to the correct qml type page. Also, fix some line lengths in the c++ file to bypass the clang-format warning, which wouldn't allow me to commit. Task-number: QTBUG-101193 Pick-to: 6.3 Change-Id: I45e22bdbec354de96b3598773b74d1754eda8a64 Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/quick/doc/src/concepts/statesanimations/animations.qdoc')
-rw-r--r--src/quick/doc/src/concepts/statesanimations/animations.qdoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/quick/doc/src/concepts/statesanimations/animations.qdoc b/src/quick/doc/src/concepts/statesanimations/animations.qdoc
index 5867fe9585..b2998e3b75 100644
--- a/src/quick/doc/src/concepts/statesanimations/animations.qdoc
+++ b/src/quick/doc/src/concepts/statesanimations/animations.qdoc
@@ -34,7 +34,7 @@
\section1 Animation and Transitions Types
\list
-\li \l {Transition} - Animates transitions during state changes
+\li \l [QML] {Transition} - Animates transitions during state changes
\li \l {SequentialAnimation} - Runs animations sequentially
\li \l {ParallelAnimation} - Runs animations in parallel
\li \l {Behavior} - Specifies a default animation for property changes
@@ -145,9 +145,9 @@ values.
abrupt property changes; animations smooth transitions to produce visually
appealing state changes.
-The \l{Transition} type can contain animation types to interpolate property changes
-caused by state changes. To assign the transition to an object, bind it to the
-\c transitions property.
+The \l [QML] {Transition} type can contain animation types to interpolate
+property changes caused by state changes. To assign the transition to an object,
+bind it to the \c transitions property.
A button might have two states, the \c pressed state when the user clicks on the
button and a \c released state when the user releases the button. We can assign