Fixed #183: Provide a higher resolution main GoldenDict icon

Finally! :)
This commit is contained in:
Tvangeste 2013-07-19 19:07:32 +02:00
parent 47c4646642
commit 039caf07f1
11 changed files with 22 additions and 5 deletions

View file

@ -23,13 +23,28 @@
<item> <item>
<layout class="QHBoxLayout" name="horizontalLayout"> <layout class="QHBoxLayout" name="horizontalLayout">
<item> <item>
<widget class="QLabel" name="label_4"> <widget class="QLabel" name="icon">
<property name="minimumSize">
<size>
<width>80</width>
<height>80</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>80</width>
<height>80</height>
</size>
</property>
<property name="text"> <property name="text">
<string/> <string/>
</property> </property>
<property name="pixmap"> <property name="pixmap">
<pixmap resource="resources.qrc">:/icons/programicon.png</pixmap> <pixmap resource="resources.qrc">:/icons/programicon.png</pixmap>
</property> </property>
<property name="scaledContents">
<bool>true</bool>
</property>
<property name="alignment"> <property name="alignment">
<set>Qt::AlignCenter</set> <set>Qt::AlignCenter</set>
</property> </property>

View file

@ -1,6 +1,7 @@
#include "winuser.h" #include "winuser.h"
IDI_ICON1 ICON DISCARDABLE "icons/programicon.ico" IDI_ICON1 ICON DISCARDABLE "icons/programicon.ico"
IDI_ICON2 ICON DISCARDABLE "icons/programicon_old.ico"
#define GOLDENDICT_VER 1,5,0,0 #define GOLDENDICT_VER 1,5,0,0
#define GOLDENDICT_VER_STR "1.5.0" #define GOLDENDICT_VER_STR "1.5.0"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 183 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 24 KiB

BIN
icons/programicon_old.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
icons/programicon_old.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View file

@ -515,7 +515,7 @@ MainWindow::MainWindow( Config::Class & cfg_ ):
if ( cfg.preferences.enableTrayIcon ) if ( cfg.preferences.enableTrayIcon )
{ {
trayIcon = new QSystemTrayIcon( QIcon( ":/icons/programicon.png" ), this ); trayIcon = new QSystemTrayIcon( QIcon( ":/icons/programicon_old.png" ), this );
trayIcon->setToolTip( tr( "Loading..." ) ); trayIcon->setToolTip( tr( "Loading..." ) );
trayIcon->show(); trayIcon->show();
} }
@ -965,7 +965,7 @@ void MainWindow::updateTrayIcon()
if ( !trayIcon && cfg.preferences.enableTrayIcon ) if ( !trayIcon && cfg.preferences.enableTrayIcon )
{ {
// Need to show it // Need to show it
trayIcon = new QSystemTrayIcon( QIcon( ":/icons/programicon.png" ), this ); trayIcon = new QSystemTrayIcon( QIcon( ":/icons/programicon_old.png" ), this );
trayIcon->setContextMenu( &trayIconMenu ); trayIcon->setContextMenu( &trayIconMenu );
trayIcon->show(); trayIcon->show();
@ -986,7 +986,7 @@ void MainWindow::updateTrayIcon()
trayIcon->setIcon( QIcon( trayIcon->setIcon( QIcon(
enableScanPopup->isChecked() ? enableScanPopup->isChecked() ?
":/icons/programicon_scan.png" : ":/icons/programicon_scan.png" :
":/icons/programicon.png" ) ); ":/icons/programicon_old.png" ) );
trayIcon->setToolTip( "GoldenDict" ); trayIcon->setToolTip( "GoldenDict" );
} }

View file

@ -77,7 +77,7 @@ Preferences::Preferences( QWidget * parent, Config::Preferences const & p ):
break; break;
} }
ui.displayStyle->addItem( QIcon( ":/icons/programicon.png" ), tr( "Default" ), QString() ); ui.displayStyle->addItem( QIcon( ":/icons/programicon_old.png" ), tr( "Default" ), QString() );
ui.displayStyle->addItem( QIcon( ":/icons/programicon.png" ), tr( "Modern" ), QString( "modern" ) ); ui.displayStyle->addItem( QIcon( ":/icons/programicon.png" ), tr( "Modern" ), QString( "modern" ) );
ui.displayStyle->addItem( QIcon( ":/icons/icon32_dsl.png" ), tr( "Lingvo" ), QString( "lingvo" ) ); ui.displayStyle->addItem( QIcon( ":/icons/icon32_dsl.png" ), tr( "Lingvo" ), QString( "lingvo" ) );
ui.displayStyle->addItem( QIcon( ":/icons/icon32_bgl.png" ), tr( "Babylon" ), QString( "babylon" ) ); ui.displayStyle->addItem( QIcon( ":/icons/icon32_bgl.png" ), tr( "Babylon" ), QString( "babylon" ) );

View file

@ -72,5 +72,6 @@
<file>icons/collapse_article_hovered.png</file> <file>icons/collapse_article_hovered.png</file>
<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>
</qresource> </qresource>
</RCC> </RCC>