5
width: 320; height: 240
7
property bool changeColor: false
9
Text { id: s1; text: "Hello" }
10
Rectangle { id: r1; width: 1; height: 1; color: "yellow" }
11
Rectangle { id: r2; width: 1; height: 1; color: "red" }
13
Binding { target: screen; property: "text"; value: s1.text }
14
Binding { target: screen; property: "color"; value: r1.color }
15
Binding { target: screen; property: "color"; value: r2.color; when: screen.changeColor == true }