cmake-gui: Change shortcut of the search field from Ctrl-F to Alt-E
Ctrl-F is now used by "Find in Output". Signed-off-by: Alex Neundorf <neundorf@kde.org>
This commit is contained in:
parent
4ce65e82f5
commit
7be2d8acc6
|
@ -125,7 +125,8 @@ CMakeSetupDialog::CMakeSetupDialog()
|
||||||
#endif
|
#endif
|
||||||
ToolsMenu->addSeparator();
|
ToolsMenu->addSeparator();
|
||||||
ToolsMenu->addAction(tr("&Find in Output..."),
|
ToolsMenu->addAction(tr("&Find in Output..."),
|
||||||
this, SLOT(doOutputFindDialog()));
|
this, SLOT(doOutputFindDialog()),
|
||||||
|
QKeySequence::Find);
|
||||||
ToolsMenu->addAction(tr("&Find Next"),
|
ToolsMenu->addAction(tr("&Find Next"),
|
||||||
this, SLOT(doOutputFindNext()),
|
this, SLOT(doOutputFindNext()),
|
||||||
QKeySequence::FindNext);
|
QKeySequence::FindNext);
|
||||||
|
@ -165,10 +166,6 @@ CMakeSetupDialog::CMakeSetupDialog()
|
||||||
QObject::connect(a, SIGNAL(triggered(bool)),
|
QObject::connect(a, SIGNAL(triggered(bool)),
|
||||||
this, SLOT(doHelp()));
|
this, SLOT(doHelp()));
|
||||||
|
|
||||||
QShortcut* filterShortcut = new QShortcut(QKeySequence::Find, this);
|
|
||||||
QObject::connect(filterShortcut, SIGNAL(activated()),
|
|
||||||
this, SLOT(startSearch()));
|
|
||||||
|
|
||||||
this->setAcceptDrops(true);
|
this->setAcceptDrops(true);
|
||||||
|
|
||||||
// get the saved binary directories
|
// get the saved binary directories
|
||||||
|
@ -1170,7 +1167,7 @@ void CMakeSetupDialog::doOutputContextMenu(const QPoint &pt)
|
||||||
|
|
||||||
menu->addSeparator();
|
menu->addSeparator();
|
||||||
menu->addAction(tr("Find..."),
|
menu->addAction(tr("Find..."),
|
||||||
this, SLOT(doOutputFindDialog()));
|
this, SLOT(doOutputFindDialog()), QKeySequence::Find);
|
||||||
menu->addAction(tr("Find Next"),
|
menu->addAction(tr("Find Next"),
|
||||||
this, SLOT(doOutputFindNext()), QKeySequence::FindNext);
|
this, SLOT(doOutputFindNext()), QKeySequence::FindNext);
|
||||||
menu->addAction(tr("Find Previous"),
|
menu->addAction(tr("Find Previous"),
|
||||||
|
|
|
@ -107,7 +107,10 @@
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Search:</string>
|
<string>S&earch:</string>
|
||||||
|
</property>
|
||||||
|
<property name="buddy">
|
||||||
|
<cstring>Search</cstring>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|
Loading…
Reference in New Issue