Changeset View
Changeset View
Standalone View
Standalone View
applets/weather/package/contents/ui/config/ConfigWeatherStation.qml
Show First 20 Lines • Show All 94 Lines • ▼ Show 20 Line(s) | 94 | QtControls.SpinBox { | |||
---|---|---|---|---|---|
95 | id: updateIntervalSpin | 95 | id: updateIntervalSpin | ||
96 | 96 | | |||
97 | Kirigami.FormData.label: i18nc("@label:spinbox", "Update every:") | 97 | Kirigami.FormData.label: i18nc("@label:spinbox", "Update every:") | ||
98 | 98 | | |||
99 | textFromValue: function(value) { | 99 | textFromValue: function(value) { | ||
100 | return (i18np("%1 minute", "%1 minutes", value)); | 100 | return (i18np("%1 minute", "%1 minutes", value)); | ||
101 | } | 101 | } | ||
102 | 102 | | |||
103 | stepSize: 5 | | |||
104 | from: 30 | 103 | from: 30 | ||
105 | to: 3600 | 104 | to: 3600 | ||
105 | editable: true | ||||
106 | 106 | | |||
107 | onValueChanged: weatherStationConfigPage.configurationChanged(); | 107 | onValueChanged: weatherStationConfigPage.configurationChanged(); | ||
108 | } | 108 | } | ||
109 | } | 109 | } |