[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kdevplatform] plugins/grepview: Grepview: Make replace-action keyboard activatable
From: Kevin Funk <kfunk () kde ! org>
Date: 2014-02-28 18:27:24
Message-ID: E1WJS9c-0002nF-Op () scm ! kde ! org
[Download RAW message or body]
Git commit ec6685d86693d93c7cae0061e19280b581bb181e by Kevin Funk.
Committed on 28/02/2014 at 18:19.
Pushed by kfunk into branch 'master'.
Grepview: Make replace-action keyboard activatable
M +1 -0 plugins/grepview/grepoutputview.cpp
M +5 -2 plugins/grepview/grepoutputview.ui
http://commits.kde.org/kdevplatform/ec6685d86693d93c7cae0061e19280b581bb181e
diff --git a/plugins/grepview/grepoutputview.cpp b/plugins/grepview/grepoutputview.cpp
index ab9a2b2..9ef3744 100644
--- a/plugins/grepview/grepoutputview.cpp
+++ b/plugins/grepview/grepoutputview.cpp
@@ -130,6 +130,7 @@ GrepOutputView::GrepOutputView(QWidget* parent, GrepViewPlugin* plugin)
applyButton->setIcon(KIcon("dialog-ok-apply"));
connect(replacementCombo, SIGNAL(editTextChanged(QString)), SLOT(replacementTextChanged(QString)));
+ connect(replacementCombo, SIGNAL(returnPressed()), SLOT(onApply()));
connect(newSearchAction, SIGNAL(triggered(bool)), this, SLOT(showDialog()));
diff --git a/plugins/grepview/grepoutputview.ui b/plugins/grepview/grepoutputview.ui
index 8cd1518..cba028e 100644
--- a/plugins/grepview/grepoutputview.ui
+++ b/plugins/grepview/grepoutputview.ui
@@ -38,7 +38,10 @@
</sizepolicy>
</property>
<property name="text">
- <string>Replacement Text:</string>
+ <string>Replacement &Text:</string>
+ </property>
+ <property name="buddy">
+ <cstring>replacementCombo</cstring>
</property>
</widget>
</item>
@@ -70,7 +73,7 @@
<string>Apply replacement on selected items.</string>
</property>
<property name="text">
- <string>Replace</string>
+ <string>&Replace</string>
</property>
</widget>
</item>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic