diff options
author | Andreas Eliasson <andreas.eliasson@qt.io> | 2022-03-11 10:47:14 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-03-14 08:10:12 +0000 |
commit | 3f352c5cccf410cc8e9233c209d1e7f57ff1c9db (patch) | |
tree | bf3793461503d74441b1736e289437d6621cdfef /src/quick/doc/src/concepts/statesanimations/animations.qdoc | |
parent | eae294de902902d1aae4745926e45acde91a7882 (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
Change-Id: I45e22bdbec354de96b3598773b74d1754eda8a64
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
(cherry picked from commit 2af09901418d5639a2c105369559ab925cd7166b)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/quick/doc/src/concepts/statesanimations/animations.qdoc')
-rw-r--r-- | src/quick/doc/src/concepts/statesanimations/animations.qdoc | 8 |
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 |