From 321df3c224c5cb7508ee5a547f8291fe616375cd Mon Sep 17 00:00:00 2001 From: Tvangeste Date: Sun, 30 Dec 2012 10:29:19 +0100 Subject: [PATCH] Added menu accelerators. --- dictionarybar.cc | 2 +- mainwindow.cc | 6 +++--- mainwindow.ui | 12 ++++++------ 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/dictionarybar.cc b/dictionarybar.cc index bbae9250..bfbf7a06 100644 --- a/dictionarybar.cc +++ b/dictionarybar.cc @@ -11,7 +11,7 @@ using std::vector; DictionaryBar::DictionaryBar( QWidget * parent, Config::Events & events, QString const & _editDictionaryCommand ): - QToolBar( tr( "Dictionary Bar" ), parent ), + QToolBar( tr( "&Dictionary Bar" ), parent ), mutedDictionaries( 0 ), configEvents( events ), editDictionaryCommand( _editDictionaryCommand ), diff --git a/mainwindow.cc b/mainwindow.cc index 17c3da4c..b066441a 100644 --- a/mainwindow.cc +++ b/mainwindow.cc @@ -59,8 +59,8 @@ MainWindow::MainWindow( Config::Class & cfg_ ): closeRestTabAction( this ), switchToNextTabAction( this ), switchToPrevTabAction( this ), - showDictBarNamesAction( tr( "Show Names in Dictionary Bar" ), this ), - useSmallIconsInToolbarsAction( tr( "Show Small Icons in Toolbars" ), this ), + showDictBarNamesAction( tr( "Show Names in Dictionary &Bar" ), this ), + useSmallIconsInToolbarsAction( tr( "Show Small Icons in &Toolbars" ), this ), toggleMenuBarAction( tr( "&Menubar" ), this ), switchExpandModeAction( this ), trayIconMenu( this ), @@ -90,7 +90,7 @@ MainWindow::MainWindow( Config::Class & cfg_ ): mainStatusBar = new MainStatusBar( this ); // Make the toolbar - navToolbar = addToolBar( tr( "Navigation" ) ); + navToolbar = addToolBar( tr( "&Navigation" ) ); navToolbar->setObjectName( "navToolbar" ); navBack = navToolbar->addAction( QIcon( ":/icons/previous.png" ), tr( "Back" ) ); diff --git a/mainwindow.ui b/mainwindow.ui index 3146b704..a61bb9d4 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -128,7 +128,7 @@ - Search Pane + &Search Pane 1 @@ -255,7 +255,7 @@ - Results Navigation Pane + &Results Navigation Pane 2 @@ -378,12 +378,12 @@ - Print Preview + Print Pre&view - Rescan Files + &Rescan Files Ctrl+F5 @@ -400,7 +400,7 @@ :/icons/addtab.png:/icons/addtab.png - New Tab + &New Tab Ctrl+T @@ -437,7 +437,7 @@ true - Always on Top + &Always on Top Always on Top