7 property variant value: ""
11 onClicked: volumeControlArea.close()
14 color: themeController.background
19 text: volume_level_str
21 anchors.horizontalCenter: parent.horizontalCenter
22 font.pixelSize: config.font_size * 1.5
23 color: themeController.foreground
28 height: config.font_size * 3
29 y: config.font_size * 3.5
30 anchors.horizontalCenter: parent.horizontalCenter
31 color: themeController.progress_bg_color
35 onClicked: { if (volumeControlArea.value != "None") {
36 volumeControlArea.value = Math.round((mouseX / parent.width) * 100)
37 main.set_volume_level(volumeControlArea.value)
43 width: volumeControlArea.value == "None" ? 0: valuebar.width * (volumeControlArea.value / 100)
44 color: themeController.progress_color
53 text: volumeControlArea.value == "None" ? disabled_str: volumeControlArea.value
54 anchors.centerIn: valuebar
55 font.pixelSize: config.font_size * 1.5
56 color: themeController.foreground