OSDN Git Service

Doc: use Qt Quick Application template in the tutorial
authorLeena Miettinen <riitta-leena.miettinen@nokia.com>
Wed, 24 Aug 2011 10:48:45 +0000 (12:48 +0200)
committerLeena Miettinen <riitta-leena.miettinen@nokia.com>
Wed, 24 Aug 2011 12:02:10 +0000 (14:02 +0200)
Task-number: https://bugreports.qt.nokia.com/browse/QTCREATORBUG-5707
Change-Id: I3b6ae9dec8d65bfbf2eeeadf21da6f4a363c0a4c
Reviewed-on: http://codereview.qt.nokia.com/3489
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
doc/images/qmldesigner-tutorial-desing-mode.png
doc/images/qmldesigner-tutorial-page.png
doc/images/qmldesigner-tutorial-project.png
doc/images/qmldesigner-tutorial-quick-toolbar.png
doc/images/qmldesigner-tutorial-state1.png
doc/images/qmldesigner-tutorial-topleftrect.png
doc/images/qmldesigner-tutorial-user-icon.png
doc/qtcreator.qdoc

index 068f63b..87c0f97 100644 (file)
Binary files a/doc/images/qmldesigner-tutorial-desing-mode.png and b/doc/images/qmldesigner-tutorial-desing-mode.png differ
index 0613bf4..e2c8ed1 100644 (file)
Binary files a/doc/images/qmldesigner-tutorial-page.png and b/doc/images/qmldesigner-tutorial-page.png differ
index d1f945f..0162b66 100644 (file)
Binary files a/doc/images/qmldesigner-tutorial-project.png and b/doc/images/qmldesigner-tutorial-project.png differ
index b63f4a6..29f9fae 100644 (file)
Binary files a/doc/images/qmldesigner-tutorial-quick-toolbar.png and b/doc/images/qmldesigner-tutorial-quick-toolbar.png differ
index 6ece720..4ee85b3 100644 (file)
Binary files a/doc/images/qmldesigner-tutorial-state1.png and b/doc/images/qmldesigner-tutorial-state1.png differ
index 0cb48d7..81298d3 100644 (file)
Binary files a/doc/images/qmldesigner-tutorial-topleftrect.png and b/doc/images/qmldesigner-tutorial-topleftrect.png differ
index 6d75708..d45deae 100644 (file)
Binary files a/doc/images/qmldesigner-tutorial-user-icon.png and b/doc/images/qmldesigner-tutorial-user-icon.png differ
index ee3d10c..73c29cc 100644 (file)
 
     \image qmldesigner-tutorial.png "States and transitions example"
 
+    For more information about using \QMLD, see
+    \l{Developing Qt Quick Applications}.
+
     \section1 Creating the Project
 
     \list 1
 
-        \o Select \gui{File > New File or Project > Qt Quick Project > Qt Quick UI >
-        Choose}.
+        \o Select \gui{File > New File or Project > Qt Quick Project > Qt Quick
+        Application > Choose}.
 
         \o Follow the instructions of the wizard to create a project called Transitions.
 
-        \o Press \key {Ctrl+R} to run the application in the QML Viewer.
+        \o Press \key {Ctrl+R} to run the application.
 
     \endlist
 
 
     \list 1
 
-        \o In the \gui Projects view, double-click the main .qml file (Transitions.qml)
+        \o In the \gui Projects view, double-click the main.qml file
         to open it in the code editor.
 
         \o Click \gui Design to open the file in \QMLD.
             \o In the \gui Id field, enter \e page, to be able to reference the rectangle
             from other places.
 
-            \o In the \gui Colors tab, \gui Rectangle field, set the color to #343434.
+            \o In the \gui Colors group, \gui Rectangle field, set the color to #343434.
 
         \endlist
 
             \o In the \gui Size field, set \gui W and \gui H to 64, for the rectangle size
             to match the image size.
 
-            \o In the \gui Colors tab, \gui Rectangle field, click the
+            \o In the \gui Colors group, \gui Rectangle field, click the
             \inlineimage qmldesigner-transparent-button.png
             button to make the rectangle transparent.
 
             \o In the \gui Border field, set the border color to #808080.
 
-            \o In the \gui Rectangle tab, \gui Border field, set the border width to
+            \o In the \gui Rectangle group, \gui Border field, set the border width to
             1.
 
             \note If the \gui Border field does not appear after you set the border
 
     \o Press \key {Ctrl+S} to save the changes.
 
-    \o Press \key {Ctrl+R} to run the application in the QML Viewer.
+    \o Press \key {Ctrl+R} to run the application.
 
     \endlist
 
         \note When you set the expressions, drag and drop is disabled for
         the icon in \QMLD.
 
-    \o Press \key {Ctrl+R} to run the application in the QML Viewer.
+    \o Press \key {Ctrl+R} to run the application.
 
     \endlist
 
 
         \snippet snippets/qml/list-of-transitions.qml default transition
 
-        \o Press \key {Ctrl+R} to run the application in the QML Viewer.
+        \o Press \key {Ctrl+R} to run the application.
 
     \endlist
 
     Click the rectangles to view the animated transitions.
 
-    \section1 Deploying the Application to Mobile Devices
-
-    To deploy the application to mobile devices, use the \gui {Qt Quick Application} wizard
-    to convert it into a Qt Quick application. For more information, see
-    \l{Importing QML Applications}.
-
 */