Changeset View
Changeset View
Standalone View
Standalone View
applets/calendar/package/contents/ui/configGeneral.qml
Show First 20 Lines • Show All 46 Lines • ▼ Show 20 Line(s) | 25 | Kirigami.FormLayout { | |||
---|---|---|---|---|---|
47 | 47 | | |||
48 | 48 | | |||
49 | QtControls.RadioButton { | 49 | QtControls.RadioButton { | ||
50 | Kirigami.FormData.label: i18nc("What information is shown in the calendar icon", "Compact version:") | 50 | Kirigami.FormData.label: i18nc("What information is shown in the calendar icon", "Compact version:") | ||
51 | 51 | | |||
52 | text: i18nc("Show the number of the day (eg. 31) in the icon", "Show day of the month") | 52 | text: i18nc("Show the number of the day (eg. 31) in the icon", "Show day of the month") | ||
53 | 53 | | |||
54 | checked: cfg_compactDisplay == "d" | 54 | checked: cfg_compactDisplay == "d" | ||
55 | onCheckedChanged: if (checked) cfg_compactDisplay = "d" | 55 | function onCheckedChanged() { if (checked) cfg_compactDisplay = "d" } | ||
56 | } | 56 | } | ||
57 | QtControls.RadioButton { | 57 | QtControls.RadioButton { | ||
58 | text: i18nc("Show the week number (eg. 50) in the icon", "Show week number") | 58 | text: i18nc("Show the week number (eg. 50) in the icon", "Show week number") | ||
59 | 59 | | |||
60 | checked: cfg_compactDisplay == "w" | 60 | checked: cfg_compactDisplay == "w" | ||
61 | onCheckedChanged: if (checked) cfg_compactDisplay = "w" | 61 | function onCheckedChanged() { if (checked) cfg_compactDisplay = "w" } | ||
62 | } | 62 | } | ||
63 | } | 63 | } |