mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 20:14:05 +00:00
Fixed #182: Provide a better Sound icon
The icon is by Evan Brooks, used with permission.
This commit is contained in:
parent
f67d9014a4
commit
e2dde82580
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -8,6 +8,7 @@ locale/*.qm
|
||||||
debug/
|
debug/
|
||||||
build/
|
build/
|
||||||
release/
|
release/
|
||||||
|
tmp/
|
||||||
goldendict
|
goldendict
|
||||||
|
|
||||||
Makefile
|
Makefile
|
||||||
|
|
|
@ -1353,6 +1353,8 @@
|
||||||
<Image Include="icons\icon32_zoomin.png" />
|
<Image Include="icons\icon32_zoomin.png" />
|
||||||
<Image Include="icons\icon32_zoomout.png" />
|
<Image Include="icons\icon32_zoomout.png" />
|
||||||
<Image Include="icons\icon_dsl_native.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.ico" />
|
||||||
<Image Include="icons\programicon_old.ico" />
|
<Image Include="icons\programicon_old.ico" />
|
||||||
<Image Include="icons\programicon_old.png" />
|
<Image Include="icons\programicon_old.png" />
|
||||||
|
|
|
@ -1921,6 +1921,12 @@
|
||||||
<Image Include="icons\programicon_old.png">
|
<Image Include="icons\programicon_old.png">
|
||||||
<Filter>Resources\Icons</Filter>
|
<Filter>Resources\Icons</Filter>
|
||||||
</Image>
|
</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>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ResourceCompile Include="goldendict.rc">
|
<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
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
BIN
icons/playsound_full.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
|
@ -160,7 +160,7 @@ MainWindow::MainWindow( Config::Class & cfg_ ):
|
||||||
navToolbar->widgetForAction( afterScanPopupSeparator )->setObjectName( "afterScanPopupSeparator" );
|
navToolbar->widgetForAction( afterScanPopupSeparator )->setObjectName( "afterScanPopupSeparator" );
|
||||||
|
|
||||||
// sound
|
// 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->setShortcut( QKeySequence( "Alt+S" ) );
|
||||||
navPronounce->setEnabled( false );
|
navPronounce->setEnabled( false );
|
||||||
navToolbar->widgetForAction( navPronounce )->setObjectName( "soundButton" );
|
navToolbar->widgetForAction( navPronounce )->setObjectName( "soundButton" );
|
||||||
|
|
|
@ -804,7 +804,7 @@ p, li { white-space: pre-wrap; }
|
||||||
<widget class="QWidget" name="tab_2">
|
<widget class="QWidget" name="tab_2">
|
||||||
<attribute name="icon">
|
<attribute name="icon">
|
||||||
<iconset resource="resources.qrc">
|
<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>
|
||||||
<attribute name="title">
|
<attribute name="title">
|
||||||
<string>&Audio</string>
|
<string>&Audio</string>
|
||||||
|
|
|
@ -73,5 +73,7 @@
|
||||||
<file>icons/collapse_article.png</file>
|
<file>icons/collapse_article.png</file>
|
||||||
<file>icons/video.png</file>
|
<file>icons/video.png</file>
|
||||||
<file>icons/programicon_old.png</file>
|
<file>icons/programicon_old.png</file>
|
||||||
|
<file>icons/playsound_color.png</file>
|
||||||
|
<file>icons/playsound_full.png</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
|
Loading…
Reference in a new issue