mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
Added menu accelerators.
This commit is contained in:
parent
747b227653
commit
321df3c224
|
@ -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 ),
|
||||
|
|
|
@ -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" ) );
|
||||
|
|
|
@ -128,7 +128,7 @@
|
|||
</widget>
|
||||
<widget class="QDockWidget" name="searchPane">
|
||||
<property name="windowTitle">
|
||||
<string>Search Pane</string>
|
||||
<string>&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>&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&view</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="rescanFiles">
|
||||
<property name="text">
|
||||
<string>Rescan Files</string>
|
||||
<string>&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>&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>&Always on Top</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Always on Top</string>
|
||||
|
|
Loading…
Reference in a new issue