5import QtQuick.Controls as QQC2
7import org.kde.kirigami as Kirigami
8import org.kde.kirigamiaddons.delegates as Delegates
9import org.kde.kirigamiaddons.components as Components
10import org.kde.kirigamiaddons.statefulapp as StatefulApp
11import QtQuick.Templates as T
13Kirigami.SearchDialog {
16 required property StatefulApp.AbstractKirigamiApplication application
18 background: Components.DialogRoundedBackground {}
20 onTextChanged: root.application.actionsModel.filterString = text
22 model: root.application.actionsModel
23 delegate: Delegates.RoundedItemDelegate {
26 required property int index
27 required property string decoration
28 required property string displayName
29 required property string shortcut
30 required property var qaction
35 contentItem: RowLayout {
36 spacing: Kirigami.Units.smallSpacing
38 Delegates.DefaultContentItem {
39 itemDelegate: commandDelegate
40 Layout.fillWidth: true
44 text: commandDelegate.shortcut
45 color: Kirigami.Theme.disabledTextColor
55 emptyText: i18ndc("kirigami-addons6",
"@info:placeholder",
"No results found")
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.