more icons
This commit is contained in:
parent
ed78b6b3f5
commit
736979c4dc
3 changed files with 12 additions and 5 deletions
|
|
@ -14,11 +14,18 @@ Singleton {
|
|||
property bool fontsLoaded: false
|
||||
|
||||
property var icons: {
|
||||
// weather
|
||||
"sunny": "\ue30d",
|
||||
"partly_cloudy": "\ue302",
|
||||
"cloud": "\ue312",
|
||||
"foggy": "\ue311",
|
||||
"rainy": "\ue318"
|
||||
"rainy": "\ue318",
|
||||
"snowy": "\ue319",
|
||||
"thunderstom": "\ue31d",
|
||||
|
||||
"power": "\uf011",
|
||||
"gear": "\uf013",
|
||||
"close": "\uf00D"
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -241,7 +241,7 @@ Singleton {
|
|||
if (code >= 51 && code <= 67)
|
||||
return FontService.icons["rainy"]
|
||||
if (code >= 71 && code <= 77)
|
||||
return FontService.icons["weather_snowy"]
|
||||
return FontService.icons["snowy"]
|
||||
if (code >= 80 && code <= 82)
|
||||
return FontService.icons["rainy"]
|
||||
if (code >= 95 && code <= 99)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue