Changeset View
Changeset View
Standalone View
Standalone View
applet/contents/ui/main.qml
Show All 32 Lines | |||||
33 | Item { | 33 | Item { | ||
34 | id: main | 34 | id: main | ||
35 | 35 | | |||
36 | property bool volumeFeedback: Plasmoid.configuration.volumeFeedback | 36 | property bool volumeFeedback: Plasmoid.configuration.volumeFeedback | ||
37 | property int maxVolumeValue: Math.round(Plasmoid.configuration.maximumVolume * PulseAudio.NormalVolume / 100.0) | 37 | property int maxVolumeValue: Math.round(Plasmoid.configuration.maximumVolume * PulseAudio.NormalVolume / 100.0) | ||
38 | property int volumeStep: Math.round(Plasmoid.configuration.volumeStep * PulseAudio.NormalVolume / 100.0) | 38 | property int volumeStep: Math.round(Plasmoid.configuration.volumeStep * PulseAudio.NormalVolume / 100.0) | ||
39 | property string displayName: i18n("Audio Volume") | 39 | property string displayName: i18n("Audio Volume") | ||
40 | property QtObject draggedStream: null | 40 | property QtObject draggedStream: null | ||
41 | property var maxVolumeList: Plasmoid.configuration.maxVolumeList | ||||
41 | 42 | | |||
42 | // DEFAULT_SINK_NAME in module-always-sink.c | 43 | // DEFAULT_SINK_NAME in module-always-sink.c | ||
43 | readonly property string dummyOutputName: "auto_null" | 44 | readonly property string dummyOutputName: "auto_null" | ||
44 | 45 | | |||
45 | Layout.minimumHeight: units.gridUnit * 18 | 46 | Layout.minimumHeight: units.gridUnit * 18 | ||
46 | Layout.minimumWidth: units.gridUnit * 18 | 47 | Layout.minimumWidth: units.gridUnit * 18 | ||
47 | Layout.preferredHeight: units.gridUnit * 20 | 48 | Layout.preferredHeight: units.gridUnit * 20 | ||
48 | Layout.preferredWidth: units.gridUnit * 20 | 49 | Layout.preferredWidth: units.gridUnit * 20 | ||
▲ Show 20 Lines • Show All 482 Lines • Show Last 20 Lines |