+ Alt+S shortcut pronounces word.

+ Alt+M shortcut lists matches in scan popup window.
This commit is contained in:
Konstantin Isakov 2009-05-14 19:46:25 +00:00
parent 57af02224a
commit bf866a13e6
2 changed files with 10 additions and 3 deletions

View file

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

View file

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