[Krunner] Leaner look

wilder-5.17
Jacopo De Simoi 7 years ago
parent 0a8d9d5eb8
commit c9da229eaf
  1. 9
      lookandfeel/contents/runcommand/RunCommand.qml

@ -54,14 +54,14 @@ ColumnLayout {
Layout.alignment: Qt.AlignTop
PlasmaComponents.ToolButton {
iconSource: "configure"
visible: false
onClicked: {
runnerWindow.visible = false
runnerWindow.displayConfiguration()
}
Accessible.name: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Configure")
Accessible.description: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Configure Search Plugins")
visible: runnerWindow.canConfigure
tooltip: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Configure KRunner...")
tooltip: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Configure Krunner...")
}
PlasmaComponents.TextField {
id: queryField
@ -195,6 +195,7 @@ ColumnLayout {
}
PlasmaComponents.ToolButton {
iconSource: "window-close"
visible: false
onClicked: runnerWindow.visible = false
Accessible.name: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Close")
Accessible.description: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Close Search")
@ -272,7 +273,7 @@ ColumnLayout {
}
Keys.onReturnPressed: runCurrentIndex(event)
Keys.onEnterPressed: runCurrentIndex(event)
Keys.onTabPressed: {
if (currentIndex == listView.count-1) {
listView.nextItemInFocusChain(true).forceActiveFocus();
@ -298,7 +299,7 @@ ColumnLayout {
queryField.focus = true;
}
}
Keys.onUpPressed: decrementCurrentIndex()
Keys.onDownPressed: incrementCurrentIndex()

Loading…
Cancel
Save