feat: bluetooth widget

This commit is contained in:
kossLAN 2025-11-04 19:31:38 -05:00
parent 83d7dc47c4
commit 92316b3ca9
Signed by: kossLAN
SSH key fingerprint: SHA256:bdV0x+wdQHGJ6LgmstH3KV8OpWY+OOFmJcPcB0wQPV8
6 changed files with 300 additions and 5 deletions

View file

@ -10,6 +10,7 @@ Slider {
implicitHeight: 7
property var accentColor: ShellSettings.colors.active
property real handleHeight: 16
background: Rectangle {
id: sliderContainer
@ -50,8 +51,8 @@ Slider {
id: handleRect
x: slider.visualPosition * (slider.availableWidth - width)
y: slider.topPadding + slider.availableHeight / 2 - height / 2
width: 16
height: 16
width: slider.handleHeight
height: slider.handleHeight
radius: width / 2
color: slider.pressed ? Qt.color(slider.accentColor ?? "purple").darker(1.5) : slider.accentColor ?? "purple"
}