Kirigami2

OverlaySheet.qml
1/*
2 * SPDX-FileCopyrightText: 2016 Marco Martin <mart@kde.org>
3 *
4 * SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6
7import org.kde.kirigami as Kirigami
8import "private" as P
9import "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 */
21T.OverlaySheet {
22 id: root
23
24 background: P.DefaultCardBackground {
25 Kirigami.Theme.colorSet: root.Kirigami.Theme.colorSet
26 Kirigami.Theme.inherit: false
27 }
28}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.