diff options
Diffstat (limited to 'doc/src/snippets/declarative/qml-intro/hello-world1.qml')
-rw-r--r-- | doc/src/snippets/declarative/qml-intro/hello-world1.qml | 11 |
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" +} |