mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 00:14:06 +00:00
fix: add standard FindNext/Previous shortcuts to search panel
* Ctrl+G & Ctrl+Shift+G or F3 & Shift+F3 depends on platform.
This commit is contained in:
parent
2f6cb3c5d8
commit
3550362cac
|
@ -12,10 +12,12 @@ SearchPanel::SearchPanel( QWidget * parent ): QWidget( parent )
|
|||
previous = new QPushButton( this );
|
||||
previous->setIcon( QIcon( ":/icons/previous.svg" ) );
|
||||
previous->setText( tr( "&Previous" ) );
|
||||
previous->setShortcut( QKeySequence( tr( "Ctrl+Shift+G" ) ) );
|
||||
|
||||
next = new QPushButton( this );
|
||||
next->setIcon( QIcon( ":/icons/next.svg" ) );
|
||||
next->setText( tr( "&Next" ) );
|
||||
next->setShortcut( QKeySequence( tr( "Ctrl+G" ) ) );
|
||||
|
||||
highlightAll = new QCheckBox( this );
|
||||
highlightAll->setIcon( QIcon( ":/icons/highlighter.png" ) );
|
||||
|
|
Loading…
Reference in a new issue