Changeset View
Changeset View
Standalone View
Standalone View
applets/digital-clock/package/contents/ui/configAppearance.qml
Show First 20 Lines • Show All 223 Lines • ▼ Show 20 Line(s) | 222 | if (current) { | |||
---|---|---|---|---|---|
224 | appearancePage.configurationChanged() | 224 | appearancePage.configurationChanged() | ||
225 | } | 225 | } | ||
226 | } | 226 | } | ||
227 | } | 227 | } | ||
228 | 228 | | |||
229 | QtControls.Button { | 229 | QtControls.Button { | ||
230 | id: boldCheckBox | 230 | id: boldCheckBox | ||
231 | QtControls.ToolTip { | 231 | QtControls.ToolTip { | ||
232 | id: boldTooltip | ||||
232 | text: i18n("Bold text") | 233 | text: i18n("Bold text") | ||
233 | } | 234 | } | ||
234 | icon.name: "format-text-bold" | 235 | icon.name: "format-text-bold" | ||
235 | checkable: true | 236 | checkable: true | ||
236 | Accessible.name: tooltip | 237 | Accessible.name: boldTooltip.text | ||
237 | } | 238 | } | ||
238 | 239 | | |||
239 | QtControls.Button { | 240 | QtControls.Button { | ||
240 | id: italicCheckBox | 241 | id: italicCheckBox | ||
241 | QtControls.ToolTip { | 242 | QtControls.ToolTip { | ||
243 | id: italicTooltip | ||||
242 | text: i18n("Italic text") | 244 | text: i18n("Italic text") | ||
243 | } | 245 | } | ||
244 | icon.name: "format-text-italic" | 246 | icon.name: "format-text-italic" | ||
245 | checkable: true | 247 | checkable: true | ||
246 | Accessible.name: tooltip | 248 | Accessible.name: italicTooltip.text | ||
247 | } | 249 | } | ||
248 | } | 250 | } | ||
249 | } | 251 | } | ||
250 | Item { | 252 | Item { | ||
251 | QtLayouts.Layout.fillHeight: true | 253 | QtLayouts.Layout.fillHeight: true | ||
252 | } | 254 | } | ||
253 | 255 | | |||
254 | Component.onCompleted: { | 256 | Component.onCompleted: { | ||
255 | if (plasmoid.configuration.displayTimezoneAsCode) { | 257 | if (plasmoid.configuration.displayTimezoneAsCode) { | ||
256 | timezoneCodeRadio.checked = true; | 258 | timezoneCodeRadio.checked = true; | ||
257 | } else { | 259 | } else { | ||
258 | timezoneCityRadio.checked = true; | 260 | timezoneCityRadio.checked = true; | ||
259 | } | 261 | } | ||
260 | } | 262 | } | ||
261 | } | 263 | } |