Warning, /plasma/latte-dock/indicators/org.kde.latte.plasmatabstyle/package/ui/main.qml is written in an unsupported language. File is not indexed.
0001 /*
0002 SPDX-FileCopyrightText: 2020 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.core 2.0 as PlasmaCore
0009
0010 import org.kde.latte.components 1.0 as LatteComponents
0011
0012 LatteComponents.IndicatorItem {
0013 id: root
0014
0015 lengthPadding: 0.08
0016
0017 //! Background Layer
0018 Loader{
0019 id: backLayer
0020 anchors.fill: parent
0021 anchors.topMargin: plasmoid.location === PlasmaCore.Types.TopEdge ? indicator.screenEdgeMargin : 0
0022 anchors.bottomMargin: plasmoid.location === PlasmaCore.Types.BottomEdge ? indicator.screenEdgeMargin : 0
0023 anchors.leftMargin: plasmoid.location === PlasmaCore.Types.LeftEdge ? indicator.screenEdgeMargin : 0
0024 anchors.rightMargin: plasmoid.location === PlasmaCore.Types.RightEdge ? indicator.screenEdgeMargin : 0
0025
0026 active: level.isBackground && !indicator.isEmptySpace
0027 sourceComponent: BackLayer{}
0028 }
0029 }