5import QtQuick.Controls as QQC2
8import org.kde.kirigami as Kirigami
9import org.kde.kirigamiaddons.components as Components
10import org.kde.kirigamiaddons.formcard as FormCard
12import './private' as Private
52 default property alias content: columnLayout.data
54 x: Math.round((parent.width - width) / 2)
55 y: Math.round((parent.height - height) / 2)
56 z: Kirigami.OverlayZStacking.z
58 background: Components.DialogRoundedBackground {}
60 parent: applicationWindow().QQC2.Overlay.overlay
62 implicitWidth: Math.min(parent.width - Kirigami.Units.gridUnit * 2, Kirigami.Units.gridUnit * 15)
64 implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset,
65 contentHeight + topPadding + bottomPadding
66 + (implicitHeaderHeight > 0 ? implicitHeaderHeight + spacing : 0)
67 + (implicitFooterHeight > 0 ? implicitFooterHeight + spacing : 0))
74 header: Kirigami.Heading {
76 elide: QQC2.Label.ElideRight
77 leftPadding: Private.FormCardUnits.horizontalPadding
78 rightPadding: Private.FormCardUnits.horizontalPadding
79 topPadding: Private.FormCardUnits.verticalPadding
83 contentItem: ColumnLayout {
89 footer: QQC2.DialogButtonBox {
90 leftPadding: Private.FormCardUnits.horizontalPadding
91 rightPadding: Private.FormCardUnits.horizontalPadding
92 bottomPadding: Private.FormCardUnits.verticalPadding
93 topPadding: Kirigami.Units.smallSpacing
94 spacing: Kirigami.Units.mediumSpacing
96 standardButtons: root.standardButtons
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.