Warning, /plasma/plasma-nano/shell/contents/views/Panel.qml is written in an unsupported language. File is not indexed.
0001 /* 0002 * SPDX-FileCopyrightText: 2012 Marco Martin <mart@kde.org> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 import QtQuick 2.0 0008 import QtQuick.Layouts 1.1 0009 0010 import org.kde.plasma.core as PlasmaCore 0011 import org.kde.kirigami 2.20 as Kirigami 0012 0013 Rectangle { 0014 id: root 0015 0016 visible: false //adjust borders is run during setup. We want to avoid painting till completed 0017 property Item containment 0018 0019 color: containment && containment.plasmoid.backgroundHints == PlasmaCore.Types.NoBackground ? "transparent" : Kirigami.Theme.textColor 0020 0021 onContainmentChanged: { 0022 containment.parent = root; 0023 containment.visible = true; 0024 containment.anchors.fill = root; 0025 panel.backgroundHints = containment.backgroundHints; 0026 } 0027 0028 Component.onCompleted: { 0029 visible = true 0030 } 0031 }