summaryrefslogtreecommitdiffstats
path: root/weather-qml/CityModel.qml
diff options
context:
space:
mode:
Diffstat (limited to 'weather-qml/CityModel.qml')
-rw-r--r--weather-qml/CityModel.qml183
1 files changed, 183 insertions, 0 deletions
diff --git a/weather-qml/CityModel.qml b/weather-qml/CityModel.qml
new file mode 100644
index 0000000..d4760a8
--- /dev/null
+++ b/weather-qml/CityModel.qml
@@ -0,0 +1,183 @@
+import Qt 4.6
+
+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"
+ }
+}