summaryrefslogtreecommitdiffstats
path: root/demos/declarative/photoviewer/PhotoViewerCore/BusyIndicator.qml
diff options
context:
space:
mode:
Diffstat (limited to 'demos/declarative/photoviewer/PhotoViewerCore/BusyIndicator.qml')
-rw-r--r--demos/declarative/photoviewer/PhotoViewerCore/BusyIndicator.qml9
1 files changed, 9 insertions, 0 deletions
diff --git a/demos/declarative/photoviewer/PhotoViewerCore/BusyIndicator.qml b/demos/declarative/photoviewer/PhotoViewerCore/BusyIndicator.qml
new file mode 100644
index 0000000..919ac43
--- /dev/null
+++ b/demos/declarative/photoviewer/PhotoViewerCore/BusyIndicator.qml
@@ -0,0 +1,9 @@
+import Qt 4.6
+
+Image {
+ id: container
+ property bool on: false
+
+ source: "images/busy.png"; visible: container.on
+ NumberAnimation on rotation { running: container.on; from: 0; to: 360; repeat: true; duration: 1200 }
+}