From 0a9c396ae3f659eda021d4ee0175b520e1bf45ae Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Wed, 14 Sep 2022 21:25:59 +0200 Subject: [PATCH] More icons turned into SVG --- src/icons/icons.qrc | 12 ++++++++---- src/icons/images/pause.png | Bin 442 -> 0 bytes src/icons/images/run.png | Bin 435 -> 0 bytes src/icons/images/runthis.png | Bin 543 -> 0 bytes src/icons/images/stop.png | Bin 393 -> 0 bytes src/lay/lay/MacroEditorDialog.ui | 8 ++++---- src/lay/lay/layMacroEditorDialog.cc | 6 +++--- 7 files changed, 15 insertions(+), 11 deletions(-) delete mode 100644 src/icons/images/pause.png delete mode 100644 src/icons/images/run.png delete mode 100644 src/icons/images/runthis.png delete mode 100644 src/icons/images/stop.png diff --git a/src/icons/icons.qrc b/src/icons/icons.qrc index ed9e50b30..797e31c17 100644 --- a/src/icons/icons.qrc +++ b/src/icons/icons.qrc @@ -122,7 +122,8 @@ images/options_edit_16px@2x.png images/partial.png images/path.png - images/pause.png + images/pause_16px.png + images/pause_16px@2x.png images/photo.png images/polygon.png images/prev_topic_24px.png @@ -161,15 +162,18 @@ images/ruler.png images/debug.png images/bug.png - images/run.png - images/runthis.png + images/run_16px.png + images/run_16px@2x.png + images/runthis_16px.png + images/runthis_16px@2x.png images/save.png images/save_all.png images/select.png images/setup_16px.png images/setup_16px@2x.png images/singlestep.png - images/stop.png + images/stop_16px.png + images/stop_16px@2x.png images/techs.png images/text.png images/textdocumenticon.png diff --git a/src/icons/images/pause.png b/src/icons/images/pause.png deleted file mode 100644 index 0d1a15b5e07ccf0e142c705f254e0417323e7cdd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 442 zcmV;r0Y(0aP)q4YD-$*vF5xBg2(CSnx9}7m z!pz={3D7VDO;>lhn25^2!WFfv>Z(_jhI2;-Fq_Tpfw$ie2Da~2HJnbT!?G-!gE_6L z$^aDKl^YTFQr9+$@aY`Sx3}ik7JXeTGF4?cpYwEgx0m)nmStR6OALX$t~;k*Sc|4a zvtIwH{{Y5Nj>m}i^yc#pP+E(|NU>NP2gou?YY9z5-tTvS!DvJhq3HFF0|ppeUZOE# zisEpd{%}YP0h8x{>Za5A&)Ba@fUj%Bdy+_}aktr!L`X3n2T*0}9O6B3x9b3YwL)V= zLO2d+N^F-)Vh9B9JHXaCG$mxSIRU8BI7bvA9-Il#IEShdPF?U(6!u{}Zjm(k53|9sIoU1qND_?1j@FC;$Ke07*qoM6N<$f{u}~^8f$< diff --git a/src/icons/images/run.png b/src/icons/images/run.png deleted file mode 100644 index 84bd4b5057b23adcebde01423eb3f6371c6adbb5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 435 zcmV;k0ZjghP)4KsyMG` zW@&Q^)WhopMy zIjRps2>^&nqVp3%O^+BX3!Qdk7}gY;RCk_S@1oeUb(6!G{h6)F002ovPDHLkV1h&!x(EOO diff --git a/src/icons/images/runthis.png b/src/icons/images/runthis.png deleted file mode 100644 index ca2842d9391ba653e03b598e14559bd10cc1347b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 543 zcmV+)0^t3LP){@;2>%jb*mqRmKL@4-W%_EyVTmIDRC-3 zK>7u0Jb{;f*@D{P60!D zpD&s5oRfQ0_M9t)Tgum;(ToA61H%Q-TIY0oMU@TNJ7qsVbN)nTurQ%K^9cysVoShQ znx=0K0shDgdh|Z76pB+9&YCmcLsfK}Km|ZVo{31KR;$HF0`_Jd?WfeZn(w_mJfi#D zrY^d(z_L>6JwR6g0FK6~^ec0^U=c1lj`I$9{Z9btkFW9c789*Q0pus};+A5_^~3w+2D*0vNK^4rdOvYzeI=n`!)D zJywc&iR?{awJlWwd=c>v0PNF*Wb*qjV)asfrsD!1I;|xlBS5iUudn=d4cp|^Ti|lH hyBwvH?7zuzX$Mq8hFhbjxe@>X002ovPDHLkV1hZ5>_Pwl diff --git a/src/icons/images/stop.png b/src/icons/images/stop.png deleted file mode 100644 index 4707c4d78bbd35152d8a9633bccbaecfdd21f358..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 393 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`EX7WqAsj$Z!;#Vf4nJ zFy8=S#yt0AQ=p(^iEBhjaDG}zd16s2LwR|*US?i)adKios$PCk`s{Z$QVa}?Y@RNT zAr`%7Cwb>FIr6x~*FQU~kavJjZ>sCL>E0WkuyHKgo%=n-(DMk3q0s6jVbhjYZ93hy zf7)-ozT=O-bbTzbvTUfh|Hoqf%U|;@m{>fYv8+?8=}FHrmIlW6?T7o*870cBcdb+2 zrmM%YEb3xVhhY$dq3JYD@<);T3K0RR9KouL2# diff --git a/src/lay/lay/MacroEditorDialog.ui b/src/lay/lay/MacroEditorDialog.ui index 3621b1fe6..d02f93ee8 100644 --- a/src/lay/lay/MacroEditorDialog.ui +++ b/src/lay/lay/MacroEditorDialog.ui @@ -399,7 +399,7 @@ p, li { white-space: pre-wrap; } - :/run.png:/run.png + :/run_16px.png:/run_16px.png F5 @@ -419,7 +419,7 @@ p, li { white-space: pre-wrap; } - :/runthis.png:/runthis.png + :/runthis_16px.png:/runthis_16px.png Shift+F5 @@ -442,7 +442,7 @@ p, li { white-space: pre-wrap; } - :/stop.png:/stop.png + :/stop_16px.png:/stop_16px.png true @@ -462,7 +462,7 @@ p, li { white-space: pre-wrap; } - :/pause.png:/pause.png + :/pause_16px.png:/pause_16px.png Ctrl+F5 diff --git a/src/lay/lay/layMacroEditorDialog.cc b/src/lay/lay/layMacroEditorDialog.cc index dd1f2725f..a09fef3d6 100644 --- a/src/lay/lay/layMacroEditorDialog.cc +++ b/src/lay/lay/layMacroEditorDialog.cc @@ -3434,7 +3434,7 @@ MacroEditorDialog::do_update_ui_to_run_mode () if (t != m_tab_widgets.end ()) { int index = tabWidget->indexOf (t->second); if (index >= 0) { - tabWidget->setTabIcon (index, QIcon (QString::fromUtf8 (m_in_exec ? (m_in_breakpoint ? ":/pause.png" : ":/stop.png") : ":/run.png"))); + tabWidget->setTabIcon (index, QIcon (QString::fromUtf8 (m_in_exec ? (m_in_breakpoint ? ":/pause_16px.png" : ":/stop_16px.png") : ":/run_16px.png"))); } } } @@ -3481,7 +3481,7 @@ MacroEditorDialog::editor_for_macro (lym::Macro *macro) int index = tabWidget->addTab (editor, tl::to_qstring (macro->name ())); tabWidget->setTabToolTip (index, tl::to_qstring (macro->summary ())); if (macro == mp_run_macro) { - tabWidget->setTabIcon (index, QIcon (QString::fromUtf8 (m_in_exec ? (m_in_breakpoint ? ":/pause.png" : ":/stop.png") : ":/run.png"))); + tabWidget->setTabIcon (index, QIcon (QString::fromUtf8 (m_in_exec ? (m_in_breakpoint ? ":/pause_16px.png" : ":/stop_16px.png") : ":/run_16px.png"))); } bool f = m_add_edit_trace_enabled; @@ -3736,7 +3736,7 @@ MacroEditorDialog::set_run_macro (lym::Macro *m) if (t != m_tab_widgets.end ()) { int index = tabWidget->indexOf (t->second); if (index >= 0) { - tabWidget->setTabIcon (index, QIcon (QString::fromUtf8 (":/run.png"))); + tabWidget->setTabIcon (index, QIcon (QString::fromUtf8 (":/run_16px.png"))); } }