Warning, /plasma/qqc2-breeze-style/style/qtquickcontrols/Page.qml is written in an unsupported language. File is not indexed.

0001 /* SPDX-FileCopyrightText: 2020 Noah Davis <noahadvs@gmail.com>
0002  * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0003  */
0004 
0005 import QtQuick
0006 import QtQuick.Templates as T
0007 import org.kde.kirigami as Kirigami
0008 
0009 T.Page {
0010     id: control
0011 
0012     implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset,
0013                             contentWidth + leftPadding + rightPadding,
0014                             implicitHeaderWidth,
0015                             implicitFooterWidth)
0016     implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset,
0017                              contentHeight + topPadding + bottomPadding
0018                              + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0)
0019                              + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0))
0020 
0021     background: Rectangle {
0022         color: Kirigami.Theme.backgroundColor
0023     }
0024 }