From d2747e2ca1e211a32e91e44010f40a00e0ac97e4 Mon Sep 17 00:00:00 2001 From: Leander Scherer Date: Sat, 30 May 2026 15:35:27 +0200 Subject: feat(quickshell): add popup controls and privacy indicators --- modules/system/quickshell/SliderBox.qml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'modules/system/quickshell/SliderBox.qml') diff --git a/modules/system/quickshell/SliderBox.qml b/modules/system/quickshell/SliderBox.qml index 59b994d..1d84e72 100644 --- a/modules/system/quickshell/SliderBox.qml +++ b/modules/system/quickshell/SliderBox.qml @@ -7,7 +7,9 @@ Squircle { property string label: "" property string icon: "" property real value: 0 + property bool clickable: false signal moved(real val) + signal clicked Layout.fillWidth: true height: 64 @@ -18,7 +20,9 @@ Squircle { id: hoverArea anchors.fill: parent hoverEnabled: true - acceptedButtons: Qt.NoButton + acceptedButtons: root.clickable ? Qt.LeftButton : Qt.NoButton + cursorShape: root.clickable ? Qt.PointingHandCursor : Qt.ArrowCursor + onClicked: root.clicked() } ColumnLayout { @@ -38,7 +42,9 @@ Squircle { } Layout.leftMargin: 2 } - Item { Layout.fillWidth: true } + Item { + Layout.fillWidth: true + } } PillSlider { -- cgit v1.3.1