Kirigami2

OverlaySheet.qml
1 /*
2  * SPDX-FileCopyrightText: 2016 by Marco Martin <[email protected]>
3  *
4  * SPDX-License-Identifier: LGPL-2.0-or-later
5  */
6 
7 import org.kde.kirigami 2.12 as Kirigami
8 import "private" as P
9 import "templates" as T
10 
11 /**
12  * @brief An overlay sheet that covers the current Page content.
13  *
14  * Its contents can be scrolled up or down, scrolling all the way up or
15  * all the way down, dismisses it.
16  * Use this for big, modal dialogs or information display, that can't be
17  * logically done as a new separate Page, even if potentially
18  * are taller than the screen space.
19  * @inherit org::kde::kirigami::templates::OverlaySheet
20  */
21 T.OverlaySheet {
22  id: root
23 
24  leftInset: 0
25  topInset: -Kirigami.Units.smallSpacing
26  rightInset: 0
27  bottomInset: -Kirigami.Units.smallSpacing
28 
29  background: P.DefaultCardBackground {}
30 }
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Jan 29 2023 04:11:03 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.