summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/declarative/qml-intro/hello-world1.qml
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2010-08-17 13:31:48 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2010-08-17 13:31:48 (GMT)
commit86c3fed122b8a6e47904d958f8c50fa19e668434 (patch)
tree17d83fa3578a071a5fec723ad1455f421b2638d2 /doc/src/snippets/declarative/qml-intro/hello-world1.qml
parent12ebf6c45428e303e0f238d59f144f3b4816ec3b (diff)
downloadQt-86c3fed122b8a6e47904d958f8c50fa19e668434.zip
Qt-86c3fed122b8a6e47904d958f8c50fa19e668434.tar.gz
Qt-86c3fed122b8a6e47904d958f8c50fa19e668434.tar.bz2
Doc: Started work to tidy up existing QML docs.
Reviewed-by: Trust Me
Diffstat (limited to 'doc/src/snippets/declarative/qml-intro/hello-world1.qml')
-rw-r--r--doc/src/snippets/declarative/qml-intro/hello-world1.qml11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/src/snippets/declarative/qml-intro/hello-world1.qml b/doc/src/snippets/declarative/qml-intro/hello-world1.qml
new file mode 100644
index 0000000..244175c
--- /dev/null
+++ b/doc/src/snippets/declarative/qml-intro/hello-world1.qml
@@ -0,0 +1,11 @@
+import Qt 4.7
+
+Rectangle {
+ id: myRectangle
+ width: 500
+ height: 400
+
+ Text { text: "Hello World!" }
+
+ color: "lightgray"
+}