KDeclarative
44 topPadding: headerParent.contentItem ? 0 : leftPadding
45 rightPadding: leftPadding
46 bottomPadding: footerParent.contentItem ? 0 : leftPadding
48 header: QtControls.Control {
50 height: contentItem ? implicitHeight : 0
52 topPadding: leftPadding
53 rightPadding: leftPadding
54 bottomPadding: leftPadding
57 footer: QtControls.Control {
59 height: contentItem ? implicitHeight : 0
61 topPadding: leftPadding
62 rightPadding: leftPadding
63 bottomPadding: leftPadding
66 Component.onCompleted: {
67 if (footer && footer != footerParent) {
70 footerParent.contentItem = f
73 f.parent = footerParent
76 if (header && header != headerParent) {
79 headerParent.contentItem = h
82 h.parent = headerParent
86 for (let i in contentItem.data) {
87 let child = contentItem.data[i];
88 if (child instanceof
Kirigami.OverlaySheet) {
92 root.data.push(child);
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Mon Jan 25 2021 22:44:28 by
doxygen 1.8.11 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.