Warning, /plasma/plasma-mobile/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 2.0 as PlasmaCore 0011 0012 Rectangle { 0013 id: root 0014 0015 visible: false //adjust borders is run during setup. We want to avoid painting till completed 0016 property Item containment 0017 0018 color: !containment || containment.backgroundHints == PlasmaCore.Types.NoBackground ? "transparent" : PlasmaCore.Theme.textColor 0019 0020 onContainmentChanged: { 0021 containment.parent = root; 0022 containment.visible = true; 0023 containment.anchors.fill = root; 0024 panel.backgroundHints = containment.backgroundHints; 0025 } 0026 0027 Component.onCompleted: { 0028 visible = true 0029 } 0030 }