equal
deleted
inserted
replaced
|
1 import Qt 4.7 |
|
2 Rectangle { |
|
3 id: myRectangle |
|
4 |
|
5 property color sourceColor: "red" |
|
6 width: 100; height: 100 |
|
7 color: sourceColor |
|
8 states: State { |
|
9 name: "blue" |
|
10 PropertyChanges { target: myRectangle; color: "blue" } |
|
11 } |
|
12 } |