| changeset 30 | 5dc02b23752f |
| 29:b72c6db6890b | 30:5dc02b23752f |
|---|---|
1 import Qt 4.7 |
|
2 Rectangle { |
|
3 id: myRectangle |
|
4 width: 100; height: 100 |
|
5 color: "red" |
|
6 states: State { |
|
7 name: "blue" |
|
8 PropertyChanges { target: myRectangle; color: "blue"; objectName: "pc1" } |
|
9 PropertyChanges { target: myRectangle; radius: 5; objectName: "pc2" } |
|
10 } |
|
11 } |