summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/declarative/qtbinding/contextproperties/main.qml
blob: 1053f7337df0c783ff951984529efa438a99f927 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//![0]
import Qt 4.7

Rectangle {
    width: 300
    height: 300

    color: backgroundColor

    Text {
        anchors.centerIn: parent
        text: "Hello Yellow World!"
    }
}
//![0]