New icons for the "Update" dialog.

This commit is contained in:
LoRd_MuldeR 2011-03-24 01:01:14 +01:00
parent d54caf5473
commit 5eec1b5931
7 changed files with 11 additions and 6 deletions

View File

@ -483,7 +483,7 @@
</property> </property>
<property name="icon"> <property name="icon">
<iconset resource="../res/Icons.qrc"> <iconset resource="../res/Icons.qrc">
<normaloff>:/icons/accept.png</normaloff>:/icons/accept.png</iconset> <normaloff>:/icons/shield_admin.png</normaloff>:/icons/shield_admin.png</iconset>
</property> </property>
<property name="iconSize"> <property name="iconSize">
<size> <size>
@ -585,6 +585,8 @@
<include location="../res/Images.qrc"/> <include location="../res/Images.qrc"/>
<include location="../res/Icons.qrc"/> <include location="../res/Icons.qrc"/>
<include location="../res/Images.qrc"/> <include location="../res/Images.qrc"/>
<include location="../res/Icons.qrc"/>
<include location="../res/Images.qrc"/>
</resources> </resources>
<connections> <connections>
<connection> <connection>

View File

@ -69,6 +69,9 @@
<file>icons/script.png</file> <file>icons/script.png</file>
<file>icons/script_edit.png</file> <file>icons/script_edit.png</file>
<file>icons/server_error.png</file> <file>icons/server_error.png</file>
<file>icons/shield_admin.png</file>
<file>icons/shield_exclamation.png</file>
<file>icons/shield_green.png</file>
<file>icons/sound.png</file> <file>icons/sound.png</file>
<file>icons/star.png</file> <file>icons/star.png</file>
<file>icons/table_edit.png</file> <file>icons/table_edit.png</file>

BIN
res/icons/shield_admin.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 861 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
res/icons/shield_green.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

@ -26,7 +26,7 @@
#define VER_LAMEXP_MINOR_HI 0 #define VER_LAMEXP_MINOR_HI 0
#define VER_LAMEXP_MINOR_LO 1 #define VER_LAMEXP_MINOR_LO 1
#define VER_LAMEXP_BUILD 400 #define VER_LAMEXP_BUILD 400
#define VER_LAMEXP_SUFFIX Beta-12 #define VER_LAMEXP_SUFFIX Beta-13
/* /*
* Tools versions * Tools versions

View File

@ -316,21 +316,21 @@ void UpdateDialog::checkForUpdates(void)
{ {
installButton->setEnabled(true); installButton->setEnabled(true);
statusLabel->setText(tr("A new version of LameXP is available!")); statusLabel->setText(tr("A new version of LameXP is available!"));
hintIcon->setPixmap(QIcon(":/icons/bell.png").pixmap(16,16)); hintIcon->setPixmap(QIcon(":/icons/shield_exclamation.png").pixmap(16,16));
hintLabel->setText(tr("We highly recommend all users to install this update as soon as possible.")); hintLabel->setText(tr("We highly recommend all users to install this update as soon as possible."));
hintIcon->show(); hintIcon->show();
hintLabel->show(); hintLabel->show();
WinSevenTaskbar::setOverlayIcon(this->parentWidget(), &QIcon(":/icons/bell.png")); WinSevenTaskbar::setOverlayIcon(this->parentWidget(), &QIcon(":/icons/shield_exclamation.png"));
MessageBeep(MB_ICONINFORMATION); MessageBeep(MB_ICONINFORMATION);
} }
else if(m_updateInfo->m_buildNo == lamexp_version_build()) else if(m_updateInfo->m_buildNo == lamexp_version_build())
{ {
statusLabel->setText(tr("No new updates available at this time.")); statusLabel->setText(tr("No new updates available at this time."));
hintIcon->setPixmap(QIcon(":/icons/information.png").pixmap(16,16)); hintIcon->setPixmap(QIcon(":/icons/shield_green.png").pixmap(16,16));
hintLabel->setText(tr("Your version of LameXP is still up-to-date. Please check for updates regularly!")); hintLabel->setText(tr("Your version of LameXP is still up-to-date. Please check for updates regularly!"));
hintIcon->show(); hintIcon->show();
hintLabel->show(); hintLabel->show();
WinSevenTaskbar::setOverlayIcon(this->parentWidget(), &QIcon(":/icons/information.png")); WinSevenTaskbar::setOverlayIcon(this->parentWidget(), &QIcon(":/icons/shield_green.png"));
MessageBeep(MB_ICONINFORMATION); MessageBeep(MB_ICONINFORMATION);
} }
else else