Changeset View
Changeset View
Standalone View
Standalone View
applet/contents/ui/ConfigGeneral.qml
Show All 22 Lines | |||||
23 | import QtQuick.Controls 1.0 | 23 | import QtQuick.Controls 1.0 | ||
24 | 24 | | |||
25 | import org.kde.plasma.private.volume 0.1 | 25 | import org.kde.plasma.private.volume 0.1 | ||
26 | 26 | | |||
27 | Item { | 27 | Item { | ||
28 | property alias cfg_maximumVolume: maximumVolume.value | 28 | property alias cfg_maximumVolume: maximumVolume.value | ||
29 | property alias cfg_volumeStep: volumeStep.value | 29 | property alias cfg_volumeStep: volumeStep.value | ||
30 | property alias cfg_volumeFeedback: volumeFeedback.checked | 30 | property alias cfg_volumeFeedback: volumeFeedback.checked | ||
31 | property alias cfg_outputChangeOsd: outputChangeOsd.checked | ||||
31 | 32 | | |||
32 | ColumnLayout { | 33 | ColumnLayout { | ||
33 | Layout.fillWidth: true | 34 | Layout.fillWidth: true | ||
34 | 35 | | |||
35 | GroupBox { | 36 | GroupBox { | ||
36 | Layout.fillWidth: true | 37 | Layout.fillWidth: true | ||
37 | flat: true | 38 | flat: true | ||
38 | title: i18n("Volume") | 39 | title: i18n("Volume") | ||
Show All 36 Lines | 73 | GroupBox { | |||
75 | title: i18n("Behavior") | 76 | title: i18n("Behavior") | ||
76 | 77 | | |||
77 | ColumnLayout { | 78 | ColumnLayout { | ||
78 | CheckBox { | 79 | CheckBox { | ||
79 | id: volumeFeedback | 80 | id: volumeFeedback | ||
80 | text: i18n("Volume feedback") | 81 | text: i18n("Volume feedback") | ||
81 | enabled: feedback.valid | 82 | enabled: feedback.valid | ||
82 | } | 83 | } | ||
84 | | ||||
85 | CheckBox { | ||||
86 | id: outputChangeOsd | ||||
87 | text: i18n("Visual feedback when default output device changes") | ||||
88 | } | ||||
83 | } | 89 | } | ||
84 | } | 90 | } | ||
85 | } | 91 | } | ||
86 | 92 | | |||
87 | VolumeFeedback { | 93 | VolumeFeedback { | ||
88 | id: feedback | 94 | id: feedback | ||
89 | } | 95 | } | ||
90 | } | 96 | } |