feat: rename Game Bar to Quickpanel and support DMS 2.0

This commit is contained in:
Keule2 committed 2026-10-31 22:24:19 +01:00
1 parent 018e326918
commit f0ea2baba3
27 files changed
+158 -145

No files matched your search

+4 -4
View File
@@ -1,7 +1,7 @@
import QtQuick
import qs.Common
import qs.Services
import qs.Widgets
import qs.DCommon.Widgets
Item {
id: row
@@ -17,7 +17,7 @@ Item {
readonly property int sliderMaximum: Math.max(100, maxPercent)
// DankSlider assigns its own `value` while dragging, which breaks a declarative
// DSlider assigns its own `value` while dragging, which breaks a declarative
// binding, so the slider is synced imperatively whenever the node volume changes.
function syncSlider() {
slider.value = Math.min(row.sliderMaximum, row.percent);
@@ -47,7 +47,7 @@ Item {
radius: width / 2
color: muteArea.containsMouse ? Theme.primaryHover : "transparent"
DankIcon {
DIcon {
anchors.centerIn: parent
name: (row.muted || row.percent === 0) ? row.mutedIcon : row.activeIcon
size: Theme.iconSize
@@ -81,7 +81,7 @@ Item {
color: row.muted ? Theme.surfaceVariantText : Theme.surfaceText
}
DankSlider {
DSlider {
id: slider
anchors.left: muteButton.right