Warning, /frameworks/kirigami/src/controls/AbstractCard.qml is written in an unsupported language. File is not indexed.

0001 /*
0002  *  SPDX-FileCopyrightText: 2018 Marco Martin <mart@kde.org>
0003  *
0004  *  SPDX-License-Identifier: LGPL-2.0-or-later
0005  */
0006 
0007 import "templates" as T
0008 import "private" as P
0009 
0010 /**
0011  * @brief AbstractCard is the base for cards.
0012  *
0013  * A Card is a visual object that serves as an entry point for more detailed information.
0014  * An abstractCard is empty, providing just the look and the base properties and signals
0015  * for a QtQuick.Controls.ItemDelegate.
0016  * It can be filled with any custom layout of items, its content is organized in
0017  * 3 properties: ::header, contentItem and ::footer.
0018  * Use this only when you need particular custom contents, for a standard layout
0019  * for cards, use the Card component.
0020  *
0021  * @see kirigami::Card
0022  * @see <a href="https://develop.kde.org/hig/components/editing/card">KDE Human Interface Guidelines on Cards</a>
0023  * @since org.kde.kirigami 2.4
0024  * @inherit kirigami::templates::AbstractCard
0025  */
0026 T.AbstractCard {
0027     id: root
0028 
0029     background: P.DefaultCardBackground {
0030         clickFeedback: root.showClickFeedback
0031         hoverFeedback: root.hoverEnabled
0032     }
0033 }