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 17 Lines | |||||
57 | Item { | 60 | Item { | ||
58 | Kirigami.FormData.isSection: true | 61 | Kirigami.FormData.isSection: true | ||
59 | } | 62 | } | ||
60 | 63 | | |||
61 | 64 | | |||
62 | QQC2.CheckBox { | 65 | QQC2.CheckBox { | ||
63 | id: volumeFeedback | 66 | id: volumeFeedback | ||
64 | 67 | | |||
65 | Kirigami.FormData.label: i18n("Feedback:") | 68 | Kirigami.FormData.label: i18n("Play audio feedback for changes to:") | ||
66 | 69 | | |||
67 | text: i18n("Play sound when volume changes") | 70 | text: i18n("Audio volume") | ||
68 | enabled: feedback.valid | 71 | enabled: feedback.valid | ||
69 | } | 72 | } | ||
70 | 73 | | |||
74 | Item { | ||||
75 | Kirigami.FormData.isSection: true | ||||
76 | } | ||||
77 | | ||||
78 | QQC2.CheckBox { | ||||
79 | id: volumeOsd | ||||
80 | Kirigami.FormData.label: i18n("Show visual feedback for changes to:") | ||||
81 | text: i18n("Audio volume") | ||||
82 | } | ||||
83 | | ||||
84 | QQC2.CheckBox { | ||||
85 | id: micOsd | ||||
86 | text: i18n("Microphone sensitivity") | ||||
87 | } | ||||
88 | | ||||
89 | QQC2.CheckBox { | ||||
90 | id: muteOsd | ||||
91 | text: i18n("Mute state") | ||||
92 | } | ||||
93 | | ||||
71 | QQC2.CheckBox { | 94 | QQC2.CheckBox { | ||
72 | id: outputChangeOsd | 95 | id: outputChangeOsd | ||
73 | text: i18n("Display notification when default output device changes") | 96 | text: i18n("Default output device") | ||
74 | } | 97 | } | ||
75 | } | 98 | } |