Warning, /plasma/latte-dock/declarativeimports/abilities/items/IndicatorLevel.qml is written in an unsupported language. File is not indexed.
0001 /*
0002 SPDX-FileCopyrightText: 2021 Michail Vourlakos <mvourlakos@gmail.com>
0003 SPDX-License-Identifier: GPL-2.0-or-later
0004 */
0005
0006 import QtQuick 2.7
0007
0008 import org.kde.plasma.core 2.0 as PlasmaCore
0009
0010 import "./indicators" as IndicatorItem
0011
0012 Loader {
0013 id: indicatorLevelLoader
0014 active: level.isDrawn
0015 && level.indicator
0016 && level.indicator.host.isEnabled
0017 && level.indicator.configuration
0018 && (level.isBackground || (level.isForeground && level.indicator.host.info.providesFrontLayer))
0019
0020 sourceComponent: level.indicator.host ? level.indicator.host.indicatorComponent : null
0021
0022 readonly property IndicatorItem.LevelOptions level: IndicatorItem.LevelOptions{}
0023 }
0024