summaryrefslogtreecommitdiffstats
path: root/weather-qml/Sunny.qml
diff options
context:
space:
mode:
Diffstat (limited to 'weather-qml/Sunny.qml')
-rw-r--r--weather-qml/Sunny.qml31
1 files changed, 0 insertions, 31 deletions
diff --git a/weather-qml/Sunny.qml b/weather-qml/Sunny.qml
deleted file mode 100644
index 046ba6d..0000000
--- a/weather-qml/Sunny.qml
+++ /dev/null
@@ -1,31 +0,0 @@
-import Qt 4.6
-
-ForecastView {
- id: root
-
- HungItem {
- id: sun
- x: isDay ? scaledX(120) : scaledX(220)
- y: scaledY(-800)
- itemX: 0
- itemY: isDay ? 200 : 180
- height: isDay ? 500 : 440
- finalY: isDay ? scaledY(-198) : scaledY(-205)
- itemImage: isDay ? "images/sun.png" : "images/moon.png"
- lineImage: isDay ? "images/sun_line.png" : "images/moon_line.png"
- }
-
- states : State {
- name: "final"
- PropertyChanges { target: sun; y: sun.finalY; }
- }
-
- transitions : Transition {
- SequentialAnimation {
- NumberAnimation { target: sun; properties: "y";
- easing.type: "OutBack"; duration: 500 }
- }
- }
-
- onPresent: root.state = "final"
-}