Warning, /frameworks/qqc2-desktop-style/org.kde.desktop/Page.qml is written in an unsupported language. File is not indexed.
0001 /* 0002 SPDX-FileCopyrightText: 2020 Marco Martin <mart@kde.org> 0003 SPDX-FileCopyrightText: 2017 The Qt Company Ltd. 0004 0005 SPDX-License-Identifier: LGPL-3.0-only OR GPL-2.0-or-later 0006 */ 0007 0008 import QtQuick 2.12 0009 import QtQuick.Controls 2.12 0010 import QtQuick.Templates 2.12 as T 0011 import org.kde.kirigami 2.14 as Kirigami 0012 import org.kde.qqc2desktopstyle.private 1.0 as StylePrivate 0013 0014 T.Page { 0015 id: controlRoot 0016 0017 implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, 0018 contentWidth + leftPadding + rightPadding, 0019 implicitHeaderWidth, 0020 implicitFooterWidth) 0021 implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, 0022 contentHeight + topPadding + bottomPadding 0023 + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) 0024 + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) 0025 0026 background: Rectangle { 0027 color: Kirigami.Theme.backgroundColor 0028 } 0029 readonly property Item __internal: StylePrivate.StyleItem { 0030 parent: controlRoot 0031 visible: false 0032 control: controlRoot 0033 } 0034 }