Changeset View
Changeset View
Standalone View
Standalone View
kcms/notifications/package/contents/ui/main.qml
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Line(s) | 29 | KCM.SimpleKCM { | |||
---|---|---|---|---|---|
42 | Binding { | 42 | Binding { | ||
43 | target: kcm | 43 | target: kcm | ||
44 | property: "needsSave" | 44 | property: "needsSave" | ||
45 | value: kcm.settings.dirty // TODO or other stuff | 45 | value: kcm.settings.dirty // TODO or other stuff | ||
46 | } | 46 | } | ||
47 | 47 | | |||
48 | Kirigami.FormLayout { | 48 | Kirigami.FormLayout { | ||
49 | QtControls.CheckBox { | 49 | QtControls.CheckBox { | ||
50 | Kirigami.FormData.label: i18n("Critical notifications:") | 50 | Kirigami.FormData.label: i18n("Do not disturb:") | ||
51 | text: i18n("Show in do not disturb mode") | 51 | text: i18nc("Do not disturb when screens are mirrored", "When screens are mirrored") | ||
52 | checked: kcm.settings.inhibitNotificationsWhenScreensMirrored | ||||
53 | onClicked: kcm.settings.inhibitNotificationsWhenScreensMirrored = checked | ||||
54 | } | ||||
55 | | ||||
56 | QtControls.CheckBox { | ||||
57 | text: i18n("Show critical notifications") | ||||
52 | checked: kcm.settings.criticalPopupsInDoNotDisturbMode | 58 | checked: kcm.settings.criticalPopupsInDoNotDisturbMode | ||
53 | onClicked: kcm.settings.criticalPopupsInDoNotDisturbMode = checked | 59 | onClicked: kcm.settings.criticalPopupsInDoNotDisturbMode = checked | ||
54 | } | 60 | } | ||
55 | 61 | | |||
56 | QtControls.CheckBox { | 62 | QtControls.CheckBox { | ||
63 | Kirigami.FormData.label: i18n("Critical notifications:") | ||||
57 | text: i18n("Always keep on top") | 64 | text: i18n("Always keep on top") | ||
58 | checked: kcm.settings.keepCriticalAlwaysOnTop | 65 | checked: kcm.settings.keepCriticalAlwaysOnTop | ||
59 | onClicked: kcm.settings.keepCriticalAlwaysOnTop = checked | 66 | onClicked: kcm.settings.keepCriticalAlwaysOnTop = checked | ||
60 | } | 67 | } | ||
61 | 68 | | |||
62 | QtControls.CheckBox { | 69 | QtControls.CheckBox { | ||
63 | Kirigami.FormData.label: i18n("Low priority notifications:") | 70 | Kirigami.FormData.label: i18n("Low priority notifications:") | ||
64 | text: i18n("Show popup") | 71 | text: i18n("Show popup") | ||
▲ Show 20 Lines • Show All 122 Lines • Show Last 20 Lines |