diff options
Diffstat (limited to 'weather-qml/content')
231 files changed, 2785 insertions, 0 deletions
diff --git a/weather-qml/content/CityModel.qml b/weather-qml/content/CityModel.qml new file mode 100755 index 0000000..33a06c4 --- /dev/null +++ b/weather-qml/content/CityModel.qml @@ -0,0 +1,224 @@ +/**************************************************************************** +** +** This file is part of Weather +** +** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).* +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions +** are met: +** +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in the +** documentation and/or other materials provided with the distribution. +** +** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor +** the names of its contributors may be used to endorse or promote +** products derived from this software without specific prior written +** permission. +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +** FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +** COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +** INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +** BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +** CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +** LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +** ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +** POSSIBILITY OF SUCH DAMAGE." +** +****************************************************************************/ + +import Qt 4.7 + +ListModel { + ListElement { + cityId: "Mostly Cloudy" + cityName: "Mostly Cloudy" + lower: 18 + upper: 31 + current: 22 + isNight: false + weather: "MostlyCloudy" + } + + ListElement { + cityId: "Mostly Cloudy 2" + cityName: "Mostly Cloudy 2" + lower: 18 + upper: 31 + current: 22 + isNight: true + weather: "MostlyCloudy" + } + + ListElement { + cityId: "Storm" + cityName: "Storm" + lower: 2 + upper: 21 + current: 8 + isNight: false + weather: "Storm" + } + + ListElement { + cityId: "Storm 2" + cityName: "Storm 2" + lower: 2 + upper: 21 + current: 8 + isNight: true + weather: "Storm" + } + + ListElement { + cityId: "Thunderstorm" + cityName: "Thunderstorm" + lower: 10 + upper: 13 + current: 7 + isNight: false + weather: "Thunderstorm" + } + + ListElement { + cityId: "Thunderstorm 2" + cityName: "Thunderstorm 2" + lower: 10 + upper: 13 + current: 7 + isNight: true + weather: "Thunderstorm" + } + + ListElement { + cityId: "Rain" + cityName: "Rain" + lower: 11 + upper: 25 + current: 12 + isNight: false + weather: "Rain" + } + + ListElement { + cityId: "Rain 2" + cityName: "Rain 2" + lower: 11 + upper: 25 + current: 12 + isNight: true + weather: "Rain" + } + + ListElement { + cityId: "Mist" + cityName: "Mist" + lower: 21 + upper: 25 + current: 22 + isNight: false + weather: "Mist" + } + + ListElement { + cityId: "Mist 2" + cityName: "Mist 2" + lower: 21 + upper: 25 + current: 22 + isNight: true + weather: "Mist" + } + + ListElement { + cityId: "Haze" + cityName: "Haze" + lower: 1 + upper: 9 + current: 11 + isNight: false + weather: "Haze" + } + + ListElement { + cityId: "Haze 2" + cityName: "Haze 2" + lower: 1 + upper: 9 + current: 11 + isNight: true + weather: "Haze" + } + + ListElement { + cityId: "Fog" + cityName: "Fog" + lower: 28 + upper: 35 + current: 30 + isNight: false + weather: "Fog" + } + + ListElement { + cityId: "Fog 2" + cityName: "Fog 2" + lower: 28 + upper: 35 + current: 30 + isNight: true + weather: "Fog" + } + + ListElement { + cityId: "Cloudy" + cityName: "Cloudy" + lower: 25 + upper: 28 + current: 27 + isNight: false + weather: "Cloudy" + } + + ListElement { + cityId: "Cloudy 2" + cityName: "Cloudy 2" + lower: 25 + upper: 28 + current: 27 + isNight: true + weather: "Cloudy" + } + + ListElement { + cityId: "Mostly Sunny" + cityName: "Mostly Sunny" + lower: 33 + upper: 39 + current: 36 + isNight: false + weather: "MostlySunny" + } + + ListElement { + cityId: "Mostly Sunny 2" + cityName: "Mostly Sunny 2" + lower: 33 + upper: 39 + current: 36 + isNight: true + weather: "MostlySunny" + } +} diff --git a/weather-qml/content/CityPanel.qml b/weather-qml/content/CityPanel.qml new file mode 100755 index 0000000..4b660e2 --- /dev/null +++ b/weather-qml/content/CityPanel.qml @@ -0,0 +1,193 @@ +/**************************************************************************** +** +** This file is part of Weather +** +** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).* +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions +** are met: +** +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in the +** documentation and/or other materials provided with the distribution. +** +** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor +** the names of its contributors may be used to endorse or promote +** products derived from this software without specific prior written +** permission. +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +** FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +** COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +** INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +** BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +** CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +** LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +** ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +** POSSIBILITY OF SUCH DAMAGE." +** +****************************************************************************/ + +import Qt 4.7 + +Item { + id: root + width: window.width + + property string currentMessage; + + signal gotoCity(string cityId); + + MouseArea { + id: overlay + anchors.fill: parent + visible: false + onClicked: root.state = "" + } + + Image { + id: backPanel + opacity: 0.0 + y: frontPanel.y + source: folder + "city_panel_bg.png" + } + + Rectangle { + id: cityRect + x: 0 + y: 36 + width: 360 + color: "#071217" + opacity: 0.0 + anchors.topMargin: -1 + anchors.top: backPanel.bottom + anchors.left: parent.left + anchors.right: parent.right + + height: (100 * Math.min(cityModel.count, 5) + 23) * scaleFactorY + + Component { + id: cityDelegate + Item { + id: cityItem + width: background.width + height: background.height + + ListView.onRemove: SequentialAnimation { + PropertyAction { target: cityItem; property: "ListView.delayRemove"; value: true } + NumberAnimation { target: cityItem; property: "opacity"; to: 0 } + NumberAnimation { target: cityItem; property: "height"; to: 0; duration: 9000; } + PropertyAction { target: cityItem; property: "ListView.delayRemove"; value: false } + } + + ListView.onAdd: SequentialAnimation { + PropertyAction { target: cityItem; property: "opacity"; value: 0 } + NumberAnimation { target: cityItem; property: "height"; from: 0; to: background.height; duration: 9000;} + NumberAnimation { target: cityItem; property: "opacity"; from: 0; to: 1 } + } + + Image { + id: background; + source: folder + "list_item_bg.png" + MouseArea { + anchors.fill: parent + onClicked: { root.gotoCity(cityId); } + } + } + + Text { + text: cityName + color: "white" + font.family: "Nokia Sans" + font.pixelSize: 38 + anchors.fill: parent + anchors.leftMargin: 30 + anchors.rightMargin: 30 + verticalAlignment: "AlignVCenter" + } + } + } + + ListView { + id: cityListView; + clip: true; + model: cityModel + opacity: 0.0 + delegate: cityDelegate + anchors.fill: cityRect + anchors.topMargin: -17 + anchors.bottomMargin: 50 * scaleFactorY + + ScrollBar { + id: scroll + pageSize: cityListView.height / cityListView.contentHeight + position: cityListView.contentY / cityListView.contentHeight + anchors.top: cityListView.top + anchors.bottom: cityListView.bottom + anchors.right: cityListView.right + anchors.rightMargin: 10 + anchors.bottomMargin: 15 + width: 8 + } + } + } + + Image { + id: frontPanel + source: folder + "city_name_background_bigger.png" + anchors.bottom: root.bottom + MouseArea { + anchors.fill: frontPanel + onClicked: { root.state = "final"; } + } + } + + states : State { + name: "final" + PropertyChanges { target: frontPanel; opacity: 0.0; visible: false; } + PropertyChanges { target: backPanel; opacity: 1.0; } + PropertyChanges { target: cityRect; opacity: 1.0; } + PropertyChanges { target: backPanel; y: root.height - cityRect.height; } + PropertyChanges { target: overlay; visible: true; } + PropertyChanges { target: cityListView; opacity: 1.0; } + } + + transitions: [Transition { + from: ""; to: "final" + SequentialAnimation { + ParallelAnimation { + NumberAnimation { target: backPanel; properties: "opacity"; duration: 300 } + NumberAnimation { target: cityRect; properties: "opacity"; duration: 300 } + } + NumberAnimation { target: frontPanel; properties: "opacity"; duration: 300 } + NumberAnimation { target: frontPanel; properties: "visible"; duration: 0 } + NumberAnimation { target: backPanel; properties: "y"; duration: 250 } + NumberAnimation { target: cityListView; properties: "opacity"; duration: 200 } + } + }, + + Transition { + from: "final"; to: "" + SequentialAnimation { + NumberAnimation { target: cityListView; properties: "opacity"; duration: 200 } + NumberAnimation { target: backPanel; properties: "y"; duration: 250 } + NumberAnimation { target: frontPanel; properties: "opacity"; duration: 300 } + NumberAnimation { target: frontPanel; properties: "visible"; duration: 0 } + ParallelAnimation { + NumberAnimation { target: backPanel; properties: "opacity"; duration: 300 } + NumberAnimation { target: cityRect; properties: "opacity"; duration: 300 } + } + } + }] +} diff --git a/weather-qml/content/ForecastView.qml b/weather-qml/content/ForecastView.qml new file mode 100755 index 0000000..20077be --- /dev/null +++ b/weather-qml/content/ForecastView.qml @@ -0,0 +1,103 @@ +/**************************************************************************** +** +** This file is part of Weather +** +** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).* +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions +** are met: +** +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in the +** documentation and/or other materials provided with the distribution. +** +** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor +** the names of its contributors may be used to endorse or promote +** products derived from this software without specific prior written +** permission. +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +** FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +** COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +** INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +** BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +** CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +** LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +** ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +** POSSIBILITY OF SUCH DAMAGE." +** +****************************************************************************/ + +import Qt 4.7 +import "forecasts/elements" + +Item { + id: root + anchors.fill: parent + + signal present(); + + property bool isDay : true; + property bool isClear : true; + property string cityName; + property int lowTemperature; + property int highTemperature; + property int currentTemperature; + + function scaledX(x) { + return x * window.scaleFactorX; + } + + function scaledY(y) { + return y * window.scaleFactorY + yOffset; + } + + Image { + id: bg + x: root.width / 2 - bg.width / 2 + source: root.isDay ? (root.isClear ? folder + "bg_day_clear.png" : folder + "bg_day_rain.png") + : (root.isClear ? folder + "bg_night_clear.png" : folder + "bg_night_rain.png"); + } + + ForecastLabel { + id: display1 + z: 99 + width: scaledX(320) + height: 180 + anchors.left: parent.left + anchors.leftMargin: (128 * window.scaleFactorX) - xOffset + anchors.bottomMargin: 106 + anchors.bottom: parent.bottom + currentTemperature: root.currentTemperature + lowTemperature: root.lowTemperature + highTemperature: root.highTemperature + } + + Text { + id: cityLabel + z: 99 + text: root.cityName + font.family: "Nokia Sans" + font.pixelSize: scaledX(50) + color: "#ffffff" + horizontalAlignment: "AlignHCenter" + anchors.left: parent.left + anchors.right: parent.right + anchors.leftMargin: scaledX(50) + anchors.bottomMargin: textOffset + anchors.bottom: parent.bottom + } + + Connections { target: parent; onPresent: present(); } +} diff --git a/weather-qml/content/ScrollBar.qml b/weather-qml/content/ScrollBar.qml new file mode 100755 index 0000000..34a1bfb --- /dev/null +++ b/weather-qml/content/ScrollBar.qml @@ -0,0 +1,68 @@ +/**************************************************************************** +** +** This file is part of Weather +** +** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).* +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions +** are met: +** +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in the +** documentation and/or other materials provided with the distribution. +** +** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor +** the names of its contributors may be used to endorse or promote +** products derived from this software without specific prior written +** permission. +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +** FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +** COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +** INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +** BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +** CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +** LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +** ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +** POSSIBILITY OF SUCH DAMAGE." +** +****************************************************************************/ + +import Qt 4.7 + +Item { + id: scrollBar + + property real position + property real pageSize + + Rectangle { + id: background + anchors.fill: parent + opacity: 0.3 + color: "white" + radius: (width / 2 - 1) + } + + Rectangle { + opacity: 0.7 + color: "black" + radius: (width / 2 - 1) + x: 1 + y: Math.min(Math.max(0.0, scrollBar.position), + Math.max(0.0, 1.0 - scrollBar.pageSize)) * (scrollBar.height - 2) + 1 + width: parent.width - 2 + height: Math.min(1.0, scrollBar.pageSize) * (scrollBar.height - 2) + } +} diff --git a/weather-qml/content/SplashScreen.qml b/weather-qml/content/SplashScreen.qml new file mode 100755 index 0000000..48aa20b --- /dev/null +++ b/weather-qml/content/SplashScreen.qml @@ -0,0 +1,94 @@ +/**************************************************************************** +** +** This file is part of Weather +** +** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).* +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions +** are met: +** +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in the +** documentation and/or other materials provided with the distribution. +** +** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor +** the names of its contributors may be used to endorse or promote +** products derived from this software without specific prior written +** permission. +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +** FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +** COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +** INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +** BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +** CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +** LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +** ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +** POSSIBILITY OF SUCH DAMAGE." +** +****************************************************************************/ + +import Qt 4.7 + +Item { + id: splash + + Image { + id: bg + source: folder + "bg_loading.png" + anchors.fill: parent + } + + Image { + id: bottomMenu + source: folder + "city_name_background_bigger.png" + anchors.bottom: bottomBar.top + anchors.horizontalCenter: parent.horizontalCenter + } + + Throbber { + id: "progress" + anchors.topMargin: 10 + anchors.top: infoLabel.bottom + anchors.horizontalCenter: parent.horizontalCenter + } + + Text { + id: infoLabel + text: "Loading" + color: "white" + font.family: "Nokia Sans" + font.pixelSize: 22 + anchors.top: parent.top + anchors.topMargin: parent.height * 0.3 + anchors.horizontalCenter: parent.horizontalCenter + verticalAlignment: "AlignVCenter" + horizontalAlignment: "AlignHCenter" + } + + Image { + id: umbrella + source: folder + "umbrella.png" + anchors.bottom: bottomBar.top + anchors.bottomMargin: 20 + anchors.horizontalCenter: parent.horizontalCenter + } + + Image { + id: bottomBar + source: folder + "bg_bottom_options.png" + anchors.bottom: parent.bottom + anchors.horizontalCenter: parent.horizontalCenter + } +} diff --git a/weather-qml/content/Throbber.qml b/weather-qml/content/Throbber.qml new file mode 100755 index 0000000..a3efbc1 --- /dev/null +++ b/weather-qml/content/Throbber.qml @@ -0,0 +1,52 @@ +/**************************************************************************** +** +** This file is part of Weather +** +** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).* +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions +** are met: +** +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in the +** documentation and/or other materials provided with the distribution. +** +** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor +** the names of its contributors may be used to endorse or promote +** products derived from this software without specific prior written +** permission. +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +** FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +** COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +** INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +** BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +** CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +** LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +** ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +** POSSIBILITY OF SUCH DAMAGE." +** +****************************************************************************/ + +import Qt 4.7 + +Image { + id: throbber + + source: folder + "loading_1.png" + + NumberAnimation on rotation { + running: true; from: 0; to: 360; loops: Animation.Infinite; duration: 1200 + } +} diff --git a/weather-qml/content/WeatherView.qml b/weather-qml/content/WeatherView.qml new file mode 100755 index 0000000..e7650f9 --- /dev/null +++ b/weather-qml/content/WeatherView.qml @@ -0,0 +1,101 @@ +/**************************************************************************** +** +** This file is part of Weather +** +** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).* +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions +** are met: +** +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in the +** documentation and/or other materials provided with the distribution. +** +** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor +** the names of its contributors may be used to endorse or promote +** products derived from this software without specific prior written +** permission. +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +** FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +** COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +** INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +** BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +** CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +** LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +** ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +** POSSIBILITY OF SUCH DAMAGE." +** +****************************************************************************/ + +import Qt 4.7 + +Item { + id: root + + Component { + id: cityDelegate + + Item { + id: itemInner + width: 572 * scaleFactorX + height: parent.height + + signal present(); + + Component.onCompleted: { + var component = Qt.createComponent("forecasts/" + model.weather + ".qml"); + var element = component.createObject(itemInner); + + if (element != undefined) { + element.cityName = model.cityName; + element.isDay = !model.isNight; + element.lowTemperature = model.lower; + element.highTemperature = model.upper; + element.currentTemperature = model.current; + } + } + } + } + + ListView { + id: list + property bool moving: false + + anchors.fill: parent + orientation: "Horizontal" + //currentIndex: window.currentIndex + + onCurrentIndexChanged: { + if (!moving && list.currentItem) + list.currentItem.present(); + } + + onMovementStarted: { + moving = true; + } + + onMovementEnded: { + moving = false; + list.currentItem.present(); + } + + model: cityModel + //cacheBuffer: 1000 + delegate: cityDelegate + + snapMode: ListView.SnapOneItem + highlightRangeMode: "StrictlyEnforceRange" + } +} diff --git a/weather-qml/content/forecasts/Cloudy.qml b/weather-qml/content/forecasts/Cloudy.qml new file mode 100755 index 0000000..cbf3691 --- /dev/null +++ b/weather-qml/content/forecasts/Cloudy.qml @@ -0,0 +1,144 @@ +/**************************************************************************** +** +** This file is part of Weather +** +** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).* +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions +** are met: +** +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in the +** documentation and/or other materials provided with the distribution. +** +** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor +** the names of its contributors may be used to endorse or promote +** products derived from this software without specific prior written +** permission. +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +** FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +** COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +** INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +** BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +** CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +** LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +** ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +** POSSIBILITY OF SUCH DAMAGE." +** +****************************************************************************/ + +import Qt 4.7 +import "elements" +import "../" + +ForecastView { + id: root + isClear: false + + SmallCloud { + id: cloud5 + x: scaledX(-22) + y: scaledY(-800) + finalY: scaledY(-477); + type: isDay ? "cloud" : "cloud_rain" + } + + SmallCloud { + id: cloud4 + x: scaledX(317) + y: scaledY(-800) + finalY: scaledY(-480); + type: isDay ? "cloud" : "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 ? folder + "cold_sun.png" : folder + "moon.png" + lineImage: isDay ? folder + "cold_sun_line.png" : folder + "moon_line.png" + } + + MediumCloud { + id: cloud3 + x: scaledX(215) + y: scaledY(-800) + finalY: scaledY(-340) + type: isDay ? "cloud" : "cloud_rain" + } + + LargeCloud { + id: cloud2 + x: scaledX(-1) + y: scaledY(-800) + finalY: scaledY(-333) + type: isDay ? "cloud" : "cloud_rain" + } + + LargeCloud { + id: cloud1 + x: scaledX(318) + y: scaledY(-800) + finalY: scaledY(-331) + type: isDay ? "cloud" : "cloud_rain" + } + + states : State { + name: "final" + PropertyChanges { target: sun; y: sun.finalY; } + PropertyChanges { target: cloud1; y: cloud1.finalY; } + PropertyChanges { target: cloud2; y: cloud2.finalY; } + PropertyChanges { target: cloud3; y: cloud3.finalY; } + PropertyChanges { target: cloud4; y: cloud4.finalY; } + PropertyChanges { target: cloud5; y: cloud5.finalY; } + } + + transitions: Transition { + SequentialAnimation { + ParallelAnimation { + NumberAnimation { target: cloud1; properties: "y"; + easing.type: "OutBack"; duration: 500 } + SequentialAnimation { + PauseAnimation { duration: 200 } + NumberAnimation { target: cloud3; properties: "y"; + easing.type: "OutBack"; duration: 500 } + } + SequentialAnimation { + PauseAnimation { duration: 400 } + NumberAnimation { target: cloud2; properties: "y"; + easing.type: "OutBack"; duration: 500 } + } + SequentialAnimation { + PauseAnimation { duration: 600 } + NumberAnimation { target: cloud4; properties: "y"; + easing.type: "OutBack"; duration: 500 } + } + SequentialAnimation { + PauseAnimation { duration: 600 } + NumberAnimation { target: cloud5; properties: "y"; + easing.type: "OutBack"; duration: 500 } + } + } + NumberAnimation { target: sun; properties: "y"; + easing.type: "OutBack"; duration: 500 } + } + } + + onPresent: { root.state = "final"; } +} diff --git a/weather-qml/content/forecasts/Fog.qml b/weather-qml/content/forecasts/Fog.qml new file mode 100755 index 0000000..7f9c718 --- /dev/null +++ b/weather-qml/content/forecasts/Fog.qml @@ -0,0 +1,110 @@ +/**************************************************************************** +** +** This file is part of Weather +** +** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).* +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions +** are met: +** +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in the +** documentation and/or other materials provided with the distribution. +** +** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor +** the names of its contributors may be used to endorse or promote +** products derived from this software without specific prior written +** permission. +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +** FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +** COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +** INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +** BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +** CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +** LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +** ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +** POSSIBILITY OF SUCH DAMAGE." +** +****************************************************************************/ + +import Qt 4.7 +import "elements" +import "../" + +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 ? folder + "cold_sun.png" : folder + "moon.png" + lineImage: isDay ? folder + "cold_sun_line.png" : folder + "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: "../" + folder + "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"; } +} diff --git a/weather-qml/content/forecasts/Haze.qml b/weather-qml/content/forecasts/Haze.qml new file mode 100755 index 0000000..0739896 --- /dev/null +++ b/weather-qml/content/forecasts/Haze.qml @@ -0,0 +1,110 @@ +/**************************************************************************** +** +** This file is part of Weather +** +** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).* +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions +** are met: +** +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in the +** documentation and/or other materials provided with the distribution. +** +** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor +** the names of its contributors may be used to endorse or promote +** products derived from this software without specific prior written +** permission. +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +** FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +** COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +** INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +** BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +** CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +** LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +** ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +** POSSIBILITY OF SUCH DAMAGE." +** +****************************************************************************/ + +import Qt 4.7 +import "elements" +import "../" + +ForecastView { + id: root + isClear: false + + SmallCloud { + id: cloud2 + x: scaledX(341) + y: scaledY(-800) + finalY: scaledY(-469); + 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 ? folder + "cold_sun.png" : folder + "moon.png" + lineImage: isDay ? folder + "cold_sun_line.png" : folder + "moon_line.png" + } + + MediumCloud { + id: cloud1 + x: scaledX(6) + y: scaledY(-800) + finalY: scaledY(-296) + type: "cloud_rain" + } + + Image { + id: haze + x: scaledX(-30) + source: "../" + folder + "haze.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"; } +} diff --git a/weather-qml/content/forecasts/Mist.qml b/weather-qml/content/forecasts/Mist.qml new file mode 100755 index 0000000..ad61f12 --- /dev/null +++ b/weather-qml/content/forecasts/Mist.qml @@ -0,0 +1,162 @@ +/**************************************************************************** +** +** This file is part of Weather +** +** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).* +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions +** are met: +** +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in the +** documentation and/or other materials provided with the distribution. +** +** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor +** the names of its contributors may be used to endorse or promote +** products derived from this software without specific prior written +** permission. +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +** FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +** COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +** INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +** BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +** CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +** LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +** ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +** POSSIBILITY OF SUCH DAMAGE." +** +****************************************************************************/ + +import Qt 4.7 +import "elements" +import "../" + +ForecastView { + id: root + isClear: false + + RainItem { + id: rain + x: scaledX(30) + y: scaledY(300) - yOffset + visible: false + rainType: "rain" + } + + SmallCloud { + id: cloud5 + x: scaledX(297) + y: scaledY(-800) + finalY: scaledY(-460); + type: "cloud_rain" + } + + SmallCloud { + id: cloud4 + x: scaledX(64) + y: scaledY(-800) + finalY: scaledY(-436) + 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 ? folder + "cold_sun.png" : folder + "moon.png" + lineImage: isDay ? folder + "cold_sun_line.png" : folder + "moon_line.png" + } + + MediumCloud { + id: cloud3 + x: scaledX(154) + y: scaledY(-800) + finalY: scaledY(-296) + type: "cloud_rain" + } + + LargeCloud { + id: cloud2 + x: scaledX(315) + y: scaledY(-800) + finalY: scaledY(-351) + type: "cloud_rain" + } + + LargeCloud { + id: cloud1 + x: scaledX(-70) + y: scaledY(-800) + finalY: scaledY(-294) + type: "cloud_rain" + } + + states : State { + name: "final" + PropertyChanges { target: sun; y: sun.finalY; } + PropertyChanges { target: cloud1; y: cloud1.finalY; } + PropertyChanges { target: cloud2; y: cloud2.finalY; } + PropertyChanges { target: cloud3; y: cloud3.finalY; } + PropertyChanges { target: cloud4; y: cloud4.finalY; } + PropertyChanges { target: cloud5; y: cloud5.finalY; } + PropertyChanges { target: rain; visible: true; } + } + + 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 } + } + + SequentialAnimation { + PauseAnimation { duration: 400 } + NumberAnimation { target: cloud3; properties: "y"; + easing.type: "OutBack"; duration: 500 } + } + + SequentialAnimation { + PauseAnimation { duration: 600 } + NumberAnimation { target: cloud4; properties: "y"; + easing.type: "OutBack"; duration: 500 } + } + + SequentialAnimation { + PauseAnimation { duration: 800 } + NumberAnimation { target: cloud5; properties: "y"; + easing.type: "OutBack"; duration: 500 } + } + } + + NumberAnimation { target: sun; properties: "y"; + easing.type: "OutBack"; duration: 500 } + + PauseAnimation { duration: 100 } + + NumberAnimation { target: rain; properties: "visible"; duration: 0 } + } + } + + onPresent: { root.state = "final"; } +} diff --git a/weather-qml/content/forecasts/MostlyCloudy.qml b/weather-qml/content/forecasts/MostlyCloudy.qml new file mode 100755 index 0000000..d19ad6a --- /dev/null +++ b/weather-qml/content/forecasts/MostlyCloudy.qml @@ -0,0 +1,134 @@ +/**************************************************************************** +** +** This file is part of Weather +** +** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).* +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions +** are met: +** +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in the +** documentation and/or other materials provided with the distribution. +** +** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor +** the names of its contributors may be used to endorse or promote +** products derived from this software without specific prior written +** permission. +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +** FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +** COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +** INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +** BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +** CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +** LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +** ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +** POSSIBILITY OF SUCH DAMAGE." +** +****************************************************************************/ + +import Qt 4.7 +import "elements" +import "../" + +ForecastView { + id: root + isClear: false + + SmallCloud { + id: cloud4 + x: scaledX(84) + y: scaledY(-800) + finalY: scaledY(-483); + type: isDay ? "cloud" : "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 ? folder + "cold_sun.png" : folder + "moon.png" + lineImage: isDay ? folder + "cold_sun_line.png" : folder + "moon_line.png" + } + + MediumCloud { + id: cloud3 + x: scaledX(-43) + y: scaledY(-800) + finalY: scaledY(-333) + type: isDay ? "cloud" : "cloud_rain" + } + + MediumCloud { + id: cloud2 + x: scaledX(374) + y: scaledY(-800) + finalY: scaledY(-334) + type: isDay ? "cloud" : "cloud_rain" + } + + LargeCloud { + id: cloud1 + x: scaledX(235) + y: scaledY(-800) + finalY: scaledY(-298) + type: isDay ? "cloud" : "cloud_rain" + } + + states : State { + name: "final" + PropertyChanges { target: sun; y: sun.finalY; } + PropertyChanges { target: cloud1; y: cloud1.finalY; } + PropertyChanges { target: cloud2; y: cloud2.finalY; } + PropertyChanges { target: cloud3; y: cloud3.finalY; } + PropertyChanges { target: cloud4; y: cloud4.finalY; } + } + + transitions: Transition { + SequentialAnimation { + ParallelAnimation { + NumberAnimation { target: cloud1; properties: "y"; + easing.type: "OutBack"; duration: 500 } + + SequentialAnimation { + PauseAnimation { duration: 200 } + NumberAnimation { target: cloud3; properties: "y"; + easing.type: "OutBack"; duration: 500 } + } + + SequentialAnimation { + PauseAnimation { duration: 400 } + NumberAnimation { target: cloud2; properties: "y"; + easing.type: "OutBack"; duration: 500 } + } + + SequentialAnimation { + PauseAnimation { duration: 600 } + NumberAnimation { target: cloud4; properties: "y"; + easing.type: "OutBack"; duration: 500 } + } + } + + NumberAnimation { target: sun; properties: "y"; + easing.type: "OutBack"; duration: 500 } + } + } + + onPresent: { root.state = "final"; } +} diff --git a/weather-qml/content/forecasts/MostlySunny.qml b/weather-qml/content/forecasts/MostlySunny.qml new file mode 100755 index 0000000..e587c7e --- /dev/null +++ b/weather-qml/content/forecasts/MostlySunny.qml @@ -0,0 +1,118 @@ +/**************************************************************************** +** +** This file is part of Weather +** +** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).* +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions +** are met: +** +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in the +** documentation and/or other materials provided with the distribution. +** +** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor +** the names of its contributors may be used to endorse or promote +** products derived from this software without specific prior written +** permission. +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +** FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +** COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +** INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +** BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +** CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +** LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +** ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +** POSSIBILITY OF SUCH DAMAGE." +** +****************************************************************************/ + +import Qt 4.7 +import "elements" +import "../" + +ForecastView { + id: root + + SmallCloud { + id: cloud3 + x: scaledX(-7) + y: scaledY(-800) + finalY: scaledY(-540); + type: isDay ? "cloud" : "cloud_rain" + } + + SmallCloud { + id: cloud2 + x: scaledX(399) + y: scaledY(-800) + finalY: scaledY(-409); + type: isDay ? "cloud" : "cloud_rain" + } + + 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 ? folder + "sun.png" : folder + "moon.png" + lineImage: isDay ? folder + "sun_line.png" : folder + "moon_line.png" + } + + MediumCloud { + id: cloud1 + x: scaledX(-20) + y: scaledY(-800) + finalY: scaledY(-218) + type: isDay ? "cloud" : "cloud_rain" + } + + states : State { + name: "final" + PropertyChanges { target: sun; y: sun.finalY; } + PropertyChanges { target: cloud1; y: cloud1.finalY; } + PropertyChanges { target: cloud2; y: cloud2.finalY; } + PropertyChanges { target: cloud3; y: cloud3.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 } + } + + SequentialAnimation { + PauseAnimation { duration: 400 } + NumberAnimation { target: cloud3; properties: "y"; + easing.type: "OutBack"; duration: 500 } + } + } + + NumberAnimation { target: sun; properties: "y"; + easing.type: "OutBack"; duration: 500 } + } + } + + onPresent: { root.state = "final"; } +} diff --git a/weather-qml/content/forecasts/PartlyCloudy.qml b/weather-qml/content/forecasts/PartlyCloudy.qml new file mode 100755 index 0000000..fabc19f --- /dev/null +++ b/weather-qml/content/forecasts/PartlyCloudy.qml @@ -0,0 +1,118 @@ +/**************************************************************************** +** +** This file is part of Weather +** +** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).* +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions +** are met: +** +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in the +** documentation and/or other materials provided with the distribution. +** +** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor +** the names of its contributors may be used to endorse or promote +** products derived from this software without specific prior written +** permission. +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +** FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +** COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +** INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +** BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +** CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +** LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +** ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +** POSSIBILITY OF SUCH DAMAGE." +** +****************************************************************************/ + +import Qt 4.7 +import "elements" +import "../" + +ForecastView { + id: root + + SmallCloud { + id: cloud3 + x: scaledX(396) + y: scaledY(-800) + finalY: scaledY(-446); + type: isDay ? "cloud" : "cloud_rain" + } + + 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 ? folder + "sun.png" : folder + "moon.png" + lineImage: isDay ? folder + "sun_line.png" : folder + "moon_line.png" + } + + MediumCloud { + id: cloud2 + x: scaledX(0) + y: scaledY(-800) + finalY: scaledY(-307) + type: isDay ? "cloud" : "cloud_rain" + } + + LargeCloud { + id: cloud1 + x: scaledX(267) + y: scaledY(-800) + finalY: scaledY(-291) + type: isDay ? "cloud" : "cloud_rain" + } + + states : State { + name: "final" + PropertyChanges { target: sun; y: sun.finalY; } + PropertyChanges { target: cloud1; y: cloud1.finalY; } + PropertyChanges { target: cloud2; y: cloud2.finalY; } + PropertyChanges { target: cloud3; y: cloud3.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 } + } + + SequentialAnimation { + PauseAnimation { duration: 400 } + NumberAnimation { target: cloud3; properties: "y"; + easing.type: "OutBack"; duration: 500 } + } + } + + NumberAnimation { target: sun; properties: "y"; + easing.type: "OutBack"; duration: 500 } + } + } + + onPresent: { root.state = "final"; } +} diff --git a/weather-qml/content/forecasts/Rain.qml b/weather-qml/content/forecasts/Rain.qml new file mode 100755 index 0000000..bd5f92a --- /dev/null +++ b/weather-qml/content/forecasts/Rain.qml @@ -0,0 +1,162 @@ +/**************************************************************************** +** +** This file is part of Weather +** +** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).* +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions +** are met: +** +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in the +** documentation and/or other materials provided with the distribution. +** +** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor +** the names of its contributors may be used to endorse or promote +** products derived from this software without specific prior written +** permission. +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +** FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +** COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +** INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +** BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +** CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +** LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +** ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +** POSSIBILITY OF SUCH DAMAGE." +** +****************************************************************************/ + +import Qt 4.7 +import "elements" +import "../" + +ForecastView { + id: root + isClear: false + + RainItem { + id: rain + x: scaledX(30) + y: scaledY(300) - yOffset + visible: false + rainType: "rain" + } + + SmallCloud { + id: cloud5 + x: scaledX(300) + y: scaledY(-800) + finalY: scaledY(-469); + 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 ? folder + "cold_sun.png" : folder + "moon.png" + lineImage: isDay ? folder + "cold_sun_line.png" : folder + "moon_line.png" + } + + MediumCloud { + id: cloud4 + x: scaledX(100) + y: scaledY(-800) + finalY: scaledY(-356) + type: "cloud_rain" + } + + MediumCloud { + id: cloud3 + x: scaledX(340) + y: scaledY(-800) + finalY: scaledY(-339) + type: "cloud_rain" + } + + LargeCloud { + id: cloud2 + x: scaledX(186) + y: scaledY(-800) + finalY: scaledY(-319) + type: "cloud_rain" + } + + LargeCloud { + id: cloud1 + x: scaledX(-62) + y: scaledY(-800) + finalY: scaledY(-289) + type: "cloud_rain" + } + + states : State { + name: "final" + PropertyChanges { target: sun; y: sun.finalY; } + PropertyChanges { target: cloud1; y: cloud1.finalY; } + PropertyChanges { target: cloud2; y: cloud2.finalY; } + PropertyChanges { target: cloud3; y: cloud3.finalY; } + PropertyChanges { target: cloud4; y: cloud4.finalY; } + PropertyChanges { target: cloud5; y: cloud5.finalY; } + PropertyChanges { target: rain; visible: true; } + } + + 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 } + } + + SequentialAnimation { + PauseAnimation { duration: 400 } + NumberAnimation { target: cloud3; properties: "y"; + easing.type: "OutBack"; duration: 500 } + } + + SequentialAnimation { + PauseAnimation { duration: 600 } + NumberAnimation { target: cloud4; properties: "y"; + easing.type: "OutBack"; duration: 500 } + } + + SequentialAnimation { + PauseAnimation { duration: 800 } + NumberAnimation { target: cloud5; properties: "y"; + easing.type: "OutBack"; duration: 500 } + } + } + + NumberAnimation { target: sun; properties: "y"; + easing.type: "OutBack"; duration: 500 } + + PauseAnimation { duration: 100 } + + NumberAnimation { target: rain; properties: "visible"; duration: 0 } + } + } + + onPresent: { root.state = "final"; } +} diff --git a/weather-qml/content/forecasts/Storm.qml b/weather-qml/content/forecasts/Storm.qml new file mode 100755 index 0000000..f139a00 --- /dev/null +++ b/weather-qml/content/forecasts/Storm.qml @@ -0,0 +1,162 @@ +/**************************************************************************** +** +** This file is part of Weather +** +** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).* +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions +** are met: +** +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in the +** documentation and/or other materials provided with the distribution. +** +** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor +** the names of its contributors may be used to endorse or promote +** products derived from this software without specific prior written +** permission. +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +** FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +** COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +** INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +** BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +** CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +** LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +** ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +** POSSIBILITY OF SUCH DAMAGE." +** +****************************************************************************/ + +import Qt 4.7 +import "elements" +import "../" + +ForecastView { + id: root + isClear: false + + RainItem { + id: rain + x: scaledX(30) + y: scaledY(300) - yOffset + visible: false + rainType: "storm" + } + + SmallCloud { + id: cloud5 + x: scaledX(280) + y: scaledY(-800) + finalY: scaledY(-480) + type: "cloud_storm" + } + + SmallCloud { + id: cloud4 + x: scaledX(36) + y: scaledY(-800) + finalY: scaledY(-494) + type: "cloud_storm" + } + + 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 ? folder + "cold_sun.png" : folder + "moon.png" + lineImage: isDay ? folder + "cold_sun_line.png" : folder + "moon_line.png" + } + + MediumCloud { + id: cloud2 + x: scaledX(340) + y: scaledY(-800) + finalY: scaledY(-350) + type: "cloud_storm" + } + + LargeCloud { + id: cloud3 + x: scaledX(-30) + y: scaledY(-800) + finalY: scaledY(-345) + type: "cloud_storm" + } + + LargeCloud { + id: cloud1 + x: scaledX(202) + y: scaledY(-800) + finalY: scaledY(-310) + type: "cloud_storm" + } + + states : State { + name: "final" + PropertyChanges { target: sun; y: sun.finalY; } + PropertyChanges { target: cloud1; y: cloud1.finalY; } + PropertyChanges { target: cloud2; y: cloud2.finalY; } + PropertyChanges { target: cloud3; y: cloud3.finalY; } + PropertyChanges { target: cloud4; y: cloud4.finalY; } + PropertyChanges { target: cloud5; y: cloud5.finalY; } + PropertyChanges { target: rain; visible: true; } + } + + transitions: Transition { + SequentialAnimation { + ParallelAnimation { + NumberAnimation { target: cloud1; properties: "y"; + easing.type: "OutBack"; duration: 500 } + + SequentialAnimation { + PauseAnimation { duration: 200 } + NumberAnimation { target: cloud3; properties: "y"; + easing.type: "OutBack"; duration: 500 } + } + + SequentialAnimation { + PauseAnimation { duration: 400 } + NumberAnimation { target: cloud2; properties: "y"; + easing.type: "OutBack"; duration: 500 } + } + + SequentialAnimation { + PauseAnimation { duration: 600 } + NumberAnimation { target: cloud4; properties: "y"; + easing.type: "OutBack"; duration: 500 } + } + + SequentialAnimation { + PauseAnimation { duration: 800 } + NumberAnimation { target: cloud5; properties: "y"; + easing.type: "OutBack"; duration: 500 } + } + } + + NumberAnimation { target: sun; properties: "y"; + easing.type: "OutBack"; duration: 500 } + + PauseAnimation { duration: 100 } + + NumberAnimation { target: rain; properties: "visible"; duration: 0 } + } + } + + onPresent: { root.state = "final"; } +} diff --git a/weather-qml/content/forecasts/Sunny.qml b/weather-qml/content/forecasts/Sunny.qml new file mode 100755 index 0000000..319856f --- /dev/null +++ b/weather-qml/content/forecasts/Sunny.qml @@ -0,0 +1,74 @@ +/**************************************************************************** +** +** This file is part of Weather +** +** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).* +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions +** are met: +** +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in the +** documentation and/or other materials provided with the distribution. +** +** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor +** the names of its contributors may be used to endorse or promote +** products derived from this software without specific prior written +** permission. +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +** FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +** COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +** INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +** BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +** CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +** LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +** ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +** POSSIBILITY OF SUCH DAMAGE." +** +****************************************************************************/ + +import Qt 4.7 +import "elements" +import "../" + +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 ? folder + "sun.png" : folder + "moon.png" + lineImage: isDay ? folder + "sun_line.png" : folder + "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" +} diff --git a/weather-qml/content/forecasts/Thunderstorm.qml b/weather-qml/content/forecasts/Thunderstorm.qml new file mode 100755 index 0000000..f075907 --- /dev/null +++ b/weather-qml/content/forecasts/Thunderstorm.qml @@ -0,0 +1,162 @@ +/**************************************************************************** +** +** This file is part of Weather +** +** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).* +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions +** are met: +** +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in the +** documentation and/or other materials provided with the distribution. +** +** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor +** the names of its contributors may be used to endorse or promote +** products derived from this software without specific prior written +** permission. +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +** FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +** COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +** INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +** BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +** CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +** LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +** ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +** POSSIBILITY OF SUCH DAMAGE." +** +****************************************************************************/ + +import Qt 4.7 +import "elements" +import "../" + +ForecastView { + id: root + isClear: false + + RainItem { + id: rain + x: scaledX(30) + y: scaledY(300) - yOffset + visible: false + rainType: "storm" + } + + SmallCloud { + id: cloud5 + x: scaledX(56) + y: scaledY(-800) + finalY: scaledY(-481) + type: "cloud_storm" + } + + MediumCloud { + id: cloud4 + x: scaledX(275) + y: scaledY(-800) + finalY: scaledY(-359) + type: "cloud_storm" + } + + 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 ? folder + "cold_sun.png" : folder + "moon.png" + lineImage: isDay ? folder + "cold_sun_line.png" : folder + "moon_line.png" + } + + MediumCloud { + id: cloud2 + x: scaledX(115) + y: scaledY(-800) + finalY: scaledY(-350) + type: "cloud_tstorm" + } + + LargeCloud { + id: cloud3 + x: scaledX(-12) + y: scaledY(-800) + finalY: scaledY(-323) + type: "cloud_storm" + } + + LargeCloud { + id: cloud1 + x: scaledX(249) + y: scaledY(-850) + finalY: scaledY(-310) + type: "cloud_tstorm" + } + + states : State { + name: "final" + PropertyChanges { target: sun; y: sun.finalY; } + PropertyChanges { target: cloud1; y: cloud1.finalY; } + PropertyChanges { target: cloud2; y: cloud2.finalY; } + PropertyChanges { target: cloud3; y: cloud3.finalY; } + PropertyChanges { target: cloud4; y: cloud4.finalY; } + PropertyChanges { target: cloud5; y: cloud5.finalY; } + PropertyChanges { target: rain; visible: true; } + } + + transitions: Transition { + SequentialAnimation { + ParallelAnimation { + NumberAnimation { target: cloud1; properties: "y"; + easing.type: "OutBack"; duration: 500 } + + SequentialAnimation { + PauseAnimation { duration: 200 } + NumberAnimation { target: cloud3; properties: "y"; + easing.type: "OutBack"; duration: 500 } + } + + SequentialAnimation { + PauseAnimation { duration: 400 } + NumberAnimation { target: cloud2; properties: "y"; + easing.type: "OutBack"; duration: 500 } + } + + SequentialAnimation { + PauseAnimation { duration: 600 } + NumberAnimation { target: cloud4; properties: "y"; + easing.type: "OutBack"; duration: 500 } + } + + SequentialAnimation { + PauseAnimation { duration: 800 } + NumberAnimation { target: cloud5; properties: "y"; + easing.type: "OutBack"; duration: 500 } + } + } + + NumberAnimation { target: sun; properties: "y"; + easing.type: "OutBack"; duration: 500 } + + PauseAnimation { duration: 100 } + + NumberAnimation { target: rain; properties: "visible"; duration: 0 } + } + } + + onPresent: { root.state = "final"; } +} diff --git a/weather-qml/content/forecasts/UnknownForecast.qml b/weather-qml/content/forecasts/UnknownForecast.qml new file mode 100755 index 0000000..084095a --- /dev/null +++ b/weather-qml/content/forecasts/UnknownForecast.qml @@ -0,0 +1,73 @@ +/**************************************************************************** +** +** This file is part of Weather +** +** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).* +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions +** are met: +** +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in the +** documentation and/or other materials provided with the distribution. +** +** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor +** the names of its contributors may be used to endorse or promote +** products derived from this software without specific prior written +** permission. +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +** FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +** COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +** INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +** BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +** CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +** LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +** ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +** POSSIBILITY OF SUCH DAMAGE." +** +****************************************************************************/ + +import Qt 4.7 +import "elements" +import "../" + +ForecastView { + id: root + isClear: true + + HungItem { + id: question + x: scaledX(260) + y: scaledY(-800) + itemX: 8 + itemY: 190 + height: 476 + finalY: scaledY(-255) + itemImage: folder + "na_icon.png" + lineImage: folder + "na_icon_line.png" + } + + states : State { + name: "final" + PropertyChanges { target: question; y: question.finalY; } + } + + transitions: Transition { + NumberAnimation { target: question; properties: "y"; + easing.type: "OutBack"; duration: 500 } + } + + onPresent: { root.state = "final"; } +} diff --git a/weather-qml/content/forecasts/elements/ForecastLabel.qml b/weather-qml/content/forecasts/elements/ForecastLabel.qml new file mode 100755 index 0000000..64dc9be --- /dev/null +++ b/weather-qml/content/forecasts/elements/ForecastLabel.qml @@ -0,0 +1,121 @@ +/**************************************************************************** +** +** This file is part of Weather +** +** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).* +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions +** are met: +** +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in the +** documentation and/or other materials provided with the distribution. +** +** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor +** the names of its contributors may be used to endorse or promote +** products derived from this software without specific prior written +** permission. +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +** FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +** COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +** INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +** BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +** CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +** LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +** ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +** POSSIBILITY OF SUCH DAMAGE." +** +****************************************************************************/ + +import Qt 4.7 + +Item { + id: root + + property string lowTemperature + property string highTemperature + property string currentTemperature + property string folder: "../../" + window.folder + + Row { + anchors.bottomMargin: 58 + anchors.bottom: parent.bottom + anchors.horizontalCenter: line.horizontalCenter + + Text { + id: temperatureText + text: currentTemperature + font.family: "Nokia Sans" + font.pixelSize: 170 * scaleFactorX + font.bold: true + color: "white" + } + + Image { + source: folder + "centigrades.png" + anchors.bottom: temperatureText.bottom + anchors.bottomMargin: 34 * scaleFactorX + } + } + + Image { + id: line + source: folder + "division_line.png" + anchors.top: parent.top + anchors.topMargin: 104 + anchors.left: parent.left + anchors.leftMargin: 50 * scaleFactorX + } + + Row { + anchors.left: line.left + anchors.top: line.bottom + + Image { + source: folder + "icon_max.png" + anchors.bottom: highTempText.bottom + anchors.bottomMargin: 10 * scaleFactorX + } + + Text { + id: highTempText + text: highTemperature + "°C" + font.family: "Nokia Sans" + font.pixelSize: 40 * scaleFactorX + color: "white" + opacity: 0.7 + } + } + + Row { + anchors.right: line.right + anchors.top: line.bottom + + Image { + source: folder + "icon_min.png" + anchors.bottom: lowTempText.bottom + anchors.bottomMargin: 10 * scaleFactorX + } + + Text { + id: lowTempText + text: lowTemperature + "°C" + font.family: "Nokia Sans" + font.pixelSize: 40 * scaleFactorX + color: "white" + opacity: 0.7 + } + } +} diff --git a/weather-qml/content/forecasts/elements/HungItem.qml b/weather-qml/content/forecasts/elements/HungItem.qml new file mode 100755 index 0000000..fff6b67 --- /dev/null +++ b/weather-qml/content/forecasts/elements/HungItem.qml @@ -0,0 +1,70 @@ +/**************************************************************************** +** +** This file is part of Weather +** +** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).* +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions +** are met: +** +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in the +** documentation and/or other materials provided with the distribution. +** +** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor +** the names of its contributors may be used to endorse or promote +** products derived from this software without specific prior written +** permission. +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +** FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +** COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +** INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +** BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +** CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +** LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +** ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +** POSSIBILITY OF SUCH DAMAGE." +** +****************************************************************************/ + +import Qt 4.7 + +Item { + id: root + + property real itemX + property real itemY + property real finalY + property string lineImage + property string itemImage + property string folder: "../../" + window.folder + + width: item.width + height: itemY + item.height + + Image { + id: line + source: root.lineImage + anchors.horizontalCenter: root.horizontalCenter + } + + Image { + id: item + x: root.itemX + y: root.itemY + source: root.itemImage + anchors.bottom: parent.bottom + } +} diff --git a/weather-qml/content/forecasts/elements/LargeCloud.qml b/weather-qml/content/forecasts/elements/LargeCloud.qml new file mode 100755 index 0000000..f0d68a9 --- /dev/null +++ b/weather-qml/content/forecasts/elements/LargeCloud.qml @@ -0,0 +1,52 @@ +/**************************************************************************** +** +** This file is part of Weather +** +** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).* +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions +** are met: +** +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in the +** documentation and/or other materials provided with the distribution. +** +** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor +** the names of its contributors may be used to endorse or promote +** products derived from this software without specific prior written +** permission. +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +** FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +** COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +** INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +** BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +** CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +** LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +** ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +** POSSIBILITY OF SUCH DAMAGE." +** +****************************************************************************/ + +import Qt 4.7 + +HungItem { + id: root + itemX: 15; + itemY: 420; + + property string type: "cloud"; + itemImage: folder + root.type + "_1.png" + lineImage: folder + root.type + "_1_line.png" +} diff --git a/weather-qml/content/forecasts/elements/MediumCloud.qml b/weather-qml/content/forecasts/elements/MediumCloud.qml new file mode 100755 index 0000000..1e477a6 --- /dev/null +++ b/weather-qml/content/forecasts/elements/MediumCloud.qml @@ -0,0 +1,52 @@ +/**************************************************************************** +** +** This file is part of Weather +** +** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).* +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions +** are met: +** +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in the +** documentation and/or other materials provided with the distribution. +** +** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor +** the names of its contributors may be used to endorse or promote +** products derived from this software without specific prior written +** permission. +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +** FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +** COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +** INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +** BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +** CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +** LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +** ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +** POSSIBILITY OF SUCH DAMAGE." +** +****************************************************************************/ + +import Qt 4.7 + +HungItem { + id: root + itemX: 13; + itemY: 420; + + property string type: "cloud"; + itemImage: folder + root.type + "_2.png" + lineImage: folder + root.type + "_2_line.png" +} diff --git a/weather-qml/content/forecasts/elements/RainItem.qml b/weather-qml/content/forecasts/elements/RainItem.qml new file mode 100755 index 0000000..344f641 --- /dev/null +++ b/weather-qml/content/forecasts/elements/RainItem.qml @@ -0,0 +1,74 @@ +/**************************************************************************** +** +** This file is part of Weather +** +** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).* +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions +** are met: +** +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in the +** documentation and/or other materials provided with the distribution. +** +** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor +** the names of its contributors may be used to endorse or promote +** products derived from this software without specific prior written +** permission. +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +** FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +** COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +** INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +** BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +** CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +** LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +** ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +** POSSIBILITY OF SUCH DAMAGE." +** +****************************************************************************/ + +import Qt 4.7 + +Image { + id: rainItem + property int frame : 1; + property int frameControl : 1; + + property string rainType: "rain"; + + source: "../../" + folder + rainType + "_0" + rainItem.frame + ".png" + + SequentialAnimation { + id: rainAnim + loops: Animation.Infinite + PauseAnimation { + duration: 200 + } + + ScriptAction { + script: { + rainItem.frameControl++ + if(rainItem.frameControl > 3) + rainItem.frameControl = 1 + + rainItem.frame = rainItem.frameControl + } + } + } + + Component.onCompleted: { + //rainAnim.running = true + } +} diff --git a/weather-qml/content/forecasts/elements/SmallCloud.qml b/weather-qml/content/forecasts/elements/SmallCloud.qml new file mode 100755 index 0000000..f2397c5 --- /dev/null +++ b/weather-qml/content/forecasts/elements/SmallCloud.qml @@ -0,0 +1,52 @@ +/**************************************************************************** +** +** This file is part of Weather +** +** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).* +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions +** are met: +** +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in the +** documentation and/or other materials provided with the distribution. +** +** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor +** the names of its contributors may be used to endorse or promote +** products derived from this software without specific prior written +** permission. +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +** FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +** COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, +** INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +** BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +** CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +** LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN +** ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +** POSSIBILITY OF SUCH DAMAGE." +** +****************************************************************************/ + +import Qt 4.7 + +HungItem { + id: root + itemX: 10; + itemY: 492; + + property string type: "cloud"; + itemImage: folder + root.type + "_3.png" + lineImage: folder + root.type + "_3_line.png" +} diff --git a/weather-qml/content/images/n900/background_add_city.png b/weather-qml/content/images/n900/background_add_city.png Binary files differnew file mode 100755 index 0000000..ec8d8a6 --- /dev/null +++ b/weather-qml/content/images/n900/background_add_city.png diff --git a/weather-qml/content/images/n900/background_error_adding.png b/weather-qml/content/images/n900/background_error_adding.png Binary files differnew file mode 100755 index 0000000..9b8cb97 --- /dev/null +++ b/weather-qml/content/images/n900/background_error_adding.png diff --git a/weather-qml/content/images/n900/bg_bottom_options.png b/weather-qml/content/images/n900/bg_bottom_options.png Binary files differnew file mode 100755 index 0000000..34d5e40 --- /dev/null +++ b/weather-qml/content/images/n900/bg_bottom_options.png diff --git a/weather-qml/content/images/n900/bg_day_clear.png b/weather-qml/content/images/n900/bg_day_clear.png Binary files differnew file mode 100755 index 0000000..cee5ce4 --- /dev/null +++ b/weather-qml/content/images/n900/bg_day_clear.png diff --git a/weather-qml/content/images/n900/bg_day_heavyrain.png b/weather-qml/content/images/n900/bg_day_heavyrain.png Binary files differnew file mode 100755 index 0000000..1cf9122 --- /dev/null +++ b/weather-qml/content/images/n900/bg_day_heavyrain.png diff --git a/weather-qml/content/images/n900/bg_day_rain.png b/weather-qml/content/images/n900/bg_day_rain.png Binary files differnew file mode 100755 index 0000000..48052c5 --- /dev/null +++ b/weather-qml/content/images/n900/bg_day_rain.png diff --git a/weather-qml/content/images/n900/bg_loading.png b/weather-qml/content/images/n900/bg_loading.png Binary files differnew file mode 100755 index 0000000..aa3c1ed --- /dev/null +++ b/weather-qml/content/images/n900/bg_loading.png diff --git a/weather-qml/content/images/n900/bg_night_clear.png b/weather-qml/content/images/n900/bg_night_clear.png Binary files differnew file mode 100755 index 0000000..a30a1a7 --- /dev/null +++ b/weather-qml/content/images/n900/bg_night_clear.png diff --git a/weather-qml/content/images/n900/bg_night_rain.png b/weather-qml/content/images/n900/bg_night_rain.png Binary files differnew file mode 100755 index 0000000..f2ae59b --- /dev/null +++ b/weather-qml/content/images/n900/bg_night_rain.png diff --git a/weather-qml/content/images/n900/button_city_send.png b/weather-qml/content/images/n900/button_city_send.png Binary files differnew file mode 100755 index 0000000..124f299 --- /dev/null +++ b/weather-qml/content/images/n900/button_city_send.png diff --git a/weather-qml/content/images/n900/button_close.png b/weather-qml/content/images/n900/button_close.png Binary files differnew file mode 100755 index 0000000..d1e935a --- /dev/null +++ b/weather-qml/content/images/n900/button_close.png diff --git a/weather-qml/content/images/n900/button_list_delete.png b/weather-qml/content/images/n900/button_list_delete.png Binary files differnew file mode 100755 index 0000000..17210c0 --- /dev/null +++ b/weather-qml/content/images/n900/button_list_delete.png diff --git a/weather-qml/content/images/n900/button_softkey_left.png b/weather-qml/content/images/n900/button_softkey_left.png Binary files differnew file mode 100755 index 0000000..56f1d26 --- /dev/null +++ b/weather-qml/content/images/n900/button_softkey_left.png diff --git a/weather-qml/content/images/n900/button_softkey_right.png b/weather-qml/content/images/n900/button_softkey_right.png Binary files differnew file mode 100755 index 0000000..c6cb619 --- /dev/null +++ b/weather-qml/content/images/n900/button_softkey_right.png diff --git a/weather-qml/content/images/n900/centigrades.png b/weather-qml/content/images/n900/centigrades.png Binary files differnew file mode 100755 index 0000000..e9ac387 --- /dev/null +++ b/weather-qml/content/images/n900/centigrades.png diff --git a/weather-qml/content/images/n900/city_name_background_bigger.png b/weather-qml/content/images/n900/city_name_background_bigger.png Binary files differnew file mode 100755 index 0000000..60c68cc --- /dev/null +++ b/weather-qml/content/images/n900/city_name_background_bigger.png diff --git a/weather-qml/content/images/n900/city_panel_bg.png b/weather-qml/content/images/n900/city_panel_bg.png Binary files differnew file mode 100755 index 0000000..c7cd1d6 --- /dev/null +++ b/weather-qml/content/images/n900/city_panel_bg.png diff --git a/weather-qml/content/images/n900/cloud_1.png b/weather-qml/content/images/n900/cloud_1.png Binary files differnew file mode 100755 index 0000000..ed8f1c8 --- /dev/null +++ b/weather-qml/content/images/n900/cloud_1.png diff --git a/weather-qml/content/images/n900/cloud_1_line.png b/weather-qml/content/images/n900/cloud_1_line.png Binary files differnew file mode 100755 index 0000000..8a4b090 --- /dev/null +++ b/weather-qml/content/images/n900/cloud_1_line.png diff --git a/weather-qml/content/images/n900/cloud_2.png b/weather-qml/content/images/n900/cloud_2.png Binary files differnew file mode 100755 index 0000000..981bbd2 --- /dev/null +++ b/weather-qml/content/images/n900/cloud_2.png diff --git a/weather-qml/content/images/n900/cloud_2_line.png b/weather-qml/content/images/n900/cloud_2_line.png Binary files differnew file mode 100755 index 0000000..b9b8ca3 --- /dev/null +++ b/weather-qml/content/images/n900/cloud_2_line.png diff --git a/weather-qml/content/images/n900/cloud_3.png b/weather-qml/content/images/n900/cloud_3.png Binary files differnew file mode 100755 index 0000000..ea9faa2 --- /dev/null +++ b/weather-qml/content/images/n900/cloud_3.png diff --git a/weather-qml/content/images/n900/cloud_3_line.png b/weather-qml/content/images/n900/cloud_3_line.png Binary files differnew file mode 100755 index 0000000..0486741 --- /dev/null +++ b/weather-qml/content/images/n900/cloud_3_line.png diff --git a/weather-qml/content/images/n900/cloud_rain_1.png b/weather-qml/content/images/n900/cloud_rain_1.png Binary files differnew file mode 100755 index 0000000..7ae8b71 --- /dev/null +++ b/weather-qml/content/images/n900/cloud_rain_1.png diff --git a/weather-qml/content/images/n900/cloud_rain_1_line.png b/weather-qml/content/images/n900/cloud_rain_1_line.png Binary files differnew file mode 100755 index 0000000..204207b --- /dev/null +++ b/weather-qml/content/images/n900/cloud_rain_1_line.png diff --git a/weather-qml/content/images/n900/cloud_rain_2.png b/weather-qml/content/images/n900/cloud_rain_2.png Binary files differnew file mode 100755 index 0000000..b0812a3 --- /dev/null +++ b/weather-qml/content/images/n900/cloud_rain_2.png diff --git a/weather-qml/content/images/n900/cloud_rain_2_line.png b/weather-qml/content/images/n900/cloud_rain_2_line.png Binary files differnew file mode 100755 index 0000000..ddef2d4 --- /dev/null +++ b/weather-qml/content/images/n900/cloud_rain_2_line.png diff --git a/weather-qml/content/images/n900/cloud_rain_3.png b/weather-qml/content/images/n900/cloud_rain_3.png Binary files differnew file mode 100755 index 0000000..5f2a442 --- /dev/null +++ b/weather-qml/content/images/n900/cloud_rain_3.png diff --git a/weather-qml/content/images/n900/cloud_rain_3_line.png b/weather-qml/content/images/n900/cloud_rain_3_line.png Binary files differnew file mode 100755 index 0000000..862f631 --- /dev/null +++ b/weather-qml/content/images/n900/cloud_rain_3_line.png diff --git a/weather-qml/content/images/n900/cloud_storm_1.png b/weather-qml/content/images/n900/cloud_storm_1.png Binary files differnew file mode 100755 index 0000000..147656f --- /dev/null +++ b/weather-qml/content/images/n900/cloud_storm_1.png diff --git a/weather-qml/content/images/n900/cloud_storm_1_line.png b/weather-qml/content/images/n900/cloud_storm_1_line.png Binary files differnew file mode 100755 index 0000000..013a082 --- /dev/null +++ b/weather-qml/content/images/n900/cloud_storm_1_line.png diff --git a/weather-qml/content/images/n900/cloud_storm_2.png b/weather-qml/content/images/n900/cloud_storm_2.png Binary files differnew file mode 100755 index 0000000..2f02fa7 --- /dev/null +++ b/weather-qml/content/images/n900/cloud_storm_2.png diff --git a/weather-qml/content/images/n900/cloud_storm_2_line.png b/weather-qml/content/images/n900/cloud_storm_2_line.png Binary files differnew file mode 100755 index 0000000..51b38b1 --- /dev/null +++ b/weather-qml/content/images/n900/cloud_storm_2_line.png diff --git a/weather-qml/content/images/n900/cloud_storm_3.png b/weather-qml/content/images/n900/cloud_storm_3.png Binary files differnew file mode 100755 index 0000000..3bc4f02 --- /dev/null +++ b/weather-qml/content/images/n900/cloud_storm_3.png diff --git a/weather-qml/content/images/n900/cloud_storm_3_line.png b/weather-qml/content/images/n900/cloud_storm_3_line.png Binary files differnew file mode 100755 index 0000000..ad52b91 --- /dev/null +++ b/weather-qml/content/images/n900/cloud_storm_3_line.png diff --git a/weather-qml/content/images/n900/cloud_tstorm_1.png b/weather-qml/content/images/n900/cloud_tstorm_1.png Binary files differnew file mode 100755 index 0000000..4de4bc8 --- /dev/null +++ b/weather-qml/content/images/n900/cloud_tstorm_1.png diff --git a/weather-qml/content/images/n900/cloud_tstorm_1_line.png b/weather-qml/content/images/n900/cloud_tstorm_1_line.png Binary files differnew file mode 100755 index 0000000..013a082 --- /dev/null +++ b/weather-qml/content/images/n900/cloud_tstorm_1_line.png diff --git a/weather-qml/content/images/n900/cloud_tstorm_2.png b/weather-qml/content/images/n900/cloud_tstorm_2.png Binary files differnew file mode 100755 index 0000000..e3e60c7 --- /dev/null +++ b/weather-qml/content/images/n900/cloud_tstorm_2.png diff --git a/weather-qml/content/images/n900/cloud_tstorm_2_line.png b/weather-qml/content/images/n900/cloud_tstorm_2_line.png Binary files differnew file mode 100755 index 0000000..51b38b1 --- /dev/null +++ b/weather-qml/content/images/n900/cloud_tstorm_2_line.png diff --git a/weather-qml/content/images/n900/cold_sun.png b/weather-qml/content/images/n900/cold_sun.png Binary files differnew file mode 100755 index 0000000..1493215 --- /dev/null +++ b/weather-qml/content/images/n900/cold_sun.png diff --git a/weather-qml/content/images/n900/cold_sun_line.png b/weather-qml/content/images/n900/cold_sun_line.png Binary files differnew file mode 100755 index 0000000..f51062b --- /dev/null +++ b/weather-qml/content/images/n900/cold_sun_line.png diff --git a/weather-qml/content/images/n900/division_line.png b/weather-qml/content/images/n900/division_line.png Binary files differnew file mode 100755 index 0000000..896c69c --- /dev/null +++ b/weather-qml/content/images/n900/division_line.png diff --git a/weather-qml/content/images/n900/fog.png b/weather-qml/content/images/n900/fog.png Binary files differnew file mode 100755 index 0000000..1f95acf --- /dev/null +++ b/weather-qml/content/images/n900/fog.png diff --git a/weather-qml/content/images/n900/haze.png b/weather-qml/content/images/n900/haze.png Binary files differnew file mode 100755 index 0000000..2f53bd0 --- /dev/null +++ b/weather-qml/content/images/n900/haze.png diff --git a/weather-qml/content/images/n900/icon_max.png b/weather-qml/content/images/n900/icon_max.png Binary files differnew file mode 100755 index 0000000..6228c74 --- /dev/null +++ b/weather-qml/content/images/n900/icon_max.png diff --git a/weather-qml/content/images/n900/icon_min.png b/weather-qml/content/images/n900/icon_min.png Binary files differnew file mode 100755 index 0000000..919bf67 --- /dev/null +++ b/weather-qml/content/images/n900/icon_min.png diff --git a/weather-qml/content/images/n900/list_check.png b/weather-qml/content/images/n900/list_check.png Binary files differnew file mode 100755 index 0000000..5abbceb --- /dev/null +++ b/weather-qml/content/images/n900/list_check.png diff --git a/weather-qml/content/images/n900/list_item_bg.png b/weather-qml/content/images/n900/list_item_bg.png Binary files differnew file mode 100755 index 0000000..79f4bc0 --- /dev/null +++ b/weather-qml/content/images/n900/list_item_bg.png diff --git a/weather-qml/content/images/n900/list_item_selected_bg.png b/weather-qml/content/images/n900/list_item_selected_bg.png Binary files differnew file mode 100755 index 0000000..24ad847 --- /dev/null +++ b/weather-qml/content/images/n900/list_item_selected_bg.png diff --git a/weather-qml/content/images/n900/list_top.png b/weather-qml/content/images/n900/list_top.png Binary files differnew file mode 100755 index 0000000..faa8e97 --- /dev/null +++ b/weather-qml/content/images/n900/list_top.png diff --git a/weather-qml/content/images/n900/loading_1.png b/weather-qml/content/images/n900/loading_1.png Binary files differnew file mode 100755 index 0000000..446d187 --- /dev/null +++ b/weather-qml/content/images/n900/loading_1.png diff --git a/weather-qml/content/images/n900/loading_10.png b/weather-qml/content/images/n900/loading_10.png Binary files differnew file mode 100755 index 0000000..15f4e74 --- /dev/null +++ b/weather-qml/content/images/n900/loading_10.png diff --git a/weather-qml/content/images/n900/loading_11.png b/weather-qml/content/images/n900/loading_11.png Binary files differnew file mode 100755 index 0000000..a2913d5 --- /dev/null +++ b/weather-qml/content/images/n900/loading_11.png diff --git a/weather-qml/content/images/n900/loading_12.png b/weather-qml/content/images/n900/loading_12.png Binary files differnew file mode 100755 index 0000000..9e49661 --- /dev/null +++ b/weather-qml/content/images/n900/loading_12.png diff --git a/weather-qml/content/images/n900/loading_13.png b/weather-qml/content/images/n900/loading_13.png Binary files differnew file mode 100755 index 0000000..d8e9ae3 --- /dev/null +++ b/weather-qml/content/images/n900/loading_13.png diff --git a/weather-qml/content/images/n900/loading_14.png b/weather-qml/content/images/n900/loading_14.png Binary files differnew file mode 100755 index 0000000..8204828 --- /dev/null +++ b/weather-qml/content/images/n900/loading_14.png diff --git a/weather-qml/content/images/n900/loading_15.png b/weather-qml/content/images/n900/loading_15.png Binary files differnew file mode 100755 index 0000000..bcbf674 --- /dev/null +++ b/weather-qml/content/images/n900/loading_15.png diff --git a/weather-qml/content/images/n900/loading_16.png b/weather-qml/content/images/n900/loading_16.png Binary files differnew file mode 100755 index 0000000..fcc2c1b --- /dev/null +++ b/weather-qml/content/images/n900/loading_16.png diff --git a/weather-qml/content/images/n900/loading_17.png b/weather-qml/content/images/n900/loading_17.png Binary files differnew file mode 100755 index 0000000..6648e66 --- /dev/null +++ b/weather-qml/content/images/n900/loading_17.png diff --git a/weather-qml/content/images/n900/loading_18.png b/weather-qml/content/images/n900/loading_18.png Binary files differnew file mode 100755 index 0000000..19ab609 --- /dev/null +++ b/weather-qml/content/images/n900/loading_18.png diff --git a/weather-qml/content/images/n900/loading_19.png b/weather-qml/content/images/n900/loading_19.png Binary files differnew file mode 100755 index 0000000..54a16a3 --- /dev/null +++ b/weather-qml/content/images/n900/loading_19.png diff --git a/weather-qml/content/images/n900/loading_2.png b/weather-qml/content/images/n900/loading_2.png Binary files differnew file mode 100755 index 0000000..9957967 --- /dev/null +++ b/weather-qml/content/images/n900/loading_2.png diff --git a/weather-qml/content/images/n900/loading_20.png b/weather-qml/content/images/n900/loading_20.png Binary files differnew file mode 100755 index 0000000..fd0a7ba --- /dev/null +++ b/weather-qml/content/images/n900/loading_20.png diff --git a/weather-qml/content/images/n900/loading_21.png b/weather-qml/content/images/n900/loading_21.png Binary files differnew file mode 100755 index 0000000..c8ba99b --- /dev/null +++ b/weather-qml/content/images/n900/loading_21.png diff --git a/weather-qml/content/images/n900/loading_22.png b/weather-qml/content/images/n900/loading_22.png Binary files differnew file mode 100755 index 0000000..a95cc75 --- /dev/null +++ b/weather-qml/content/images/n900/loading_22.png diff --git a/weather-qml/content/images/n900/loading_23.png b/weather-qml/content/images/n900/loading_23.png Binary files differnew file mode 100755 index 0000000..2c17a33 --- /dev/null +++ b/weather-qml/content/images/n900/loading_23.png diff --git a/weather-qml/content/images/n900/loading_24.png b/weather-qml/content/images/n900/loading_24.png Binary files differnew file mode 100755 index 0000000..23f0562 --- /dev/null +++ b/weather-qml/content/images/n900/loading_24.png diff --git a/weather-qml/content/images/n900/loading_25.png b/weather-qml/content/images/n900/loading_25.png Binary files differnew file mode 100755 index 0000000..3011252 --- /dev/null +++ b/weather-qml/content/images/n900/loading_25.png diff --git a/weather-qml/content/images/n900/loading_3.png b/weather-qml/content/images/n900/loading_3.png Binary files differnew file mode 100755 index 0000000..4b14071 --- /dev/null +++ b/weather-qml/content/images/n900/loading_3.png diff --git a/weather-qml/content/images/n900/loading_4.png b/weather-qml/content/images/n900/loading_4.png Binary files differnew file mode 100755 index 0000000..1a4f43e --- /dev/null +++ b/weather-qml/content/images/n900/loading_4.png diff --git a/weather-qml/content/images/n900/loading_5.png b/weather-qml/content/images/n900/loading_5.png Binary files differnew file mode 100755 index 0000000..a5558c2 --- /dev/null +++ b/weather-qml/content/images/n900/loading_5.png diff --git a/weather-qml/content/images/n900/loading_6.png b/weather-qml/content/images/n900/loading_6.png Binary files differnew file mode 100755 index 0000000..bc75c0f --- /dev/null +++ b/weather-qml/content/images/n900/loading_6.png diff --git a/weather-qml/content/images/n900/loading_7.png b/weather-qml/content/images/n900/loading_7.png Binary files differnew file mode 100755 index 0000000..735562f --- /dev/null +++ b/weather-qml/content/images/n900/loading_7.png diff --git a/weather-qml/content/images/n900/loading_8.png b/weather-qml/content/images/n900/loading_8.png Binary files differnew file mode 100755 index 0000000..2c5e984 --- /dev/null +++ b/weather-qml/content/images/n900/loading_8.png diff --git a/weather-qml/content/images/n900/loading_9.png b/weather-qml/content/images/n900/loading_9.png Binary files differnew file mode 100755 index 0000000..4c7d957 --- /dev/null +++ b/weather-qml/content/images/n900/loading_9.png diff --git a/weather-qml/content/images/n900/minus_sign.png b/weather-qml/content/images/n900/minus_sign.png Binary files differnew file mode 100755 index 0000000..a91f055 --- /dev/null +++ b/weather-qml/content/images/n900/minus_sign.png diff --git a/weather-qml/content/images/n900/moon.png b/weather-qml/content/images/n900/moon.png Binary files differnew file mode 100755 index 0000000..0a8037d --- /dev/null +++ b/weather-qml/content/images/n900/moon.png diff --git a/weather-qml/content/images/n900/moon_line.png b/weather-qml/content/images/n900/moon_line.png Binary files differnew file mode 100755 index 0000000..449cb4a --- /dev/null +++ b/weather-qml/content/images/n900/moon_line.png diff --git a/weather-qml/content/images/n900/rain_01.png b/weather-qml/content/images/n900/rain_01.png Binary files differnew file mode 100755 index 0000000..c35f47a --- /dev/null +++ b/weather-qml/content/images/n900/rain_01.png diff --git a/weather-qml/content/images/n900/rain_02.png b/weather-qml/content/images/n900/rain_02.png Binary files differnew file mode 100755 index 0000000..cbc9a74 --- /dev/null +++ b/weather-qml/content/images/n900/rain_02.png diff --git a/weather-qml/content/images/n900/rain_03.png b/weather-qml/content/images/n900/rain_03.png Binary files differnew file mode 100755 index 0000000..9d36a7c --- /dev/null +++ b/weather-qml/content/images/n900/rain_03.png diff --git a/weather-qml/content/images/n900/scroll.png b/weather-qml/content/images/n900/scroll.png Binary files differnew file mode 100755 index 0000000..ff83da6 --- /dev/null +++ b/weather-qml/content/images/n900/scroll.png diff --git a/weather-qml/content/images/n900/scroll_knob.png b/weather-qml/content/images/n900/scroll_knob.png Binary files differnew file mode 100755 index 0000000..9a6bc28 --- /dev/null +++ b/weather-qml/content/images/n900/scroll_knob.png diff --git a/weather-qml/content/images/n900/snow_flake.png b/weather-qml/content/images/n900/snow_flake.png Binary files differnew file mode 100755 index 0000000..39c5751 --- /dev/null +++ b/weather-qml/content/images/n900/snow_flake.png diff --git a/weather-qml/content/images/n900/snow_flake_01.png b/weather-qml/content/images/n900/snow_flake_01.png Binary files differnew file mode 100755 index 0000000..39c5751 --- /dev/null +++ b/weather-qml/content/images/n900/snow_flake_01.png diff --git a/weather-qml/content/images/n900/snow_flake_02.png b/weather-qml/content/images/n900/snow_flake_02.png Binary files differnew file mode 100755 index 0000000..3aaeb24 --- /dev/null +++ b/weather-qml/content/images/n900/snow_flake_02.png diff --git a/weather-qml/content/images/n900/snow_flake_03.png b/weather-qml/content/images/n900/snow_flake_03.png Binary files differnew file mode 100755 index 0000000..a84c736 --- /dev/null +++ b/weather-qml/content/images/n900/snow_flake_03.png diff --git a/weather-qml/content/images/n900/snow_flake_04.png b/weather-qml/content/images/n900/snow_flake_04.png Binary files differnew file mode 100755 index 0000000..007d921 --- /dev/null +++ b/weather-qml/content/images/n900/snow_flake_04.png diff --git a/weather-qml/content/images/n900/snow_flake_05.png b/weather-qml/content/images/n900/snow_flake_05.png Binary files differnew file mode 100755 index 0000000..c833da1 --- /dev/null +++ b/weather-qml/content/images/n900/snow_flake_05.png diff --git a/weather-qml/content/images/n900/snow_flake_06.png b/weather-qml/content/images/n900/snow_flake_06.png Binary files differnew file mode 100755 index 0000000..2db4a02 --- /dev/null +++ b/weather-qml/content/images/n900/snow_flake_06.png diff --git a/weather-qml/content/images/n900/snow_flake_07.png b/weather-qml/content/images/n900/snow_flake_07.png Binary files differnew file mode 100755 index 0000000..e1a3bed --- /dev/null +++ b/weather-qml/content/images/n900/snow_flake_07.png diff --git a/weather-qml/content/images/n900/snow_flake_08.png b/weather-qml/content/images/n900/snow_flake_08.png Binary files differnew file mode 100755 index 0000000..5a6ac67 --- /dev/null +++ b/weather-qml/content/images/n900/snow_flake_08.png diff --git a/weather-qml/content/images/n900/snow_flake_09.png b/weather-qml/content/images/n900/snow_flake_09.png Binary files differnew file mode 100755 index 0000000..bbee2d9 --- /dev/null +++ b/weather-qml/content/images/n900/snow_flake_09.png diff --git a/weather-qml/content/images/n900/star_01.png b/weather-qml/content/images/n900/star_01.png Binary files differnew file mode 100755 index 0000000..9648e70 --- /dev/null +++ b/weather-qml/content/images/n900/star_01.png diff --git a/weather-qml/content/images/n900/star_02.png b/weather-qml/content/images/n900/star_02.png Binary files differnew file mode 100755 index 0000000..01e920f --- /dev/null +++ b/weather-qml/content/images/n900/star_02.png diff --git a/weather-qml/content/images/n900/star_03.png b/weather-qml/content/images/n900/star_03.png Binary files differnew file mode 100755 index 0000000..80816b0 --- /dev/null +++ b/weather-qml/content/images/n900/star_03.png diff --git a/weather-qml/content/images/n900/storm_01.png b/weather-qml/content/images/n900/storm_01.png Binary files differnew file mode 100755 index 0000000..68f8e89 --- /dev/null +++ b/weather-qml/content/images/n900/storm_01.png diff --git a/weather-qml/content/images/n900/storm_02.png b/weather-qml/content/images/n900/storm_02.png Binary files differnew file mode 100755 index 0000000..282e927 --- /dev/null +++ b/weather-qml/content/images/n900/storm_02.png diff --git a/weather-qml/content/images/n900/storm_03.png b/weather-qml/content/images/n900/storm_03.png Binary files differnew file mode 100755 index 0000000..a766587 --- /dev/null +++ b/weather-qml/content/images/n900/storm_03.png diff --git a/weather-qml/content/images/n900/storm_04.png b/weather-qml/content/images/n900/storm_04.png Binary files differnew file mode 100755 index 0000000..8a66d62 --- /dev/null +++ b/weather-qml/content/images/n900/storm_04.png diff --git a/weather-qml/content/images/n900/storm_05.png b/weather-qml/content/images/n900/storm_05.png Binary files differnew file mode 100755 index 0000000..9643b8a --- /dev/null +++ b/weather-qml/content/images/n900/storm_05.png diff --git a/weather-qml/content/images/n900/sun.png b/weather-qml/content/images/n900/sun.png Binary files differnew file mode 100755 index 0000000..304cae9 --- /dev/null +++ b/weather-qml/content/images/n900/sun.png diff --git a/weather-qml/content/images/n900/sun_line.png b/weather-qml/content/images/n900/sun_line.png Binary files differnew file mode 100755 index 0000000..f963c27 --- /dev/null +++ b/weather-qml/content/images/n900/sun_line.png diff --git a/weather-qml/content/images/n900/textfield_add_city.png b/weather-qml/content/images/n900/textfield_add_city.png Binary files differnew file mode 100755 index 0000000..6562849 --- /dev/null +++ b/weather-qml/content/images/n900/textfield_add_city.png diff --git a/weather-qml/content/images/n900/thunder.png b/weather-qml/content/images/n900/thunder.png Binary files differnew file mode 100755 index 0000000..d07b36b --- /dev/null +++ b/weather-qml/content/images/n900/thunder.png diff --git a/weather-qml/content/images/n900/title_bar.png b/weather-qml/content/images/n900/title_bar.png Binary files differnew file mode 100755 index 0000000..5943884 --- /dev/null +++ b/weather-qml/content/images/n900/title_bar.png diff --git a/weather-qml/content/images/n900/umbrella.png b/weather-qml/content/images/n900/umbrella.png Binary files differnew file mode 100755 index 0000000..48db979 --- /dev/null +++ b/weather-qml/content/images/n900/umbrella.png diff --git a/weather-qml/content/images/s60/bg_bottom_options.png b/weather-qml/content/images/s60/bg_bottom_options.png Binary files differnew file mode 100755 index 0000000..10a2877 --- /dev/null +++ b/weather-qml/content/images/s60/bg_bottom_options.png diff --git a/weather-qml/content/images/s60/bg_day_clear.png b/weather-qml/content/images/s60/bg_day_clear.png Binary files differnew file mode 100755 index 0000000..2609bbb --- /dev/null +++ b/weather-qml/content/images/s60/bg_day_clear.png diff --git a/weather-qml/content/images/s60/bg_day_heavyrain.png b/weather-qml/content/images/s60/bg_day_heavyrain.png Binary files differnew file mode 100755 index 0000000..6f0f80e --- /dev/null +++ b/weather-qml/content/images/s60/bg_day_heavyrain.png diff --git a/weather-qml/content/images/s60/bg_day_rain.png b/weather-qml/content/images/s60/bg_day_rain.png Binary files differnew file mode 100755 index 0000000..f3a578e --- /dev/null +++ b/weather-qml/content/images/s60/bg_day_rain.png diff --git a/weather-qml/content/images/s60/bg_loading.png b/weather-qml/content/images/s60/bg_loading.png Binary files differnew file mode 100755 index 0000000..aa9a5f8 --- /dev/null +++ b/weather-qml/content/images/s60/bg_loading.png diff --git a/weather-qml/content/images/s60/bg_night_clear.png b/weather-qml/content/images/s60/bg_night_clear.png Binary files differnew file mode 100755 index 0000000..bfe23ce --- /dev/null +++ b/weather-qml/content/images/s60/bg_night_clear.png diff --git a/weather-qml/content/images/s60/bg_night_rain.png b/weather-qml/content/images/s60/bg_night_rain.png Binary files differnew file mode 100755 index 0000000..db8ffba --- /dev/null +++ b/weather-qml/content/images/s60/bg_night_rain.png diff --git a/weather-qml/content/images/s60/bt_options_bg.png b/weather-qml/content/images/s60/bt_options_bg.png Binary files differnew file mode 100755 index 0000000..10a2877 --- /dev/null +++ b/weather-qml/content/images/s60/bt_options_bg.png diff --git a/weather-qml/content/images/s60/button_list_delete.png b/weather-qml/content/images/s60/button_list_delete.png Binary files differnew file mode 100755 index 0000000..81358e7 --- /dev/null +++ b/weather-qml/content/images/s60/button_list_delete.png diff --git a/weather-qml/content/images/s60/centigrades.png b/weather-qml/content/images/s60/centigrades.png Binary files differnew file mode 100755 index 0000000..fabfd9f --- /dev/null +++ b/weather-qml/content/images/s60/centigrades.png diff --git a/weather-qml/content/images/s60/city_name_background_bigger.png b/weather-qml/content/images/s60/city_name_background_bigger.png Binary files differnew file mode 100755 index 0000000..661e99b --- /dev/null +++ b/weather-qml/content/images/s60/city_name_background_bigger.png diff --git a/weather-qml/content/images/s60/city_panel_bg.png b/weather-qml/content/images/s60/city_panel_bg.png Binary files differnew file mode 100755 index 0000000..6dde03f --- /dev/null +++ b/weather-qml/content/images/s60/city_panel_bg.png diff --git a/weather-qml/content/images/s60/cloud_1.png b/weather-qml/content/images/s60/cloud_1.png Binary files differnew file mode 100755 index 0000000..dfab8e2 --- /dev/null +++ b/weather-qml/content/images/s60/cloud_1.png diff --git a/weather-qml/content/images/s60/cloud_1_line.png b/weather-qml/content/images/s60/cloud_1_line.png Binary files differnew file mode 100755 index 0000000..8a4b090 --- /dev/null +++ b/weather-qml/content/images/s60/cloud_1_line.png diff --git a/weather-qml/content/images/s60/cloud_2.png b/weather-qml/content/images/s60/cloud_2.png Binary files differnew file mode 100755 index 0000000..a219b5e --- /dev/null +++ b/weather-qml/content/images/s60/cloud_2.png diff --git a/weather-qml/content/images/s60/cloud_2_line.png b/weather-qml/content/images/s60/cloud_2_line.png Binary files differnew file mode 100755 index 0000000..b9b8ca3 --- /dev/null +++ b/weather-qml/content/images/s60/cloud_2_line.png diff --git a/weather-qml/content/images/s60/cloud_3.png b/weather-qml/content/images/s60/cloud_3.png Binary files differnew file mode 100755 index 0000000..45cde4d --- /dev/null +++ b/weather-qml/content/images/s60/cloud_3.png diff --git a/weather-qml/content/images/s60/cloud_3_line.png b/weather-qml/content/images/s60/cloud_3_line.png Binary files differnew file mode 100755 index 0000000..0486741 --- /dev/null +++ b/weather-qml/content/images/s60/cloud_3_line.png diff --git a/weather-qml/content/images/s60/cloud_rain_1.png b/weather-qml/content/images/s60/cloud_rain_1.png Binary files differnew file mode 100755 index 0000000..063be25 --- /dev/null +++ b/weather-qml/content/images/s60/cloud_rain_1.png diff --git a/weather-qml/content/images/s60/cloud_rain_1_line.png b/weather-qml/content/images/s60/cloud_rain_1_line.png Binary files differnew file mode 100755 index 0000000..204207b --- /dev/null +++ b/weather-qml/content/images/s60/cloud_rain_1_line.png diff --git a/weather-qml/content/images/s60/cloud_rain_2.png b/weather-qml/content/images/s60/cloud_rain_2.png Binary files differnew file mode 100755 index 0000000..fc7a9c3 --- /dev/null +++ b/weather-qml/content/images/s60/cloud_rain_2.png diff --git a/weather-qml/content/images/s60/cloud_rain_2_line.png b/weather-qml/content/images/s60/cloud_rain_2_line.png Binary files differnew file mode 100755 index 0000000..ddef2d4 --- /dev/null +++ b/weather-qml/content/images/s60/cloud_rain_2_line.png diff --git a/weather-qml/content/images/s60/cloud_rain_3.png b/weather-qml/content/images/s60/cloud_rain_3.png Binary files differnew file mode 100755 index 0000000..89b64dd --- /dev/null +++ b/weather-qml/content/images/s60/cloud_rain_3.png diff --git a/weather-qml/content/images/s60/cloud_rain_3_line.png b/weather-qml/content/images/s60/cloud_rain_3_line.png Binary files differnew file mode 100755 index 0000000..862f631 --- /dev/null +++ b/weather-qml/content/images/s60/cloud_rain_3_line.png diff --git a/weather-qml/content/images/s60/cloud_storm_1.png b/weather-qml/content/images/s60/cloud_storm_1.png Binary files differnew file mode 100755 index 0000000..77ef7c1 --- /dev/null +++ b/weather-qml/content/images/s60/cloud_storm_1.png diff --git a/weather-qml/content/images/s60/cloud_storm_1_line.png b/weather-qml/content/images/s60/cloud_storm_1_line.png Binary files differnew file mode 100755 index 0000000..013a082 --- /dev/null +++ b/weather-qml/content/images/s60/cloud_storm_1_line.png diff --git a/weather-qml/content/images/s60/cloud_storm_2.png b/weather-qml/content/images/s60/cloud_storm_2.png Binary files differnew file mode 100755 index 0000000..1ab2ea6 --- /dev/null +++ b/weather-qml/content/images/s60/cloud_storm_2.png diff --git a/weather-qml/content/images/s60/cloud_storm_2_line.png b/weather-qml/content/images/s60/cloud_storm_2_line.png Binary files differnew file mode 100755 index 0000000..51b38b1 --- /dev/null +++ b/weather-qml/content/images/s60/cloud_storm_2_line.png diff --git a/weather-qml/content/images/s60/cloud_storm_3.png b/weather-qml/content/images/s60/cloud_storm_3.png Binary files differnew file mode 100755 index 0000000..e896b01 --- /dev/null +++ b/weather-qml/content/images/s60/cloud_storm_3.png diff --git a/weather-qml/content/images/s60/cloud_storm_3_line.png b/weather-qml/content/images/s60/cloud_storm_3_line.png Binary files differnew file mode 100755 index 0000000..ad52b91 --- /dev/null +++ b/weather-qml/content/images/s60/cloud_storm_3_line.png diff --git a/weather-qml/content/images/s60/cloud_tstorm_1.png b/weather-qml/content/images/s60/cloud_tstorm_1.png Binary files differnew file mode 100755 index 0000000..784a4be --- /dev/null +++ b/weather-qml/content/images/s60/cloud_tstorm_1.png diff --git a/weather-qml/content/images/s60/cloud_tstorm_1_line.png b/weather-qml/content/images/s60/cloud_tstorm_1_line.png Binary files differnew file mode 100755 index 0000000..013a082 --- /dev/null +++ b/weather-qml/content/images/s60/cloud_tstorm_1_line.png diff --git a/weather-qml/content/images/s60/cloud_tstorm_2.png b/weather-qml/content/images/s60/cloud_tstorm_2.png Binary files differnew file mode 100755 index 0000000..130c3cd --- /dev/null +++ b/weather-qml/content/images/s60/cloud_tstorm_2.png diff --git a/weather-qml/content/images/s60/cloud_tstorm_2_line.png b/weather-qml/content/images/s60/cloud_tstorm_2_line.png Binary files differnew file mode 100755 index 0000000..51b38b1 --- /dev/null +++ b/weather-qml/content/images/s60/cloud_tstorm_2_line.png diff --git a/weather-qml/content/images/s60/cold_sun.png b/weather-qml/content/images/s60/cold_sun.png Binary files differnew file mode 100755 index 0000000..deefdef --- /dev/null +++ b/weather-qml/content/images/s60/cold_sun.png diff --git a/weather-qml/content/images/s60/cold_sun_line.png b/weather-qml/content/images/s60/cold_sun_line.png Binary files differnew file mode 100755 index 0000000..f51062b --- /dev/null +++ b/weather-qml/content/images/s60/cold_sun_line.png diff --git a/weather-qml/content/images/s60/division_line.png b/weather-qml/content/images/s60/division_line.png Binary files differnew file mode 100755 index 0000000..896c69c --- /dev/null +++ b/weather-qml/content/images/s60/division_line.png diff --git a/weather-qml/content/images/s60/fog.png b/weather-qml/content/images/s60/fog.png Binary files differnew file mode 100755 index 0000000..6066207 --- /dev/null +++ b/weather-qml/content/images/s60/fog.png diff --git a/weather-qml/content/images/s60/haze.png b/weather-qml/content/images/s60/haze.png Binary files differnew file mode 100755 index 0000000..58c1532 --- /dev/null +++ b/weather-qml/content/images/s60/haze.png diff --git a/weather-qml/content/images/s60/icon_max.png b/weather-qml/content/images/s60/icon_max.png Binary files differnew file mode 100755 index 0000000..e6910d1 --- /dev/null +++ b/weather-qml/content/images/s60/icon_max.png diff --git a/weather-qml/content/images/s60/icon_min.png b/weather-qml/content/images/s60/icon_min.png Binary files differnew file mode 100755 index 0000000..04f2819 --- /dev/null +++ b/weather-qml/content/images/s60/icon_min.png diff --git a/weather-qml/content/images/s60/list_item_bg.png b/weather-qml/content/images/s60/list_item_bg.png Binary files differnew file mode 100755 index 0000000..4b61700 --- /dev/null +++ b/weather-qml/content/images/s60/list_item_bg.png diff --git a/weather-qml/content/images/s60/list_item_pressed_bg.png b/weather-qml/content/images/s60/list_item_pressed_bg.png Binary files differnew file mode 100755 index 0000000..2941e00 --- /dev/null +++ b/weather-qml/content/images/s60/list_item_pressed_bg.png diff --git a/weather-qml/content/images/s60/list_item_selected_bg.png b/weather-qml/content/images/s60/list_item_selected_bg.png Binary files differnew file mode 100755 index 0000000..aa4ffb9 --- /dev/null +++ b/weather-qml/content/images/s60/list_item_selected_bg.png diff --git a/weather-qml/content/images/s60/list_top.png b/weather-qml/content/images/s60/list_top.png Binary files differnew file mode 100755 index 0000000..b943e0b --- /dev/null +++ b/weather-qml/content/images/s60/list_top.png diff --git a/weather-qml/content/images/s60/loading_1.png b/weather-qml/content/images/s60/loading_1.png Binary files differnew file mode 100755 index 0000000..c06c275 --- /dev/null +++ b/weather-qml/content/images/s60/loading_1.png diff --git a/weather-qml/content/images/s60/loading_10.png b/weather-qml/content/images/s60/loading_10.png Binary files differnew file mode 100755 index 0000000..22d483e --- /dev/null +++ b/weather-qml/content/images/s60/loading_10.png diff --git a/weather-qml/content/images/s60/loading_11.png b/weather-qml/content/images/s60/loading_11.png Binary files differnew file mode 100755 index 0000000..3723524 --- /dev/null +++ b/weather-qml/content/images/s60/loading_11.png diff --git a/weather-qml/content/images/s60/loading_12.png b/weather-qml/content/images/s60/loading_12.png Binary files differnew file mode 100755 index 0000000..bc8cb15 --- /dev/null +++ b/weather-qml/content/images/s60/loading_12.png diff --git a/weather-qml/content/images/s60/loading_13.png b/weather-qml/content/images/s60/loading_13.png Binary files differnew file mode 100755 index 0000000..6b0999a --- /dev/null +++ b/weather-qml/content/images/s60/loading_13.png diff --git a/weather-qml/content/images/s60/loading_14.png b/weather-qml/content/images/s60/loading_14.png Binary files differnew file mode 100755 index 0000000..b93671d --- /dev/null +++ b/weather-qml/content/images/s60/loading_14.png diff --git a/weather-qml/content/images/s60/loading_15.png b/weather-qml/content/images/s60/loading_15.png Binary files differnew file mode 100755 index 0000000..5e6cf81 --- /dev/null +++ b/weather-qml/content/images/s60/loading_15.png diff --git a/weather-qml/content/images/s60/loading_16.png b/weather-qml/content/images/s60/loading_16.png Binary files differnew file mode 100755 index 0000000..5bb7fce --- /dev/null +++ b/weather-qml/content/images/s60/loading_16.png diff --git a/weather-qml/content/images/s60/loading_17.png b/weather-qml/content/images/s60/loading_17.png Binary files differnew file mode 100755 index 0000000..5cdf620 --- /dev/null +++ b/weather-qml/content/images/s60/loading_17.png diff --git a/weather-qml/content/images/s60/loading_18.png b/weather-qml/content/images/s60/loading_18.png Binary files differnew file mode 100755 index 0000000..c0fe963 --- /dev/null +++ b/weather-qml/content/images/s60/loading_18.png diff --git a/weather-qml/content/images/s60/loading_19.png b/weather-qml/content/images/s60/loading_19.png Binary files differnew file mode 100755 index 0000000..2ba879b --- /dev/null +++ b/weather-qml/content/images/s60/loading_19.png diff --git a/weather-qml/content/images/s60/loading_2.png b/weather-qml/content/images/s60/loading_2.png Binary files differnew file mode 100755 index 0000000..d8f06e1 --- /dev/null +++ b/weather-qml/content/images/s60/loading_2.png diff --git a/weather-qml/content/images/s60/loading_20.png b/weather-qml/content/images/s60/loading_20.png Binary files differnew file mode 100755 index 0000000..d1b665b --- /dev/null +++ b/weather-qml/content/images/s60/loading_20.png diff --git a/weather-qml/content/images/s60/loading_21.png b/weather-qml/content/images/s60/loading_21.png Binary files differnew file mode 100755 index 0000000..5d8f865 --- /dev/null +++ b/weather-qml/content/images/s60/loading_21.png diff --git a/weather-qml/content/images/s60/loading_22.png b/weather-qml/content/images/s60/loading_22.png Binary files differnew file mode 100755 index 0000000..ab23e6d --- /dev/null +++ b/weather-qml/content/images/s60/loading_22.png diff --git a/weather-qml/content/images/s60/loading_23.png b/weather-qml/content/images/s60/loading_23.png Binary files differnew file mode 100755 index 0000000..0da026d --- /dev/null +++ b/weather-qml/content/images/s60/loading_23.png diff --git a/weather-qml/content/images/s60/loading_24.png b/weather-qml/content/images/s60/loading_24.png Binary files differnew file mode 100755 index 0000000..09a123f --- /dev/null +++ b/weather-qml/content/images/s60/loading_24.png diff --git a/weather-qml/content/images/s60/loading_25.png b/weather-qml/content/images/s60/loading_25.png Binary files differnew file mode 100755 index 0000000..9946381 --- /dev/null +++ b/weather-qml/content/images/s60/loading_25.png diff --git a/weather-qml/content/images/s60/loading_3.png b/weather-qml/content/images/s60/loading_3.png Binary files differnew file mode 100755 index 0000000..55bb39e --- /dev/null +++ b/weather-qml/content/images/s60/loading_3.png diff --git a/weather-qml/content/images/s60/loading_4.png b/weather-qml/content/images/s60/loading_4.png Binary files differnew file mode 100755 index 0000000..6036e50 --- /dev/null +++ b/weather-qml/content/images/s60/loading_4.png diff --git a/weather-qml/content/images/s60/loading_5.png b/weather-qml/content/images/s60/loading_5.png Binary files differnew file mode 100755 index 0000000..28e1994 --- /dev/null +++ b/weather-qml/content/images/s60/loading_5.png diff --git a/weather-qml/content/images/s60/loading_6.png b/weather-qml/content/images/s60/loading_6.png Binary files differnew file mode 100755 index 0000000..18cf24c --- /dev/null +++ b/weather-qml/content/images/s60/loading_6.png diff --git a/weather-qml/content/images/s60/loading_7.png b/weather-qml/content/images/s60/loading_7.png Binary files differnew file mode 100755 index 0000000..a43d161 --- /dev/null +++ b/weather-qml/content/images/s60/loading_7.png diff --git a/weather-qml/content/images/s60/loading_8.png b/weather-qml/content/images/s60/loading_8.png Binary files differnew file mode 100755 index 0000000..99706c2 --- /dev/null +++ b/weather-qml/content/images/s60/loading_8.png diff --git a/weather-qml/content/images/s60/loading_9.png b/weather-qml/content/images/s60/loading_9.png Binary files differnew file mode 100755 index 0000000..113aa50 --- /dev/null +++ b/weather-qml/content/images/s60/loading_9.png diff --git a/weather-qml/content/images/s60/minus_sign.png b/weather-qml/content/images/s60/minus_sign.png Binary files differnew file mode 100755 index 0000000..6a9c06a --- /dev/null +++ b/weather-qml/content/images/s60/minus_sign.png diff --git a/weather-qml/content/images/s60/mist_01.png b/weather-qml/content/images/s60/mist_01.png Binary files differnew file mode 100755 index 0000000..c3b5d5c --- /dev/null +++ b/weather-qml/content/images/s60/mist_01.png diff --git a/weather-qml/content/images/s60/mist_02.png b/weather-qml/content/images/s60/mist_02.png Binary files differnew file mode 100755 index 0000000..63b15d8 --- /dev/null +++ b/weather-qml/content/images/s60/mist_02.png diff --git a/weather-qml/content/images/s60/mist_03.png b/weather-qml/content/images/s60/mist_03.png Binary files differnew file mode 100755 index 0000000..7e67747 --- /dev/null +++ b/weather-qml/content/images/s60/mist_03.png diff --git a/weather-qml/content/images/s60/mist_04.png b/weather-qml/content/images/s60/mist_04.png Binary files differnew file mode 100755 index 0000000..42bb6b8 --- /dev/null +++ b/weather-qml/content/images/s60/mist_04.png diff --git a/weather-qml/content/images/s60/mist_05.png b/weather-qml/content/images/s60/mist_05.png Binary files differnew file mode 100755 index 0000000..636b4a6 --- /dev/null +++ b/weather-qml/content/images/s60/mist_05.png diff --git a/weather-qml/content/images/s60/moon.png b/weather-qml/content/images/s60/moon.png Binary files differnew file mode 100755 index 0000000..5862179 --- /dev/null +++ b/weather-qml/content/images/s60/moon.png diff --git a/weather-qml/content/images/s60/moon_line.png b/weather-qml/content/images/s60/moon_line.png Binary files differnew file mode 100755 index 0000000..449cb4a --- /dev/null +++ b/weather-qml/content/images/s60/moon_line.png diff --git a/weather-qml/content/images/s60/na_icon.png b/weather-qml/content/images/s60/na_icon.png Binary files differnew file mode 100755 index 0000000..2a7877f --- /dev/null +++ b/weather-qml/content/images/s60/na_icon.png diff --git a/weather-qml/content/images/s60/na_icon_line.png b/weather-qml/content/images/s60/na_icon_line.png Binary files differnew file mode 100755 index 0000000..449cb4a --- /dev/null +++ b/weather-qml/content/images/s60/na_icon_line.png diff --git a/weather-qml/content/images/s60/rain_01.png b/weather-qml/content/images/s60/rain_01.png Binary files differnew file mode 100755 index 0000000..04ec51a --- /dev/null +++ b/weather-qml/content/images/s60/rain_01.png diff --git a/weather-qml/content/images/s60/rain_02.png b/weather-qml/content/images/s60/rain_02.png Binary files differnew file mode 100755 index 0000000..fcc9e7e --- /dev/null +++ b/weather-qml/content/images/s60/rain_02.png diff --git a/weather-qml/content/images/s60/rain_03.png b/weather-qml/content/images/s60/rain_03.png Binary files differnew file mode 100755 index 0000000..4ab82aa --- /dev/null +++ b/weather-qml/content/images/s60/rain_03.png diff --git a/weather-qml/content/images/s60/rain_04.png b/weather-qml/content/images/s60/rain_04.png Binary files differnew file mode 100755 index 0000000..0cd9506 --- /dev/null +++ b/weather-qml/content/images/s60/rain_04.png diff --git a/weather-qml/content/images/s60/rain_05.png b/weather-qml/content/images/s60/rain_05.png Binary files differnew file mode 100755 index 0000000..cf59516 --- /dev/null +++ b/weather-qml/content/images/s60/rain_05.png diff --git a/weather-qml/content/images/s60/scroll.png b/weather-qml/content/images/s60/scroll.png Binary files differnew file mode 100755 index 0000000..8ebce0f --- /dev/null +++ b/weather-qml/content/images/s60/scroll.png diff --git a/weather-qml/content/images/s60/scroll_knob.png b/weather-qml/content/images/s60/scroll_knob.png Binary files differnew file mode 100755 index 0000000..379e54a --- /dev/null +++ b/weather-qml/content/images/s60/scroll_knob.png diff --git a/weather-qml/content/images/s60/star_01.png b/weather-qml/content/images/s60/star_01.png Binary files differnew file mode 100755 index 0000000..6e60dcc --- /dev/null +++ b/weather-qml/content/images/s60/star_01.png diff --git a/weather-qml/content/images/s60/star_02.png b/weather-qml/content/images/s60/star_02.png Binary files differnew file mode 100755 index 0000000..6ca331a --- /dev/null +++ b/weather-qml/content/images/s60/star_02.png diff --git a/weather-qml/content/images/s60/star_03.png b/weather-qml/content/images/s60/star_03.png Binary files differnew file mode 100755 index 0000000..f8ebb43 --- /dev/null +++ b/weather-qml/content/images/s60/star_03.png diff --git a/weather-qml/content/images/s60/storm_01.png b/weather-qml/content/images/s60/storm_01.png Binary files differnew file mode 100755 index 0000000..436df98 --- /dev/null +++ b/weather-qml/content/images/s60/storm_01.png diff --git a/weather-qml/content/images/s60/storm_02.png b/weather-qml/content/images/s60/storm_02.png Binary files differnew file mode 100755 index 0000000..16da93f --- /dev/null +++ b/weather-qml/content/images/s60/storm_02.png diff --git a/weather-qml/content/images/s60/storm_03.png b/weather-qml/content/images/s60/storm_03.png Binary files differnew file mode 100755 index 0000000..7ca4192 --- /dev/null +++ b/weather-qml/content/images/s60/storm_03.png diff --git a/weather-qml/content/images/s60/storm_04.png b/weather-qml/content/images/s60/storm_04.png Binary files differnew file mode 100755 index 0000000..f2ba7ce --- /dev/null +++ b/weather-qml/content/images/s60/storm_04.png diff --git a/weather-qml/content/images/s60/storm_05.png b/weather-qml/content/images/s60/storm_05.png Binary files differnew file mode 100755 index 0000000..c35fd7f --- /dev/null +++ b/weather-qml/content/images/s60/storm_05.png diff --git a/weather-qml/content/images/s60/sun.png b/weather-qml/content/images/s60/sun.png Binary files differnew file mode 100755 index 0000000..f99abdf --- /dev/null +++ b/weather-qml/content/images/s60/sun.png diff --git a/weather-qml/content/images/s60/sun_line.png b/weather-qml/content/images/s60/sun_line.png Binary files differnew file mode 100755 index 0000000..f963c27 --- /dev/null +++ b/weather-qml/content/images/s60/sun_line.png diff --git a/weather-qml/content/images/s60/thunder.png b/weather-qml/content/images/s60/thunder.png Binary files differnew file mode 100755 index 0000000..de95d9a --- /dev/null +++ b/weather-qml/content/images/s60/thunder.png diff --git a/weather-qml/content/images/s60/umbrella.png b/weather-qml/content/images/s60/umbrella.png Binary files differnew file mode 100755 index 0000000..afc79e4 --- /dev/null +++ b/weather-qml/content/images/s60/umbrella.png |