8import QtQuick.Controls as QQC2
10import org.kde.kirigami as Kirigami
23 header: Kirigami.AbstractApplicationHeader {
27 minimumHeight: Kirigami.Units.gridUnit * 1.6
28 maximumHeight: Kirigami.Units.gridUnit * 1.6
29 preferredHeight: Kirigami.Units.gridUnit * 1.6
31 Keys.onEscapePressed: event => {
35 event.accepted =
false;
39 contentItem: RowLayout {
42 Layout.leftMargin: Kirigami.Units.largeSpacing
44 elide: Text.ElideRight
47 Layout.fillWidth:
true
51 Layout.alignment:
Qt.AlignVCenter
52 Layout.rightMargin: Kirigami.Units.largeSpacing
53 Layout.preferredHeight: Kirigami.Units.iconSizes.smallMedium
54 Layout.preferredWidth: Kirigami.Units.iconSizes.smallMedium
55 source: closeMouseArea.containsMouse ?
"window-close" :
"window-close-symbolic"
56 active: closeMouseArea.containsMouse
61 onClicked: mouse => dialog.close();
67 contentItem: QQC2.Control {
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:05:44 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.