diff options
Diffstat (limited to 'doc/src/snippets/declarative/qtbinding/contextproperties/main.qml')
-rw-r--r-- | doc/src/snippets/declarative/qtbinding/contextproperties/main.qml | 15 |
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] |