7pragma ComponentBehavior: Bound
10import QtQuick.Controls as QQC2
12import QtQuick.Templates as T
13import org.kde.kirigami as Kirigami
65 property list<T.Action> actions
71 property alias contentHeader: columnHeader.contentItem
81 property alias contentHeaderControl: columnHeader
83 preferredWidth: Kirigami.Units.gridUnit * 20
103 delegate: QQC2.ItemDelegate {
104 required
property T.Action modelData
106 Layout.fillWidth:
true
107 Layout.preferredHeight: Kirigami.Units.gridUnit * 2
110 visible: !(modelData instanceof Kirigami.Action) || modelData.visible
112 icon.width: Kirigami.Units.gridUnit
113 icon.height: Kirigami.Units.gridUnit
115 horizontalPadding: Kirigami.Units.largeSpacing + Kirigami.Units.smallSpacing
116 leftPadding: undefined
117 rightPadding: undefined
119 QQC2.ToolTip.text: modelData instanceof Kirigami.Action ? modelData.tooltip :
""
120 QQC2.ToolTip.visible: QQC2.ToolTip.text.length > 0 && (Kirigami.Settings.tabletMode ? pressed : hovered)
121 QQC2.ToolTip.delay: Kirigami.Settings.tabletMode ?
Qt.styleHints.mousePressAndHoldInterval : Kirigami.Units.toolTipDelay
123 onClicked: root.close()
128 standardButtons: QQC2.DialogButtonBox.NoButton
129 showCloseButton:
true
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:52 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.