Changeset View
Changeset View
Standalone View
Standalone View
sidebar/package/contents/ui/CategoriesPage.qml
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Line(s) | 41 | QtControls.ToolButton { | |||
---|---|---|---|---|---|
45 | Layout.maximumHeight: width | 45 | Layout.maximumHeight: width | ||
46 | Keys.onBacktabPressed: { | 46 | Keys.onBacktabPressed: { | ||
47 | root.focusPreviousRequest() | 47 | root.focusPreviousRequest() | ||
48 | } | 48 | } | ||
49 | menu: ActionMenu { | 49 | menu: ActionMenu { | ||
50 | actions: ["configure", "help_contents", "help_about_app", "help_about_kde"] | 50 | actions: ["configure", "help_contents", "help_about_app", "help_about_kde"] | ||
51 | } | 51 | } | ||
52 | } | 52 | } | ||
53 | QtControls.TextField { | 53 | QtControls2.TextField { | ||
54 | id: searchField | 54 | id: searchField | ||
55 | focus: true | 55 | focus: true | ||
56 | Layout.minimumHeight: Layout.maximumHeight | 56 | Layout.minimumHeight: Layout.maximumHeight | ||
57 | Layout.maximumHeight: Kirigami.Units.iconSizes.smallMedium + Kirigami.Units.smallSpacing * 2 | 57 | Layout.maximumHeight: Kirigami.Units.iconSizes.smallMedium + Kirigami.Units.smallSpacing * 2 | ||
58 | Layout.fillWidth: true | 58 | Layout.fillWidth: true | ||
59 | placeholderText: i18n("Search...") | 59 | placeholderText: i18n("Search...") | ||
60 | onTextChanged: { | 60 | onTextChanged: { | ||
61 | systemsettings.categoryModel.filterRegExp = text; | 61 | systemsettings.categoryModel.filterRegExp = text; | ||
▲ Show 20 Lines • Show All 119 Lines • Show Last 20 Lines |