5pragma ComponentBehavior: Bound
8import QtQuick.Controls as QQC2
9import QtQuick.Controls as T
11import Qt.labs.qmlmodels
13import org.kde.kirigami as Kirigami
14import org.kde.kirigamiaddons.components as KirigamiComponents
15import org.kde.kirigamiaddons.formcard as FormCard
20 required property list<T.Action> actions
21 required
property T.StackView stackView
22 required
property KirigamiComponents.BottomDrawer drawer
25 Layout.fillWidth:
true
28 width: root.availableWidth
41 required
property T.Action modelData
43 visible: modelData.visible === undefined || modelData.visible
51 required
property T.Action modelData
54 visible: modelData.visible === undefined || modelData.visible
57 when: !(modelData instanceof
Kirigami.Action) || modelData.children.length === 0
58 target: button.trailingLogo
64 if (modelData instanceof
Kirigami.Action && modelData.children.length > 0) {
65 root.stackView.push(
Qt.resolvedUrl(
'./ContextMenuPage.qml'), {
66 stackView: root.stackView,
67 actions: modelData.children,
68 title: modelData.text,
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 3 2025 11:46:31 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.