| changeset 30 | 5dc02b23752f |
| 29:b72c6db6890b | 30:5dc02b23752f |
|---|---|
1 import Qt 4.7 |
|
2 Rectangle { |
|
3 id: myRectangle |
|
4 property color sourceColor: "blue" |
|
5 width: 100; height: 100 |
|
6 color: "red" |
|
7 states: State { |
|
8 name: "blue" |
|
9 PropertyChanges { |
|
10 objectName: "changes" |
|
11 target: myRectangle; explicit: true |
|
12 color: sourceColor |
|
13 } |
|
14 } |
|
15 } |