Warning, /frameworks/qqc2-desktop-style/org.kde.desktop/Pane.qml is written in an unsupported language. File is not indexed.
0001 // SPDX-FileCopyrightText: 2021 Carl Schwan <carl@carlschwan.eu> 0002 // SPDX-License-Identifier: LGPL-2.0-or-later 0003 0004 import QtQuick 0005 import QtQuick.Templates as T 0006 import QtQuick.Controls 0007 import org.kde.kirigami as Kirigami 0008 0009 T.Pane { 0010 id: control 0011 0012 implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, 0013 contentWidth + leftPadding + rightPadding) 0014 implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, 0015 contentHeight + topPadding + bottomPadding) 0016 0017 padding: Kirigami.Units.largeSpacing 0018 0019 background: Rectangle { 0020 color: Kirigami.Theme.backgroundColor 0021 } 0022 } 0023