Warning, /graphics/spectacle/src/Gui/EmptyPage.qml is written in an unsupported language. File is not indexed.
0001 /* SPDX-FileCopyrightText: 2022 Noah Davis <noahadvs@gmail.com> 0002 * SPDX-License-Identifier: LGPL-2.0-or-later 0003 */ 0004 0005 import QtQuick 0006 import QtQuick.Templates as T 0007 0008 /** 0009 * This is meant to be a very basic page that behaves like most pages do, 0010 * but inherits no externally defined content or behavior. 0011 */ 0012 T.Page { 0013 // implicitHeader/FooterWidth and implicitHeader/FooterHeight are 0 when header/footer is not visible 0014 implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, 0015 contentWidth + leftPadding + rightPadding, 0016 implicitHeaderWidth, 0017 implicitFooterWidth) 0018 implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, 0019 contentHeight + topPadding + bottomPadding 0020 + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0) 0021 + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0)) 0022 hoverEnabled: false 0023 }