mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 00:14:06 +00:00
+ Alt+S shortcut pronounces word.
+ Alt+M shortcut lists matches in scan popup window.
This commit is contained in:
parent
57af02224a
commit
bf866a13e6
|
@ -76,7 +76,8 @@ MainWindow::MainWindow( Config::Class & cfg_ ):
|
|||
this, SLOT( scanEnableToggled( bool ) ) );
|
||||
|
||||
navToolbar->addSeparator();
|
||||
navPronounce = navToolbar->addAction( QIcon( ":/icons/playsound.png" ), tr( "Pronounce word" ) );
|
||||
navPronounce = navToolbar->addAction( QIcon( ":/icons/playsound.png" ), tr( "Pronounce Word (Alt+S)" ) );
|
||||
navPronounce->setShortcut( QKeySequence( "Alt+S" ) );
|
||||
navPronounce->setEnabled( false );
|
||||
|
||||
connect( navPronounce, SIGNAL( triggered() ),
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
<item>
|
||||
<widget class="QToolButton" name="wordListButton">
|
||||
<property name="toolTip">
|
||||
<string>List matches</string>
|
||||
<string>List Matches (Alt+M)</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>...</string>
|
||||
|
@ -75,12 +75,15 @@
|
|||
<height>16</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Alt+M</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QToolButton" name="pronounceButton">
|
||||
<property name="toolTip">
|
||||
<string>Pronounce word</string>
|
||||
<string>Pronounce Word (Alt+S)</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>...</string>
|
||||
|
@ -89,6 +92,9 @@
|
|||
<iconset resource="resources.qrc">
|
||||
<normaloff>:/icons/playsound.png</normaloff>:/icons/playsound.png</iconset>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Alt+S</string>
|
||||
</property>
|
||||
<property name="autoRaise">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
|
|
Loading…
Reference in a new issue