Skip to content
Snippets Groups Projects
Commit c1189541 authored by Leena Miettinen's avatar Leena Miettinen
Browse files

Doc: fixed issues in the Qt Quick app tutorial


Added missing spaces, fixed a link to Qt 5 docs, and added a
missing line of example code.

Change-Id: Ic7305aa6b44b7b9edf33a6828d965ab84289e353
Reviewed-by: default avatarLeena Miettinen <riitta-leena.miettinen@digia.com>
parent 3bf48507
No related branches found
No related tags found
No related merge requests found
...@@ -105,6 +105,7 @@ Rectangle { ...@@ -105,6 +105,7 @@ Rectangle {
Transition { Transition {
from: "*"; to: "State1" from: "*"; to: "State1"
NumberAnimation { NumberAnimation {
easing.type: Easing.OutBounce
properties: "x,y"; properties: "x,y";
duration: 1000 duration: 1000
} }
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
\l {http://qt-project.org/doc/qt-5.0/qtquick/qtquick-index.html}{Qt Quick}. \l {http://qt-project.org/doc/qt-5.0/qtquick/qtquick-index.html}{Qt Quick}.
This tutorial describes how to use \QC to implement Qt states and transitions. We use This tutorial describes how to use \QC to implement Qt states and transitions. We use
\l{http://qt-project.org/doc/qt-5.0/qtquick/quick-animation.html}{Qt example code} to \l{http://qt-project.org/doc/qt-5.0/qtquick/animation.html}{Qt example code} to
create an application that displays a Qt logo that moves between three rectangles on the create an application that displays a Qt logo that moves between three rectangles on the
page when you click them. page when you click them.
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
\li Review the project settings, and click \gui{Finish} (on Windows and \li Review the project settings, and click \gui{Finish} (on Windows and
Linux) or \gui Done (on Mac OS) to create the project. Linux) or \gui Done (on Mac OS) to create the project.
\li Press \key {Ctrl+R} (or \key {Cmd+R})to run the application. \li Press \key {Ctrl+R} (or \key {Cmd+R}) to run the application.
\endlist \endlist
...@@ -224,7 +224,7 @@ ...@@ -224,7 +224,7 @@
\li In the \gui Margin field, select 10 for the right anchor and 0 \li In the \gui Margin field, select 10 for the right anchor and 0
for the vertical center anchor. for the vertical center anchor.
\li In the code editor,add a pointer to a clicked expression to the \li In the code editor, add a pointer to a clicked expression to the
mouse area. The following expression sets the state to mouse area. The following expression sets the state to
\e State1: \e State1:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment