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 + header.anchors.leftMargin + header.anchors.rightMargin
64 leftMargin: root.cardWidthRestricted ? Math.round((root.width - root.maximumWidth) / 2) : 0
65 rightMargin: root.cardWidthRestricted ? Math.round((root.width - root.maximumWidth) / 2) : 0
71 topPadding: root.topPadding
72 bottomPadding: root.bottomPadding
73 leftPadding: root.leftPadding
74 rightPadding: root.rightPadding
76 font.weight: Font.DemiBold
77 wrapMode: Text.WordWrap
78 Accessible.role: Accessible.Heading
79 Layout.fillWidth:
true
86 required
property var modelData
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:33:45 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.