You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
latte-dock/declarativeimports/abilities/items/IndicatorLevel.qml

25 lines
708 B
QML

/*
SPDX-FileCopyrightText: 2021 Michail Vourlakos <mvourlakos@gmail.com>
SPDX-License-Identifier: GPL-2.0-or-later
*/
import QtQuick 2.7
import org.kde.plasma.core 2.0 as PlasmaCore
import "./indicators" as IndicatorItem
Loader {
id: indicatorLevelLoader
active: level.isDrawn
&& level.indicator
&& level.indicator.host.isEnabled
&& level.indicator.configuration
&& (level.isBackground || (level.isForeground && level.indicator.host.info.providesFrontLayer))
sourceComponent: level.indicator.host ? level.indicator.host.indicatorComponent : null
readonly property IndicatorItem.LevelOptions level: IndicatorItem.LevelOptions{}
}