1
0
Fork 0

GUI: Some icons updated.

2 Icons added && 2 Icons changed.
This commit is contained in:
Jack Reez 2020-05-27 15:59:51 +05:30 committed by Duncan Ogilvie
parent 484d9289bb
commit 193eb52ef5
7 changed files with 5 additions and 3 deletions

View File

@ -951,7 +951,7 @@
<action name="actionCrashDump">
<property name="icon">
<iconset resource="../../resource.qrc">
<normaloff>:/icons/images/fatal-error.png</normaloff>:/icons/images/fatal-error.png</iconset>
<normaloff>:/icons/images/crash_dump.png</normaloff>:/icons/images/crash_dump.png</iconset>
</property>
<property name="text">
<string>Generate crash dump</string>

View File

@ -77,7 +77,7 @@ bool SimpleChoiceBox(QWidget* parent, const QString & title, QString defaultValu
void SimpleErrorBox(QWidget* parent, const QString & title, const QString & text)
{
QMessageBox msg(QMessageBox::Critical, title, text, QMessageBox::NoButton, parent);
msg.setWindowIcon(DIcon("compile-error.png"));
msg.setWindowIcon(DIcon("fatal-error.png"));
msg.setParent(parent, Qt::Dialog);
msg.setWindowFlags(msg.windowFlags() & (~Qt::WindowContextHelpButtonHint));
msg.exec();
@ -86,7 +86,7 @@ void SimpleErrorBox(QWidget* parent, const QString & title, const QString & text
void SimpleWarningBox(QWidget* parent, const QString & title, const QString & text)
{
QMessageBox msg(QMessageBox::Warning, title, text, QMessageBox::NoButton, parent);
msg.setWindowIcon(DIcon("compile-warning.png"));
msg.setWindowIcon(DIcon("exclamation.png"));
msg.setParent(parent, Qt::Dialog);
msg.setWindowFlags(msg.windowFlags() & (~Qt::WindowContextHelpButtonHint));
msg.exec();

Binary file not shown.

After

Width:  |  Height:  |  Size: 856 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 654 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 308 B

After

Width:  |  Height:  |  Size: 886 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 759 B

View File

@ -312,5 +312,7 @@
<file>images/names.png</file>
<file>images/fit.png</file>
<file>images/zoom.png</file>
<file>images/crash_dump.png</file>
<file>images/exclamation.png</file>
</qresource>
</RCC>