/*SPDX-FileCopyrightText: 2016 Kai Uwe Broulik <kde@privat.broulik.de>SPDX-License-Identifier: GPL-2.0-or-later*/import QtQuickimport QtQuick.Templates as Timport org.kde.ksvg as KSvgimport org.kde.plasma.plasmoidimport plasma.applet.org.kde.plasma.taskmanager as TaskManagerAppletT.ProgressBar {id: controlimplicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset,implicitContentWidth + leftPadding + rightPadding)implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset,implicitContentHeight + topPadding + bottomPadding)hoverEnabled: falsepadding: 0from: 0to: 100value: task.smartLauncherItem.progresscontentItem: Item {clip: trueKSvg.FrameSvgItem {id: progressFrameLayoutMirroring.enabled: Application.layoutDirection === Qt.RightToLeftanchors.left: parent.leftwidth: parent.width * control.positionheight: parent.heightimagePath: "widgets/tasks"prefix: TaskManagerApplet.TaskTools.taskPrefix("progress", Plasmoid.location).concat(TaskManagerApplet.TaskTools.taskPrefix("hover", Plasmoid.location))}}background: null}