8import QtQuick.Controls as QQC2
9import QtQuick.Templates as T
12import org.kde.kirigami as Kirigami
27 property alias title: headerContent.text
29 property alias trailing: header.data
34 property real maximumWidth: Kirigami.Units.gridUnit * 30
36 property list<T.Action> actions
41 property real topPadding:
Kirigami.Units.largeSpacing +
Kirigami.Units.smallSpacing
42 property real bottomPadding:
Kirigami.Units.smallSpacing
43 property real leftPadding: cardWidthRestricted ?
Kirigami.Units.smallSpacing :
Kirigami.Units.largeSpacing +
Kirigami.Units.smallSpacing
44 property real rightPadding: cardWidthRestricted ?
Kirigami.Units.smallSpacing :
Kirigami.Units.largeSpacing +
Kirigami.Units.smallSpacing
49 readonly
property bool cardWidthRestricted: root.width > root.maximumWidth
54 Layout.fillWidth:
true
56 implicitHeight: header.implicitHeight
57 implicitWidth: header.implicitWidth
66 leftMargin: root.cardWidthRestricted ? Math.round((root.width - root.maximumWidth) / 2) : 0
67 rightMargin: root.cardWidthRestricted ? Math.round((root.width - root.maximumWidth) / 2) : 0
73 topPadding: root.topPadding
74 bottomPadding: root.bottomPadding
75 leftPadding: root.leftPadding
76 rightPadding: root.rightPadding
78 font.weight: Font.DemiBold
79 wrapMode: Text.WordWrap
80 Accessible.role: Accessible.Heading
81 Layout.fillWidth:
true
88 required
property var modelData
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 27 2024 11:48:17 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.