summaryrefslogtreecommitdiffstats
path: root/doc/src/declarative
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-05-07 05:58:10 (GMT)
committerBea Lam <bea.lam@nokia.com>2010-05-11 23:46:46 (GMT)
commit6a3bbb128046942b169a3f7e6c0cf14397662d83 (patch)
tree1e497cd5336a983e6b2c375c4debdc2ac3a77e42 /doc/src/declarative
parent355bacaa767f48014478d91e3d79f19f966c9756 (diff)
downloadQt-6a3bbb128046942b169a3f7e6c0cf14397662d83.zip
Qt-6a3bbb128046942b169a3f7e6c0cf14397662d83.tar.gz
Qt-6a3bbb128046942b169a3f7e6c0cf14397662d83.tar.bz2
Clean up
Diffstat (limited to 'doc/src/declarative')
-rw-r--r--doc/src/declarative/qdeclarativeintro.qdoc5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/src/declarative/qdeclarativeintro.qdoc b/doc/src/declarative/qdeclarativeintro.qdoc
index a98c9e1..acf4ec9 100644
--- a/doc/src/declarative/qdeclarativeintro.qdoc
+++ b/doc/src/declarative/qdeclarativeintro.qdoc
@@ -60,10 +60,13 @@ technologies like HTML and CSS, but it's not required.
QML looks like this:
\code
+import Qt 4.7
+
Rectangle {
width: 200
height: 200
- color: "white"
+ color: "blue"
+
Image {
source: "pics/logo.png"
anchors.centerIn: parent