config moved to c++ plugin, removed old qml + fileview implementation
This commit is contained in:
@@ -5,7 +5,8 @@ import QtQuick.Templates
|
||||
import ZShell
|
||||
import ZShell.Components
|
||||
import ZShell.Internal
|
||||
import qs.Config
|
||||
import ZShell.Config
|
||||
import qs.Services
|
||||
|
||||
ProgressBar {
|
||||
id: root
|
||||
@@ -16,8 +17,8 @@ ProgressBar {
|
||||
Stopped
|
||||
}
|
||||
|
||||
property color bgColor: DynamicColors.palette.m3secondaryContainer
|
||||
property color fgColor: DynamicColors.palette.m3primary
|
||||
property color bgColor: Colors.palette.m3secondaryContainer
|
||||
property color fgColor: Colors.palette.m3primary
|
||||
property int indeterminateAnimState: CustomProgressBar.Stopped
|
||||
property real waveAmplitude: 0.5
|
||||
property int waveDuration: 1000
|
||||
@@ -64,7 +65,7 @@ ProgressBar {
|
||||
LinearIndicatorManager {
|
||||
id: manager
|
||||
|
||||
gap: Appearance.spacing.extraSmall
|
||||
gap: Tokens.spacing.extraSmall
|
||||
|
||||
Anim on completeEndProgress {
|
||||
duration: manager.completeEndDuration
|
||||
@@ -94,7 +95,7 @@ ProgressBar {
|
||||
id: remaining
|
||||
|
||||
anchors.right: parent.right
|
||||
implicitWidth: parent.width - wave.implicitWidth - Appearance.spacing.extraSmall
|
||||
implicitWidth: parent.width - wave.implicitWidth - Tokens.spacing.extraSmall
|
||||
}
|
||||
|
||||
Line {
|
||||
@@ -106,7 +107,7 @@ ProgressBar {
|
||||
color: root.fgColor
|
||||
implicitHeight: implicitSize
|
||||
implicitWidth: implicitSize
|
||||
radius: Appearance.rounding.full
|
||||
radius: Tokens.rounding.full
|
||||
|
||||
Behavior on implicitSize {
|
||||
Anim {
|
||||
@@ -200,7 +201,7 @@ ProgressBar {
|
||||
color: root.bgColor
|
||||
implicitHeight: parent.height
|
||||
implicitWidth: bounds.y - bounds.x
|
||||
radius: Appearance.rounding.full
|
||||
radius: Tokens.rounding.full
|
||||
x: bounds.x
|
||||
}
|
||||
component Wave: WavyLine {
|
||||
|
||||
Reference in New Issue
Block a user