Replace PNG by SVG in messagedock and externsimdialog

This commit is contained in:
Vadim Kuznetsov 2023-10-16 16:00:08 +03:00
parent d0a0b1db0f
commit 4f8fe07e17
3 changed files with 7 additions and 7 deletions

View File

@ -190,7 +190,7 @@ void ExternSimDialog::slotProcessOutput()
emit warnings();
} else {
addLogEntry(tr("Simulation successful. Now place diagram on schematic to plot the result."),
QIcon(":/bitmaps/tick.png"));
QIcon(":/bitmaps/svg/ok_apply.svg"));
emit success();
}
//editSimConsole->clear();

View File

@ -137,9 +137,9 @@ void MessageDock::slotAdmsChanged()
// Change adms tab icon
if (error)
builderTabs->setTabIcon(0,QPixmap(":/bitmaps/error.png"));
builderTabs->setTabIcon(0,QPixmap(":/bitmaps/svg/error.svg"));
else
builderTabs->setTabIcon(0,QPixmap(":/bitmaps/tick.png"));
builderTabs->setTabIcon(0,QPixmap(":/bitmaps/svg/ok_apply.svg"));
}
/*!
@ -160,9 +160,9 @@ void MessageDock::slotCppChanged()
// Change compiler tab icon
if (error)
builderTabs->setTabIcon(1,QPixmap(":/bitmaps/error.png"));
builderTabs->setTabIcon(1,QPixmap(":/bitmaps/svg/error.svg"));
else
builderTabs->setTabIcon(1,QPixmap(":/bitmaps/tick.png"));
builderTabs->setTabIcon(1,QPixmap(":/bitmaps/svg/ok_apply.svg"));
}
/*!

View File

@ -210,8 +210,6 @@
<file>bitmaps/etran.png</file>
<file>bitmaps/ecvs.png</file>
<file>bitmaps/vcresistor.png</file>
<file>bitmaps/tick.png</file>
<file>bitmaps/error.png</file>
<file>bitmaps/hicolor/128x128/apps/qucs.png</file>
<file>bitmaps/S4Q_V.png</file>
<file>bitmaps/S4Q_I.png</file>
@ -499,5 +497,7 @@
<file>bitmaps/svg/tune.svg</file>
<file>bitmaps/svg/rebuild.svg</file>
<file>bitmaps/svg/marker.svg</file>
<file>bitmaps/svg/ok_apply.svg</file>
<file>bitmaps/svg/error.svg</file>
</qresource>
</RCC>