kcms/effects: remove hint text on top

It's pretty obvious, and now individual effects that are activated by
keyboard shortcut are indicate inline. The label no longer adds much
value, so remove it.
wilder/Plasma/6.3
Nate Graham 2 years ago
parent 12f03df605
commit 4795daf39b
  1. 55
      src/kcms/effects/ui/main.qml

@ -32,53 +32,40 @@ ScrollViewKCM {
}
}
header: ColumnLayout {
header: RowLayout {
spacing: Kirigami.Units.smallSpacing
QQC2.Label {
Layout.fillWidth: true
Layout.leftMargin: Kirigami.Units.smallSpacing
Layout.rightMargin: Kirigami.Units.smallSpacing
Kirigami.SearchField {
id: searchField
wrapMode: Text.WordWrap
text: i18n("Hint: To find out or configure how to activate an effect, look at the effect's settings.")
Layout.fillWidth: true
}
RowLayout {
spacing: Kirigami.Units.smallSpacing
Kirigami.SearchField {
id: searchField
Layout.fillWidth: true
}
QQC2.ToolButton {
id: filterButton
QQC2.ToolButton {
id: filterButton
icon.name: "view-filter"
icon.name: "view-filter"
checkable: true
checked: menu.opened
onClicked: menu.popup(filterButton, filterButton.width - menu.width, filterButton.height)
checkable: true
checked: menu.opened
onClicked: menu.popup(filterButton, filterButton.width - menu.width, filterButton.height)
QQC2.ToolTip {
text: i18n("Configure Filter")
}
QQC2.ToolTip {
text: i18n("Configure Filter")
}
}
QQC2.Menu {
id: menu
QQC2.Menu {
id: menu
modal: true
modal: true
QQC2.MenuItem {
checkable: true
checked: searchModel.excludeUnsupported
text: i18n("Exclude unsupported effects")
QQC2.MenuItem {
checkable: true
checked: searchModel.excludeUnsupported
text: i18n("Exclude unsupported effects")
onToggled: searchModel.excludeUnsupported = checked
}
onToggled: searchModel.excludeUnsupported = checked
}
}
}

Loading…
Cancel
Save