Fixed #183: Provide a higher resolution main GoldenDict icon
Finally! :)
17
about.ui
|
@ -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>
|
||||||
|
|
|
@ -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"
|
||||||
|
|
||||||
|
|
Before Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 183 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 24 KiB |
BIN
icons/programicon_old.ico
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
icons/programicon_old.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
|
@ -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" );
|
||||||
}
|
}
|
||||||
|
|
|
@ -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" ) );
|
||||||
|
|
|
@ -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>
|
||||||
|
|