summaryrefslogtreecommitdiffstats
path: root/weather-qml/Fog.qml
diff options
context:
space:
mode:
authorAnselmo Lacerda S. de Melo <anselmo.melo@openbossa.org>2011-03-03 17:07:25 -0300
committerAnselmo Lacerda S. de Melo <anselmo.melo@openbossa.org>2011-03-03 19:21:03 -0300
commit8943d0694a0375b23756cd47c32d70eacd8298e5 (patch)
tree0f8f9a3328119a585da8523d20bb5b728d23a511 /weather-qml/Fog.qml
parentab34f40cfcb3a737ff4272ed63b0924a391ef64b (diff)
weather-qml
Signed-off-by: Anselmo Lacerda S. de Melo <anselmo.melo@openbossa.org>
Diffstat (limited to 'weather-qml/Fog.qml')
-rw-r--r--weather-qml/Fog.qml67
1 files changed, 0 insertions, 67 deletions
diff --git a/weather-qml/Fog.qml b/weather-qml/Fog.qml
deleted file mode 100644
index 3def8af..0000000
--- a/weather-qml/Fog.qml
+++ /dev/null
@@ -1,67 +0,0 @@
-import Qt 4.6
-
-ForecastView {
- id: root
- isClear: false
-
- SmallCloud {
- id: cloud2
- x: scaledX(308)
- y: scaledY(-800)
- finalY: scaledY(-468);
- type: "cloud_rain"
- }
-
- HungItem {
- id: sun
- x: isDay ? scaledX(198) : scaledX(220)
- y: scaledY(-800)
- itemX: 0
- itemY: isDay ? 176 : 180
- height: isDay ? 460 : 440
- finalY: isDay ? scaledY(-255) : scaledY(-205)
- itemImage: isDay ? "images/cold_sun.png" : "images/moon.png"
- lineImage: isDay ? "images/cold_sun_line.png" : "images/moon_line.png"
- }
-
- MediumCloud {
- id: cloud1
- x: scaledX(3)
- y: scaledY(-800)
- finalY: scaledY(-296)
- type: "cloud_rain"
- }
-
- Image {
- id: fog
- x: scaledX(-30)
- source: "images/fog.png"
- }
-
- states : State {
- name: "final"
- PropertyChanges { target: sun; y: sun.finalY; }
- PropertyChanges { target: cloud1; y: cloud1.finalY; }
- PropertyChanges { target: cloud2; y: cloud2.finalY; }
- }
-
- transitions: Transition {
- SequentialAnimation {
- ParallelAnimation {
- NumberAnimation { target: cloud1; properties: "y";
- easing.type: "OutBack"; duration: 500 }
-
- SequentialAnimation {
- PauseAnimation { duration: 200 }
- NumberAnimation { target: cloud2; properties: "y";
- easing.type: "OutBack"; duration: 500 }
- }
- }
-
- NumberAnimation { target: sun; properties: "y";
- easing.type: "OutBack"; duration: 500 }
- }
- }
-
- onPresent: { root.state = "final"; }
-}