Added menu accelerators.

This commit is contained in:
Tvangeste 2012-12-30 10:29:19 +01:00
parent 747b227653
commit 321df3c224
3 changed files with 10 additions and 10 deletions

View file

@ -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 ),

View file

@ -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" ) );

View file

@ -128,7 +128,7 @@
</widget>
<widget class="QDockWidget" name="searchPane">
<property name="windowTitle">
<string>Search Pane</string>
<string>&amp;Search Pane</string>
</property>
<attribute name="dockWidgetArea">
<number>1</number>
@ -255,7 +255,7 @@
</widget>
<widget class="QDockWidget" name="dictsPane">
<property name="windowTitle">
<string>Results Navigation Pane</string>
<string>&amp;Results Navigation Pane</string>
</property>
<attribute name="dockWidgetArea">
<number>2</number>
@ -378,12 +378,12 @@
</action>
<action name="printPreview">
<property name="text">
<string>Print Preview</string>
<string>Print Pre&amp;view</string>
</property>
</action>
<action name="rescanFiles">
<property name="text">
<string>Rescan Files</string>
<string>&amp;Rescan Files</string>
</property>
<property name="shortcut">
<string>Ctrl+F5</string>
@ -400,7 +400,7 @@
<normaloff>:/icons/addtab.png</normaloff>:/icons/addtab.png</iconset>
</property>
<property name="text">
<string>New Tab</string>
<string>&amp;New Tab</string>
</property>
<property name="shortcut">
<string>Ctrl+T</string>
@ -437,7 +437,7 @@
<bool>true</bool>
</property>
<property name="text">
<string>Always on Top</string>
<string>&amp;Always on Top</string>
</property>
<property name="toolTip">
<string>Always on Top</string>