Warning, /plasma/latte-dock/indicators/org.kde.latte.plasma/package/ui/TaskBackLayer.qml is written in an unsupported language. File is not indexed.

0001 /*
0002     SPDX-FileCopyrightText: 2019 Michail Vourlakos <mvourlakos@gmail.com>
0003     SPDX-License-Identifier: GPL-2.0-or-later
0004 */
0005 
0006 import QtQuick 2.0
0007 
0008 import org.kde.plasma.plasmoid 2.0
0009 import org.kde.plasma.core 2.0 as PlasmaCore
0010 
0011 PlasmaCore.FrameSvgItem {
0012     id: frame
0013     property string basePrefix: "normal"
0014 
0015     imagePath: "widgets/tasks"
0016     //rotation: root.reversedEnabled ? 180 : 0
0017     opacity: 1
0018     prefix: indicator.isHovered ? root.taskPrefixHovered(basePrefix) : root.taskPrefix(basePrefix)
0019     visible: indicator.isTask || indicator.isLauncher || indicator.isGroup
0020 
0021     states: [
0022         State {
0023             name: "launcher"
0024             when: indicator.isLauncher
0025 
0026             PropertyChanges {
0027                 target: frame
0028                 basePrefix: ""
0029             }
0030         },
0031         State {
0032             name: "attention"
0033             when: indicator.inAttention
0034 
0035             PropertyChanges {
0036                 target: frame
0037                 basePrefix: "attention"
0038             }
0039         },
0040         State {
0041             name: "minimized"
0042             when: indicator.isMinimized
0043 
0044             PropertyChanges {
0045                 target: frame
0046                 basePrefix: "minimized"
0047             }
0048         },
0049         State {
0050             name: "active"
0051             when: indicator.isActive
0052 
0053             PropertyChanges {
0054                 target: frame
0055                 basePrefix: "focus"
0056             }
0057         }
0058     ]
0059 }