Warning, /plasma/latte-dock/declarativeimports/abilities/items/indicators/LevelOptions.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 Item { 0009 id: level 0010 signal mousePressed(int x, int y, int button); 0011 signal mouseReleased(int x, int y, int button); 0012 signal taskLauncherActivated(); 0013 signal taskGroupedWindowAdded(); 0014 signal taskGroupedWindowRemoved(); 0015 0016 property bool isBackground: true 0017 property bool isForeground: false 0018 0019 property bool isDrawn: false 0020 0021 readonly property Item requested: Item{ 0022 property int iconOffsetX: 0 0023 property int iconOffsetY: 0 0024 property int iconTransformOrigin: Item.Center 0025 property real iconOpacity: 1.0 0026 property real iconRotation: 0 0027 property real iconScale: 1.0 0028 property bool isTaskLauncherAnimationRunning: false 0029 } 0030 0031 property Item indicator: null 0032 0033 onIsBackgroundChanged: { 0034 isForeground = !isBackground; 0035 } 0036 0037 onIsForegroundChanged: { 0038 isBackground = !isForeground; 0039 } 0040 }