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 | | |||
| 71 | QQC2.CheckBox { | 74 | QQC2.CheckBox { | ||
| 75 | id: volumeOsd | ||||
| 76 | Kirigami.FormData.label: i18n("Show visual feedback for changes to:") | ||||
| 77 | text: i18n("Audio volume") | ||||
| 78 | } | ||||
| 79 | | ||||
| 80 | QQC2.CheckBox { | ||||
| 81 | id: micOsd | ||||
| 82 | text: i18n("Microphone sensitivity") | ||||
| 83 | } | ||||
| 84 | | ||||
| 85 | QQC2.CheckBox { | ||||
| 86 | id: muteOsd | ||||
| 87 | text: i18n("Mute state") | ||||
| 88 | } | ||||
| 89 | | ||||
| 90 | QQC2.CheckBox { | ||||
| 72 | id: outputChangeOsd | 91 | id: outputChangeOsd | ||
| 73 | text: i18n("Display notification when default output device changes") | 92 | text: i18n("Default output device") | ||
| 74 | } | 93 | } | ||
| 75 | } | 94 | } | ||