Changeset View
Changeset View
Standalone View
Standalone View
applet/contents/ui/ConfigGeneral.qml
Show All 23 Lines | |||||
24 | 24 | | |||
25 | import org.kde.kirigami 2.5 as Kirigami | 25 | import org.kde.kirigami 2.5 as Kirigami | ||
26 | 26 | | |||
27 | import org.kde.plasma.private.volume 0.1 | 27 | import org.kde.plasma.private.volume 0.1 | ||
28 | 28 | | |||
29 | Kirigami.FormLayout { | 29 | Kirigami.FormLayout { | ||
30 | property alias cfg_volumeStep: volumeStep.value | 30 | property alias cfg_volumeStep: volumeStep.value | ||
31 | property alias cfg_volumeFeedback: volumeFeedback.checked | 31 | property alias cfg_volumeFeedback: volumeFeedback.checked | ||
32 | property alias cfg_volumeOsd: volumeOsd.checked | ||||
33 | property alias cfg_micOsd: micOsd.checked | ||||
34 | property alias cfg_muteOsd: muteOsd.checked | ||||
32 | property alias cfg_outputChangeOsd: outputChangeOsd.checked | 35 | property alias cfg_outputChangeOsd: outputChangeOsd.checked | ||
33 | 36 | | |||
34 | VolumeFeedback { | 37 | VolumeFeedback { | ||
35 | id: feedback | 38 | id: feedback | ||
36 | } | 39 | } | ||
37 | 40 | | |||
38 | 41 | | |||
39 | QQC2.SpinBox { | 42 | QQC2.SpinBox { | ||
Show All 24 Lines | 65 | QQC2.CheckBox { | |||
64 | 67 | | |||
65 | Kirigami.FormData.label: i18n("Feedback:") | 68 | Kirigami.FormData.label: i18n("Feedback:") | ||
66 | 69 | | |||
67 | text: i18n("Play sound when volume changes") | 70 | text: i18n("Play sound when volume changes") | ||
68 | enabled: feedback.valid | 71 | enabled: feedback.valid | ||
69 | } | 72 | } | ||
70 | 73 | | |||
71 | QQC2.CheckBox { | 74 | QQC2.CheckBox { | ||
75 | id: volumeOsd | ||||
76 | Kirigami.FormData.label: i18n("Visual feedback:") | ||||
77 | text: i18n("When volume changes") | ||||
78 | } | ||||
79 | | ||||
80 | QQC2.CheckBox { | ||||
81 | id: micOsd | ||||
82 | text: i18n("When microphone volume changes") | ||||
83 | } | ||||
84 | | ||||
85 | QQC2.CheckBox { | ||||
86 | id: muteOsd | ||||
87 | text: i18n("When mute state changes") | ||||
88 | } | ||||
89 | | ||||
90 | QQC2.CheckBox { | ||||
72 | id: outputChangeOsd | 91 | id: outputChangeOsd | ||
73 | text: i18n("Display notification when default output device changes") | 92 | text: i18n("When default output device changes") | ||
74 | } | 93 | } | ||
75 | } | 94 | } |