BusyIndicator prototyping
[situare] / src / qmlui / BusyIndicator.qml
1 import Qt 4.7
2
3 Image {
4     id: container
5     property bool on: true
6     smooth: true
7     visible: container.on
8     source: "qrc:/res/busy.png";
9
10     SequentialAnimation on rotation {
11         loops: Animation.Infinite
12         PropertyAction { value: 0 }
13         PauseAnimation { duration: 200 }
14         PropertyAction { value: 45 }
15         PauseAnimation { duration: 200 }
16         PropertyAction { value: 90 }
17         PauseAnimation { duration: 200 }
18         PropertyAction { value: 135 }
19         PauseAnimation { duration: 200 }
20         PropertyAction { value: 180 }
21         PauseAnimation { duration: 200 }
22         PropertyAction { value: 225 }
23         PauseAnimation { duration: 200 }
24         PropertyAction { value: 270 }
25         PauseAnimation { duration: 200 }
26         PropertyAction { value: 315 }
27         PauseAnimation { duration: 200 }
28     }
29 }