Kirigami2

AbstractCard.qml
1/*
2 * SPDX-FileCopyrightText: 2018 Marco Martin <mart@kde.org>
3 *
4 * SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6
7import "templates" as T
8import "private" as P
9
10/**
11 * @brief AbstractCard is the base for cards.
12 *
13 * A Card is a visual object that serves as an entry point for more detailed information.
14 * An abstractCard is empty, providing just the look and the base properties and signals
15 * for an ItemDelegate. It can be filled with any custom layout of items,
16 * its content is organized in 3 properties: header, contentItem and footer.
17 * Use this only when you need particular custom contents, for a standard layout
18 * for cards, use the Card component.
19 *
20 * @see org::kde::kirigami::Card
21 * @inherit org::kde::kirigami::templates::AbstractCard
22 * @since 2.4
23 */
24T.AbstractCard {
25 id: root
26
27 background: P.DefaultCardBackground {
28 clickFeedback: root.showClickFeedback
29 hoverFeedback: root.hoverEnabled
30 }
31}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:20 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.