summaryrefslogtreecommitdiffstats
path: root/demos/declarative/rssnews/content/BusyIndicator.qml
diff options
context:
space:
mode:
Diffstat (limited to 'demos/declarative/rssnews/content/BusyIndicator.qml')
-rw-r--r--demos/declarative/rssnews/content/BusyIndicator.qml12
1 files changed, 12 insertions, 0 deletions
diff --git a/demos/declarative/rssnews/content/BusyIndicator.qml b/demos/declarative/rssnews/content/BusyIndicator.qml
new file mode 100644
index 0000000..4be59a8
--- /dev/null
+++ b/demos/declarative/rssnews/content/BusyIndicator.qml
@@ -0,0 +1,12 @@
+import Qt 4.7
+
+Image {
+ id: container
+ property bool on: false
+
+ source: "images/busy.png"; visible: container.on
+
+ NumberAnimation on rotation {
+ running: container.on; from: 0; to: 360; loops: Animation.Infinite; duration: 1200
+ }
+}