implement search bar functionality in settings
This commit is contained in:
@@ -28,6 +28,7 @@ PageBase {
|
||||
checked: Config.launcher.enabled
|
||||
first: true
|
||||
last: true
|
||||
settingAnchor: "launcher-enabled"
|
||||
text: qsTr("Enabled")
|
||||
|
||||
onToggled: Config.launcher.enabled = checked
|
||||
@@ -41,6 +42,7 @@ PageBase {
|
||||
SpinRow {
|
||||
first: true
|
||||
from: 1
|
||||
settingAnchor: "launcher-max-items-shown"
|
||||
stepSize: 1
|
||||
text: qsTr("Max items shown")
|
||||
to: 20
|
||||
@@ -51,6 +53,7 @@ PageBase {
|
||||
|
||||
SpinRow {
|
||||
from: 1
|
||||
settingAnchor: "launcher-max-wallpapers"
|
||||
stepSize: 1
|
||||
text: qsTr("Max wallpapers")
|
||||
to: 30
|
||||
@@ -62,6 +65,7 @@ PageBase {
|
||||
SpinRow {
|
||||
from: 0
|
||||
last: true
|
||||
settingAnchor: "launcher-drag-threshold"
|
||||
stepSize: 5
|
||||
subtext: qsTr("Pixels dragged before the launcher opens")
|
||||
text: qsTr("Drag threshold")
|
||||
@@ -80,6 +84,7 @@ PageBase {
|
||||
checked: Config.launcher.enableDangerousActions
|
||||
first: true
|
||||
last: true
|
||||
settingAnchor: "launcher-enable-dangerous-actions"
|
||||
subtext: qsTr("Allow actions that shut down or log out")
|
||||
text: qsTr("Enable dangerous actions")
|
||||
|
||||
@@ -94,6 +99,7 @@ PageBase {
|
||||
ToggleRow {
|
||||
checked: Config.launcher.useFuzzy.apps
|
||||
first: true
|
||||
settingAnchor: "launcher-apps"
|
||||
text: qsTr("Apps")
|
||||
|
||||
onToggled: Config.launcher.useFuzzy.apps = checked
|
||||
@@ -101,20 +107,15 @@ PageBase {
|
||||
|
||||
ToggleRow {
|
||||
checked: Config.launcher.useFuzzy.actions
|
||||
settingAnchor: "launcher-actions"
|
||||
text: qsTr("Actions")
|
||||
|
||||
onToggled: Config.launcher.useFuzzy.actions = checked
|
||||
}
|
||||
|
||||
ToggleRow {
|
||||
checked: Config.launcher.useFuzzy.schemes
|
||||
text: qsTr("Schemes")
|
||||
|
||||
onToggled: Config.launcher.useFuzzy.schemes = checked
|
||||
}
|
||||
|
||||
ToggleRow {
|
||||
checked: Config.launcher.useFuzzy.variants
|
||||
settingAnchor: "launcher-variants"
|
||||
text: qsTr("Variants")
|
||||
|
||||
onToggled: Config.launcher.useFuzzy.variants = checked
|
||||
@@ -123,6 +124,7 @@ PageBase {
|
||||
ToggleRow {
|
||||
checked: Config.launcher.useFuzzy.wallpapers
|
||||
last: true
|
||||
settingAnchor: "launcher-wallpapers"
|
||||
text: qsTr("Wallpapers")
|
||||
|
||||
onToggled: Config.launcher.useFuzzy.wallpapers = checked
|
||||
|
||||
Reference in New Issue
Block a user