summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/declarative/qtbinding/contextproperties/main.qml
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-04-28 03:56:45 (GMT)
committerBea Lam <bea.lam@nokia.com>2010-04-28 03:56:45 (GMT)
commitbfe1ed3d92cc68e9ceeaa38803b77ed17cf93263 (patch)
tree636870c6a9b132590c1d083afec6720074b83d37 /doc/src/snippets/declarative/qtbinding/contextproperties/main.qml
parent7a89d94c208347635fa0ad5c4da9bca4a9398f5c (diff)
downloadQt-bfe1ed3d92cc68e9ceeaa38803b77ed17cf93263.zip
Qt-bfe1ed3d92cc68e9ceeaa38803b77ed17cf93263.tar.gz
Qt-bfe1ed3d92cc68e9ceeaa38803b77ed17cf93263.tar.bz2
Move snippets to correct location
Diffstat (limited to 'doc/src/snippets/declarative/qtbinding/contextproperties/main.qml')
-rw-r--r--doc/src/snippets/declarative/qtbinding/contextproperties/main.qml15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/src/snippets/declarative/qtbinding/contextproperties/main.qml b/doc/src/snippets/declarative/qtbinding/contextproperties/main.qml
new file mode 100644
index 0000000..1053f73
--- /dev/null
+++ b/doc/src/snippets/declarative/qtbinding/contextproperties/main.qml
@@ -0,0 +1,15 @@
+//![0]
+import Qt 4.7
+
+Rectangle {
+ width: 300
+ height: 300
+
+ color: backgroundColor
+
+ Text {
+ anchors.centerIn: parent
+ text: "Hello Yellow World!"
+ }
+}
+//![0]