feat: added widgets capture, music visualiser, bluetooth, notes

This commit is contained in:
2026-09-22 01:22:27 +02:00
parent 9b023a0993
commit d15bb4687c
25 changed files with 1675 additions and 55 deletions
+76
View File
@@ -0,0 +1,76 @@
import QtQuick
import qs.Common
import qs.Services
import qs.Widgets
import "../components"
Item {
id: widget
readonly property real sectionSpacing: Theme.spacingS
VolumeRow {
id: outputVolume
anchors.top: parent.top
anchors.left: parent.left
anchors.right: parent.right
node: AudioService.sink
maxPercent: AudioService.sinkMaxVolume
activeIcon: "volume_up"
mutedIcon: "volume_off"
}
StyledText {
id: outputLabel
anchors.top: outputVolume.bottom
anchors.left: parent.left
text: "Output"
font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceVariantText
}
DeviceList {
id: outputDevices
anchors.top: outputLabel.bottom
anchors.topMargin: Theme.spacingXS
anchors.left: parent.left
anchors.right: parent.right
height: Math.max(52, (parent.height - outputVolume.height - inputVolume.height - outputLabel.height - inputLabel.height - widget.sectionSpacing * 3 - Theme.spacingXS * 2) * 0.5)
isSink: true
}
VolumeRow {
id: inputVolume
anchors.top: outputDevices.bottom
anchors.topMargin: widget.sectionSpacing
anchors.left: parent.left
anchors.right: parent.right
node: AudioService.source
maxPercent: 100
activeIcon: "mic"
mutedIcon: "mic_off"
}
StyledText {
id: inputLabel
anchors.top: inputVolume.bottom
anchors.left: parent.left
text: "Input"
font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceVariantText
}
DeviceList {
anchors.top: inputLabel.bottom
anchors.topMargin: Theme.spacingXS
anchors.left: parent.left
anchors.right: parent.right
anchors.bottom: parent.bottom
isSink: false
}
}