summaryrefslogtreecommitdiffstats
path: root/doc/src/declarative/tutorial1.qdoc
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-08-19 06:34:44 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-08-19 08:15:20 (GMT)
commit21e87b18698c50bcfe0800509563e71c79aae0bb (patch)
tree4567cb8a5bd3127fe98d7ce5a5042550bca48b7b /doc/src/declarative/tutorial1.qdoc
parent51555ed45f6397fa7cdfae771ee6275733bce615 (diff)
downloadQt-21e87b18698c50bcfe0800509563e71c79aae0bb.zip
Qt-21e87b18698c50bcfe0800509563e71c79aae0bb.tar.gz
Qt-21e87b18698c50bcfe0800509563e71c79aae0bb.tar.bz2
Renaming Rect -> Rectangle
Diffstat (limited to 'doc/src/declarative/tutorial1.qdoc')
-rw-r--r--doc/src/declarative/tutorial1.qdoc14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/src/declarative/tutorial1.qdoc b/doc/src/declarative/tutorial1.qdoc
index d38dc54..d4f1095 100644
--- a/doc/src/declarative/tutorial1.qdoc
+++ b/doc/src/declarative/tutorial1.qdoc
@@ -1,4 +1,4 @@
-/*!
+/*!
\page tutorial1.html
\title Tutorial 1 - Hello World!
\target tutorial1
@@ -10,7 +10,7 @@ This first program is a simple "Hello world" example. The picture below is a scr
Here is the QML code for the application:
\code
-Rect {
+Rectangle {
id: Page
width: 480
height: 200
@@ -28,10 +28,10 @@ Rect {
\section1 Walkthrough
-\section2 Rect element
+\section2 Rectangle element
\code
-Rect {
+Rectangle {
id: Page
width: 480
height: 200
@@ -39,9 +39,9 @@ Rect {
}
\endcode
-First, we declare a root element of type \l Rect. It is one of the basic building blocks you can use to create an application in QML.
-We give it an id to be able to refer to it later. In this case, we call it \e Page. We also set the \c width, \c height and \c color properties.
-The \l Rect element contains many other properties (such as \c x and \c y), but these are left at their default values.
+First, we declare a root element of type \l Rectangle. It is one of the basic building blocks you can use to create an application in QML.
+We give it an id to be able to refer to it later. In this case, we call it \e Page. We also set the \c width, \c height and \c color properties.
+The \l Rectangle element contains many other properties (such as \c x and \c y), but these are left at their default values.
\section2 Text element