config moved to c++ plugin, removed old qml + fileview implementation

This commit is contained in:
2026-08-13 02:25:26 +02:00
parent c29b91cd26
commit 3cd3209b28
341 changed files with 4851 additions and 3502 deletions
+10 -9
View File
@@ -1,13 +1,14 @@
import QtQuick
import QtQuick.Templates
import qs.Config
import ZShell.Config
import qs.Services
Slider {
id: root
property color nonPeakColor: DynamicColors.tPalette.m3primary
property color nonPeakColor: Colors.tPalette.m3primary
required property real peak
property color peakColor: DynamicColors.palette.m3primary
property color peakColor: Colors.palette.m3primary
background: Item {
CustomRect {
@@ -19,7 +20,7 @@ Slider {
bottomRightRadius: root.implicitHeight / 15
color: root.nonPeakColor
implicitWidth: root.handle.x - root.implicitHeight
radius: Appearance.rounding.full
radius: Tokens.rounding.full
topRightRadius: root.implicitHeight / 15
CustomRect {
@@ -29,7 +30,7 @@ Slider {
bottomRightRadius: root.implicitHeight / 15
color: root.peakColor
implicitWidth: parent.width * root.peak
radius: Appearance.rounding.full
radius: Tokens.rounding.full
topRightRadius: root.implicitHeight / 15
Behavior on implicitWidth {
@@ -47,18 +48,18 @@ Slider {
anchors.top: parent.top
anchors.topMargin: root.implicitHeight / 3
bottomLeftRadius: root.implicitHeight / 15
color: DynamicColors.tPalette.m3surfaceContainer
color: Colors.tPalette.m3surfaceContainer
implicitWidth: root.implicitWidth - root.handle.x - root.handle.implicitWidth - root.implicitHeight
radius: Appearance.rounding.full
radius: Tokens.rounding.full
topLeftRadius: root.implicitHeight / 15
}
}
handle: CustomRect {
anchors.verticalCenter: parent.verticalCenter
color: DynamicColors.palette.m3primary
color: Colors.palette.m3primary
implicitHeight: 15
implicitWidth: 5
radius: Appearance.rounding.full
radius: Tokens.rounding.full
x: root.visualPosition * root.availableWidth - implicitWidth / 2
MouseArea {