From 85af2d35e85b1e126e88a5f23753b74ff6c09f30 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Sat, 17 Sep 2022 01:40:02 +0200 Subject: [PATCH] More images to SVG --- src/ant/ant/antPlugin.cc | 2 +- src/icons/icons.qrc | 3 +- src/icons/images/ruler_24px.png | Bin 0 -> 679 bytes src/icons/images/ruler_24px@2x.png | Bin 0 -> 1721 bytes src/icons/svg/ruler_24px.svg | 152 +++++++++++++++++++++++++++++ 5 files changed, 155 insertions(+), 2 deletions(-) create mode 100644 src/icons/images/ruler_24px.png create mode 100644 src/icons/images/ruler_24px@2x.png create mode 100644 src/icons/svg/ruler_24px.svg diff --git a/src/ant/ant/antPlugin.cc b/src/ant/ant/antPlugin.cc index aa942aeac..fda6d5b8a 100644 --- a/src/ant/ant/antPlugin.cc +++ b/src/ant/ant/antPlugin.cc @@ -151,7 +151,7 @@ PluginDeclaration::implements_editable (std::string &title) const bool PluginDeclaration::implements_mouse_mode (std::string &title) const { - title = "ruler:ruler_mode_group:ruler_templates_group\t" + tl::to_string (tr ("Ruler{Add rulers and annotations}")) + "<:ruler.png>"; + title = "ruler:ruler_mode_group:ruler_templates_group\t" + tl::to_string (tr ("Ruler{Add rulers and annotations}")) + "<:ruler_24px.png>"; return true; } diff --git a/src/icons/icons.qrc b/src/icons/icons.qrc index 5b7b34a29..94292e783 100644 --- a/src/icons/icons.qrc +++ b/src/icons/icons.qrc @@ -185,7 +185,8 @@ images/pythonmacroicon_16px@2x.png images/pythonmacroiconactive_16px.png images/pythonmacroiconactive_16px@2x.png - images/ruler.png + images/ruler_24px.png + images/ruler_24px@2x.png images/debug_16px.png images/debug_16px@2x.png images/bug.png diff --git a/src/icons/images/ruler_24px.png b/src/icons/images/ruler_24px.png new file mode 100644 index 0000000000000000000000000000000000000000..72a3bacf2cc0e2626b7e29513f68eb12e51b4547 GIT binary patch literal 679 zcmV;Y0$BZtP)pF8FWQhbW?9;ba!ELWdL_~cP?peYja~^aAhuUa%Y?FJQ@H10yIfP zK~zYIt(MPg(_k3KpMtllh->S$w;o3BLcx}~gJ>m;m0&%H;-%t2Xs9O^eq)ygE3$*o8v0=4oM=2{V{ zD;KtPUB3_DlBrw8_%rKK@99YUr z0ILEkPk^PHzx+0l-&Phg9#d06@P3tS{SAhYlwqvM#P8SemPjO&tgy?!FgA zvDt37omjp$9a8t7MsfY3usPC;#Tb(%N$T`^J-YzihAq|1$48soI+g>wWMEUxxl6+{ zKel9gs?*b60W}3?Val8E!4k%pEM1OuSU%|v%W)-!VaVd-dCz`9{sJ$6BevTruMq$M N002ovPDHLkV1g1iFD?K8 literal 0 HcmV?d00001 diff --git a/src/icons/images/ruler_24px@2x.png b/src/icons/images/ruler_24px@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..d4c8d050c0a7e1e19210d0420ba0ba965725d619 GIT binary patch literal 1721 zcmV;q21fabP)g+`;%OC%DfL?Ur& zG#Wk03X)l4%@?#t3M4BkD=T$UsnlsO7-%#aDV0i{YPI?+w+LaZIRln2e0+TTy~T?c zlO%cn9*u|VDV3zgt_Y89Dl02>DJdy^VzHP2xO(+!vb&SCHq-d+W=d0&eMQ8EoqXXv zw%NOPFXQ6k`0=XuN!xj{?Ko+wp;1#tX-Z=3i139^NJzL_S64?*na-RhyDpJeek9Fx z$(1X`_DvhNOg>re9PFQnxF`Ky*Zv4%YKHu;^3#+9=v zO^zQVV%%uL1IX9ubkkO>Sn+yQRh3wwP{3p|AtxsX9c||UM;FlJz8p8*?{5N*E<7_c z6$eT(#(!A;?vfolc1#Dbh-8*{l;8yqd`U^kGQD0Or&KDTQmN3;&;Ya9j6)4ake~Y` zl3@oNHrHi$zuvzK0GK){9&=|Ti{JcocV>!Y(zWdD?8#9V;D%RfwOV;;Y3b6Qo*uE; zY=%muf=niZ>Xqlv&~O;$3#~YG>=g3n&OkD6yG7gp`g;7nZ|bCYJe8g#E?8TgIq_lH z)u>v?Z5yRltCg3Rm%mnBT`d*_0Vb0PwY9Z?vm0p%A~f#a2w~<_SlZfA-}sZ;LS2Bf zJLKPp+ArX1o3gU9rFy+SE-x<+DwPUyxg5m>Z@5O-VM8Ljp_(@n^0bFg{OmN>==ap-^^u)AOV z-d}g!69E3zZ5HR+^_yynii%nR>>qIpg-n}{4tLtz9FR6${V5bCyhtQEJE8&xj{MG@ zJI5=PN*D|VC=?1&q2o@mZ2l_Zg1G|05D<}3S}Fc&4vZJ^U-WNhm7fu;+XCu zOqt;Hx6Pef5y1l^)WidAqu1->%w{u8CKJ-r(~+H>jl_rIkpIFwG#qJ!`C=R7k0c>` zT4I0J2WZ+*@FOB%;K=(nM zw6voBz@dQ4*NQsDM^a&9qw)`EDMF5Hh`;XgROIXd_NK+AJRf$rw!nO3$tm*)Ha=+om40k1i*}p z47RtohuqVSq-}-;58n-VAQ3HR$oAjJi$9QOc9F)<$%c2x+9jlZe$?OtS}5$aX>5cb z2(VZzsNYu`a(NtkX+zR_rG@JC72bm={=9{3TuFYvoZS6#)NSLJLJ_46;A+ZXyDInc zIGQ8xwNON91Gv^O!FE-n0Pn4c(#Cyy%zv+iY}(jNoA!3^=`mZ64ms0~3cOo@_msG< zu8x8r5CFGt-`?M-R%`#~Uu^I@Jr2~g0pO!|w(ohY)6~=yJZ-F2s<&%o0y8CWy+vUd)#shdD}1at=qVz z+UFsiDVhSr2M-?1nml>(U(1&-pEYOB9C3Pj`ry0Vds^=X++hRkH~jXr#+F-tCuRWl ziA192Xu`YL$V`$II-O1@kw|(C2E!oxglgJRYuI6l==nQn(~dcOP!YYigEno@}=;ktZvj{(r!G$|FLf(dZ>f6P%+t!-iWSPbElZ0#L>3zrp+m$Afc|YZgZw P00000NkvXXu0mjfvb!}s literal 0 HcmV?d00001 diff --git a/src/icons/svg/ruler_24px.svg b/src/icons/svg/ruler_24px.svg new file mode 100644 index 000000000..193483b08 --- /dev/null +++ b/src/icons/svg/ruler_24px.svg @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +