| branch | GCC_SURGE |
| changeset 31 | 5daf16870df6 |
| parent 30 | 5dc02b23752f |
| 27:93b982ccede2 | 31:5daf16870df6 |
|---|---|
1 import Qt 4.7 |
|
2 |
|
3 Rectangle { |
|
4 width: 300; height: 300; |
|
5 Rectangle { |
|
6 objectName: "theRect" |
|
7 color: "red" |
|
8 width: 60; height: 60; |
|
9 x: 100; y: 100; |
|
10 SmoothedAnimation on x { objectName: "easeX"; to: 200; velocity: 500 } |
|
11 SmoothedAnimation on y { objectName: "easeY"; to: 200; duration: 250; velocity: 500 } |
|
12 } |
|
13 } |