Fixed #182: Provide a better Sound icon

The icon is by Evan Brooks, used with permission.
This commit is contained in:
Tvangeste 2013-08-21 10:02:46 +02:00
parent f67d9014a4
commit e2dde82580
9 changed files with 13 additions and 2 deletions

1
.gitignore vendored
View file

@ -8,6 +8,7 @@ locale/*.qm
debug/
build/
release/
tmp/
goldendict
Makefile

View file

@ -1353,6 +1353,8 @@
<Image Include="icons\icon32_zoomin.png" />
<Image Include="icons\icon32_zoomout.png" />
<Image Include="icons\icon_dsl_native.png" />
<Image Include="icons\playsound_color.png" />
<Image Include="icons\playsound_full.png" />
<Image Include="icons\programicon.ico" />
<Image Include="icons\programicon_old.ico" />
<Image Include="icons\programicon_old.png" />

View file

@ -1921,6 +1921,12 @@
<Image Include="icons\programicon_old.png">
<Filter>Resources\Icons</Filter>
</Image>
<Image Include="icons\playsound_color.png">
<Filter>Resources\Icons</Filter>
</Image>
<Image Include="icons\playsound_full.png">
<Filter>Resources\Icons</Filter>
</Image>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="goldendict.rc">

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1 KiB

BIN
icons/playsound_color.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
icons/playsound_full.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View file

@ -160,7 +160,7 @@ MainWindow::MainWindow( Config::Class & cfg_ ):
navToolbar->widgetForAction( afterScanPopupSeparator )->setObjectName( "afterScanPopupSeparator" );
// sound
navPronounce = navToolbar->addAction( QIcon( ":/icons/playsound.png" ), tr( "Pronounce Word (Alt+S)" ) );
navPronounce = navToolbar->addAction( QIcon( ":/icons/playsound_full.png" ), tr( "Pronounce Word (Alt+S)" ) );
navPronounce->setShortcut( QKeySequence( "Alt+S" ) );
navPronounce->setEnabled( false );
navToolbar->widgetForAction( navPronounce )->setObjectName( "soundButton" );

View file

@ -804,7 +804,7 @@ p, li { white-space: pre-wrap; }
<widget class="QWidget" name="tab_2">
<attribute name="icon">
<iconset resource="resources.qrc">
<normaloff>:/icons/playsound.png</normaloff>:/icons/playsound.png</iconset>
<normaloff>:/icons/playsound_color.png</normaloff>:/icons/playsound_color.png</iconset>
</attribute>
<attribute name="title">
<string>&amp;Audio</string>

View file

@ -73,5 +73,7 @@
<file>icons/collapse_article.png</file>
<file>icons/video.png</file>
<file>icons/programicon_old.png</file>
<file>icons/playsound_color.png</file>
<file>icons/playsound_full.png</file>
</qresource>
</RCC>