summaryrefslogtreecommitdiffstats
path: root/doc/src/declarative/qmlintro.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/qmlintro.qdoc
parent51555ed45f6397fa7cdfae771ee6275733bce615 (diff)
downloadQt-21e87b18698c50bcfe0800509563e71c79aae0bb.zip
Qt-21e87b18698c50bcfe0800509563e71c79aae0bb.tar.gz
Qt-21e87b18698c50bcfe0800509563e71c79aae0bb.tar.bz2
Renaming Rect -> Rectangle
Diffstat (limited to 'doc/src/declarative/qmlintro.qdoc')
-rw-r--r--doc/src/declarative/qmlintro.qdoc10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/src/declarative/qmlintro.qdoc b/doc/src/declarative/qmlintro.qdoc
index 783d077..77aa3e2 100644
--- a/doc/src/declarative/qmlintro.qdoc
+++ b/doc/src/declarative/qmlintro.qdoc
@@ -23,7 +23,7 @@ technologies like HTML and CSS, but not required.
Qml looks like this:
\code
-Rect {
+Rectangle {
width: 200
height: 200
color: "white"
@@ -36,7 +36,7 @@ Rect {
Objects are specified by their type, followed by a pair of braces. Object
types always begin with a capital letter. In the above example, there are
-two objects, a \l Rect, and an \l Image. Between the braces, we can specify
+two objects, a \l Rectangle, and an \l Image. Between the braces, we can specify
information about the object, such as its properties.
Properties are specified as \c {property: value} (much like CSS). In the above
@@ -47,7 +47,7 @@ separated by a colon.
Properties can be specified one-per-line:
\code
-Rect {
+Rectangle {
width: 100
height: 100
}
@@ -56,7 +56,7 @@ Rect {
or you can put multiple properties on a single line:
\code
-Rect { width: 100; height: 100 }
+Rectangle { width: 100; height: 100 }
\endcode
When multiple property/value pairs are specified on a single line, they
@@ -189,7 +189,7 @@ list, you can omit the square brackets:
\code
Image {
- children: Rect {}
+ children: Rectangle {}
}
\endcode