Changeset View
Changeset View
Standalone View
Standalone View
kcmkwin/kwindesktop/package/contents/ui/main.qml
Show First 20 Lines • Show All 210 Lines • ▼ Show 20 Line(s) | 206 | QtControls.CheckBox { | |||
---|---|---|---|---|---|
211 | checked: kcm.osdEnabled | 211 | checked: kcm.osdEnabled | ||
212 | 212 | | |||
213 | onCheckedChanged: kcm.osdEnabled = checked | 213 | onCheckedChanged: kcm.osdEnabled = checked | ||
214 | } | 214 | } | ||
215 | 215 | | |||
216 | QtControls.SpinBox { | 216 | QtControls.SpinBox { | ||
217 | id: osdDuration | 217 | id: osdDuration | ||
218 | 218 | | |||
219 | enabled: osdEnabled.checked | ||||
220 | | ||||
219 | from: 0 | 221 | from: 0 | ||
220 | to: 10000 | 222 | to: 10000 | ||
221 | stepSize: 100 | 223 | stepSize: 100 | ||
222 | 224 | | |||
223 | textFromValue: function(value, locale) { return i18n("%1 ms", value)} | 225 | textFromValue: function(value, locale) { return i18n("%1 ms", value)} | ||
224 | 226 | | |||
225 | value: kcm.osdDuration | 227 | value: kcm.osdDuration | ||
226 | 228 | | |||
Show All 27 Lines |