Warning, /plasma/latte-dock/containment/package/contents/ui/abilities/MyView.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 import org.kde.plasma.plasmoid 2.0 0008 0009 import org.kde.latte.core 0.2 as LatteCore 0010 0011 import "./privates" as Ability 0012 0013 Ability.MyViewPrivate { 0014 view: latteView 0015 isReady: view && view.visibility && view.layout && view.effects && view.positioner 0016 groupId: view ? view.groupId : -1 0017 0018 inNormalState: ((animations.needBothAxis.count === 0) && (animations.needLength.count === 0)) 0019 || (isReady && view.visibility.isHidden && !view.visibility.containsMouse && animations.needThickness.count === 0) 0020 isHidden: isReady && view.visibility.isHidden 0021 isShownPartially: isReady && (inSlidingIn || inSlidingOut) 0022 isShownFully: isReady && !isHidden && !inSlidingIn && !inSlidingOut 0023 0024 isHidingBlocked: isHidingBlockedFromApplet || layouts.contextMenuIsShown 0025 0026 inEditMode: root.editMode 0027 inConfigureAppletsMode: root.inConfigureAppletsMode 0028 0029 inSlidingIn: visibilityManager.inSlidingIn 0030 inSlidingOut: visibilityManager.inSlidingOut 0031 inRelocationAnimation: isReady && view.positioner.inRelocationAnimation 0032 inRelocationHiding: visibilityManager.inRelocationHiding 0033 0034 badgesIn3DStyle: universalSettings ? universalSettings.badges3DStyle : true 0035 0036 alignment: plasmoid.configuration.alignment 0037 visibilityMode: isReady ? view.visibility.mode : LatteCore.Types.None 0038 0039 backgroundOpacity: background.currentOpacity 0040 0041 lastUsedActivity: isReady ? view.layout.lastUsedActivity : "" 0042 0043 appletsLayoutGeometry: isReady ? view.effects.appletsLayoutGeometry : Qt.rect(0, 0, -1, -1) 0044 screenGeometry: isReady ? view.screenGeometry : plasmoid.screenGeometry 0045 0046 containmentActions: isReady ? view.containmentActions : [] 0047 0048 itemShadow.isEnabled: plasmoid.configuration.appletShadowsEnabled 0049 itemShadow.size: itemShadow.isEnabled ? (0.5*metrics.iconSize) * (plasmoid.configuration.shadowSize/100) : 0 0050 itemShadow.shadowColor: "#" + myView.decimalToHex(myView.itemShadowOpacity) + myView.itemShadowCurrentColor 0051 itemShadow.shadowSolidColor: "#" + myView.itemShadowCurrentColor 0052 } 0053 0054 0055