12345678910111213141516171819 |
- import Qt 4.7
- Image {
- width: 80
- height: 80
- source: "x.png"
- property int index: -1
- x: Math.random(-100);
- y: Math.random(-100);
- opacity: 0
- Behavior on x { PropertyAnimation { duration: 500; easing.type: Easing.InOutQuad } }
- Behavior on y { PropertyAnimation { duration: 500; easing.type: Easing.InOutQuad } }
- Behavior on opacity { PropertyAnimation { duration: 500; } }
- //Behavior on width { PropertyAnimation { duration: 500; } }
- //Behavior on height { PropertyAnimation { duration: 500; } }
- }
|