Changeset View
Changeset View
Standalone View
Standalone View
sidebar/package/contents/ui/CategoriesPage.qml
Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Line(s) | 51 | menu: ActionMenu { | |||
---|---|---|---|---|---|
52 | actions: ["configure", "help_contents", "help_about_app", "help_about_kde"] | 52 | actions: ["configure", "help_contents", "help_about_app", "help_about_kde"] | ||
53 | } | 53 | } | ||
54 | } | 54 | } | ||
55 | Kirigami.ActionTextField { | 55 | Kirigami.ActionTextField { | ||
56 | id: searchField | 56 | id: searchField | ||
57 | focus: true | 57 | focus: true | ||
58 | Layout.minimumHeight: Layout.maximumHeight | 58 | Layout.minimumHeight: Layout.maximumHeight | ||
59 | Layout.maximumHeight: Kirigami.Units.iconSizes.smallMedium + Kirigami.Units.smallSpacing * 2 | 59 | Layout.maximumHeight: Kirigami.Units.iconSizes.smallMedium + Kirigami.Units.smallSpacing * 2 | ||
60 | Layout.rightMargin: Kirigami.Units.smallSpacing / 2 | ||||
60 | Layout.fillWidth: true | 61 | Layout.fillWidth: true | ||
61 | placeholderText: i18n("Search...") | 62 | placeholderText: i18n("Search...") | ||
62 | onTextChanged: { | 63 | onTextChanged: { | ||
63 | systemsettings.categoryModel.filterRegExp = text; | 64 | systemsettings.categoryModel.filterRegExp = text; | ||
64 | } | 65 | } | ||
65 | rightActions: [ | 66 | rightActions: [ | ||
66 | Kirigami.Action { | 67 | Kirigami.Action { | ||
67 | iconName: LayoutMirroring.enabled ? "edit-clear-rtl" : "edit-clear" | 68 | iconName: LayoutMirroring.enabled ? "edit-clear-rtl" : "edit-clear" | ||
▲ Show 20 Lines • Show All 102 Lines • Show Last 20 Lines |