mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
Added Shift+F3 shortcut to find previous on page. See #74
- "Shift+F3" and "F3" shortcuts are also available when searching in source code
This commit is contained in:
parent
72077ab496
commit
82870d5531
|
@ -42,6 +42,9 @@ SourceViewerSearch::SourceViewerSearch(SourceViewer* parent)
|
|||
QShortcut* findNextAction = new QShortcut(QKeySequence("F3"), this);
|
||||
connect(findNextAction, SIGNAL(activated()), this, SLOT(next()));
|
||||
|
||||
QShortcut* findPreviousAction = new QShortcut(QKeySequence("Shift+F3"), this);
|
||||
connect(findPreviousAction, SIGNAL(activated()), this, SLOT(previous()));
|
||||
|
||||
startAnimation();
|
||||
qApp->installEventFilter(this);
|
||||
}
|
||||
|
|
|
@ -47,6 +47,9 @@ SearchToolBar::SearchToolBar(QupZilla* mainClass, QWidget* parent)
|
|||
QShortcut* findNextAction = new QShortcut(QKeySequence("F3"), this);
|
||||
connect(findNextAction, SIGNAL(activated()), this, SLOT(findNext()));
|
||||
|
||||
QShortcut* findPreviousAction = new QShortcut(QKeySequence("Shift+F3"), this);
|
||||
connect(findPreviousAction, SIGNAL(activated()), this, SLOT(findPrevious()));
|
||||
|
||||
p_QupZilla->actionStop()->setEnabled(false);
|
||||
qApp->installEventFilter(this);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user