summaryrefslogtreecommitdiffstats
path: root/weather-qml/Throbber.qml
diff options
context:
space:
mode:
Diffstat (limited to 'weather-qml/Throbber.qml')
-rw-r--r--weather-qml/Throbber.qml14
1 files changed, 14 insertions, 0 deletions
diff --git a/weather-qml/Throbber.qml b/weather-qml/Throbber.qml
new file mode 100644
index 0000000..8174c1d
--- /dev/null
+++ b/weather-qml/Throbber.qml
@@ -0,0 +1,14 @@
+import Qt 4.6
+
+Image {
+ id: throbber
+ property int frame : 1;
+
+ source: "images/loading_" + throbber.frame + ".png"
+
+ frame: NumberAnimation {
+ repeat: true
+ duration: 700
+ from: 1; to: 25;
+ }
+}