high dpi:change book icon and add dictionary icon

This commit is contained in:
xiaoyifang 2022-01-24 23:07:40 +08:00
parent e466dd0f8c
commit c6b1572785
4 changed files with 3142 additions and 221 deletions

View file

@ -39,7 +39,7 @@ EditDictionaries::EditDictionaries( QWidget * parent, Config::Class & cfg_,
ui.setupUi( this );
setWindowIcon( QIcon(":/icons/bookcase.svg") );
setWindowIcon( QIcon(":/icons/dictionary.svg") );
ui.tabs->clear();

View file

@ -1,221 +1,65 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.0"
width="128"
height="80"
id="svg2">
<defs
id="defs4">
<linearGradient
id="linearGradient5522">
<stop
style="stop-color:#b5ffa6;stop-opacity:1"
offset="0"
id="stop5524" />
<stop
style="stop-color:#76e976;stop-opacity:1"
offset="1"
id="stop5526" />
</linearGradient>
<linearGradient
id="linearGradient5493">
<stop
style="stop-color:#789ded;stop-opacity:1"
offset="0"
id="stop5495" />
<stop
style="stop-color:#2381e8;stop-opacity:1"
offset="1"
id="stop5497" />
</linearGradient>
<linearGradient
id="linearGradient5185">
<stop
style="stop-color:#fd8a8a;stop-opacity:1"
offset="0"
id="stop5187" />
<stop
style="stop-color:#ff7878;stop-opacity:1"
offset="1"
id="stop5189" />
</linearGradient>
<linearGradient
id="linearGradient5173">
<stop
style="stop-color:#ffffff;stop-opacity:1"
offset="0"
id="stop5175" />
<stop
style="stop-color:#ffffff;stop-opacity:0.24705882"
offset="1"
id="stop5181" />
</linearGradient>
<filter
id="filter5365">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="1.3829225"
id="feGaussianBlur5367" />
</filter>
<radialGradient
cx="207.62376"
cy="372.65503"
r="27.320171"
fx="207.62376"
fy="372.65503"
id="radialGradient2511"
xlink:href="#linearGradient5185"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(2.5833706,0.9980408,-8.3512857e-2,0.2161682,-458.90514,-240.83414)" />
<radialGradient
cx="215.80746"
cy="295.57648"
r="27.192537"
fx="215.80746"
fy="295.57648"
id="radialGradient2525"
xlink:href="#linearGradient5493"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-9.0180217e-2,0.2793014,-1.9257197,-0.6217718,617.68633,194.28408)"
spreadMethod="pad" />
<radialGradient
cx="226.40027"
cy="295.24255"
r="27.192537"
fx="226.40027"
fy="295.24255"
id="radialGradient2540"
xlink:href="#linearGradient5522"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-6.3984266e-2,0.1750019,-1.8694003,-0.6834907,608.82652,262.32572)"
spreadMethod="pad" />
<linearGradient
x1="2.6855018"
y1="18.78297"
x2="71.468292"
y2="18.78297"
id="linearGradient3319"
xlink:href="#linearGradient5173"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(1.4285714,7.1428571)" />
<linearGradient
x1="2.6855018"
y1="18.78297"
x2="71.468292"
y2="18.78297"
id="linearGradient2212"
xlink:href="#linearGradient5173"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(1.4285714,7.1428571)" />
<radialGradient
cx="207.62376"
cy="372.65503"
r="27.320171"
fx="207.62376"
fy="372.65503"
id="radialGradient2215"
xlink:href="#linearGradient5185"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(2.5833706,0.9980408,-8.3512857e-2,0.2161682,-458.90514,-240.83414)" />
<radialGradient
cx="215.80746"
cy="295.57648"
r="27.192537"
fx="215.80746"
fy="295.57648"
id="radialGradient2227"
xlink:href="#linearGradient5493"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(-9.0180217e-2,0.2793014,-1.9257197,-0.6217718,617.68633,194.28408)"
spreadMethod="pad" />
<radialGradient
cx="207.62376"
cy="372.65503"
r="27.320171"
fx="207.62376"
fy="372.65503"
id="radialGradient2291"
xlink:href="#linearGradient5185"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(2.5833706,0.9980408,-8.3512857e-2,0.2161682,-458.90514,-240.83414)" />
<linearGradient
x1="2.6855018"
y1="18.78297"
x2="71.468292"
y2="18.78297"
id="linearGradient2293"
xlink:href="#linearGradient5173"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(1.4285714,7.1428571)" />
</defs>
<g
style="opacity:1;display:inline"
id="layer1" />
<rect
width="3.9285715"
height="0"
rx="1.5522451"
ry="0"
x="167.5"
y="297.00504"
style="opacity:0.57222224;color:#000000;fill:#0000a4;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
id="rect3200" />
<g
transform="translate(-8.4305217,0)"
id="g2278">
<path
d="M 210.95479,283.40872 L 259.39287,265.99465 L 308.94022,284.16585 L 259.39287,301.20135 L 210.95479,283.40872 z "
transform="matrix(1.0001664,0,0,0.96555,-185.11003,-245.52643)"
style="color:#000000;fill:#362d2d;fill-opacity:1;fill-rule:evenodd;stroke:#362d2d;stroke-width:1.25068128;stroke-linecap:butt;stroke-linejoin:bevel;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;filter:url(#filter5365);enable-background:accumulate"
id="path5447" />
<path
d="M 307.62609,305.15505 L 307.62609,306.94076 L 261.1975,322.92291 C 257.47531,313.30704 259.29568,305.99999 261.28679,301.49433 L 308.1618,285.4229 L 301.82252,287.56576 L 304.14394,304.70862 L 307.62609,305.15505 z "
transform="matrix(1.0001664,0,0,0.96555,-185.11003,-245.52643)"
style="fill:#362d2d;fill-opacity:1;fill-rule:evenodd;stroke:#362d2d;stroke-width:1.89999998;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;filter:url(#filter5365)"
id="path5449" />
<path
d="M 259.70684,302.98829 L 307.27963,286.68295 L 307.56915,305.92816 L 260.01802,322.48473 C 260.01802,322.48473 258.50394,318.90658 258.0762,312.32225 C 257.93062,306.00844 259.70684,302.98829 259.70684,302.98829 z "
transform="matrix(1.0001664,0,0,0.96555,-185.11003,-245.52643)"
style="color:#000000;fill:#362d2d;fill-opacity:1;fill-rule:evenodd;stroke:#362d2d;stroke-width:2.0999999;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;filter:url(#filter5365);enable-background:accumulate"
id="path5451" />
<path
d="M 210.48322,283.10147 L 259.59037,301.22647 C 256.30338,309.32171 257.20555,316.97052 260.57251,325.06576 L 210.57251,308.28004 C 206.97791,298.3052 206.11745,291.66276 210.48322,283.10147 z "
transform="matrix(1.0001664,0,0,0.96555,-185.11003,-245.52643)"
style="fill:#362d2d;fill-opacity:1;fill-rule:evenodd;stroke:#362d2d;stroke-width:1.60000002;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;filter:url(#filter5365)"
id="path5453" />
<path
d="M 309.85823,303.28005 L 309.85823,308.28005 L 259.85823,325.78005 L 210.21537,309.35147 C 205.45314,297.7902 208.22881,290.00281 210.92966,283.10148 L 260.57251,265.78005 L 309.14394,283.63719 L 309.14394,287.20862 L 307.00108,288.28005 L 307.35823,302.9229 L 309.85823,303.28005 z "
transform="matrix(1.0001664,0,0,0.96555,-185.11003,-245.52643)"
style="fill:#362d2d;fill-opacity:1;fill-rule:evenodd;stroke:#362d2d;stroke-width:2.70000005;stroke-linecap:butt;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;filter:url(#filter5365)"
id="path5455" />
<path
d="M 23.244961,26.264107 L 71.683041,8.8500371 L 121.23039,27.021237 L 71.683041,44.056737 L 23.244961,26.264107 z "
style="color:#000000;fill:#ff7272;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.25068128;stroke-linecap:butt;stroke-linejoin:bevel;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
id="path5459" />
<path
d="M 119.91626,48.010437 L 119.91626,49.796147 L 73.487671,65.778297 C 69.765481,56.162427 71.585851,48.855377 73.576961,44.349717 L 120.45197,28.278287 L 114.11269,30.421147 L 116.43411,47.564007 L 119.91626,48.010437 z "
style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#cf0505;stroke-width:1.89999998;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path5461" />
<path
d="M 22.773391,25.956857 L 71.880541,44.081857 C 68.593551,52.177097 69.495721,59.825907 72.862681,67.921147 L 22.862681,49.115117 C 19.268081,39.140277 18.407621,34.518147 22.773391,25.956857 z "
style="fill:url(#radialGradient2291);fill-opacity:1;fill-rule:evenodd;stroke:#600101;stroke-width:1.60000002;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path5463" />
<path
d="M 23.904146,25.736548 L 72.342226,8.322478 L 121.88958,26.493678 L 72.342226,43.529178 L 23.904146,25.736548 z "
style="color:#000000;fill:url(#linearGradient2293);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.25068128;stroke-linecap:butt;stroke-linejoin:bevel;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
id="path3311" />
<path
d="M 122.1484,46.135437 L 122.1484,51.135437 L 72.148401,68.635437 L 22.758081,49.934017 C 17.995851,38.372747 20.518981,32.858197 23.219831,25.956867 L 72.862681,8.6354371 L 121.43411,26.492577 L 121.43411,30.064007 L 119.29125,31.135437 L 119.6484,45.778287 L 122.1484,46.135437 z "
style="fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#600101;stroke-width:2.70000005;stroke-linecap:butt;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path5465" />
<path
d="M 71.997011,45.843677 L 119.5698,29.538337 L 119.85932,48.783547 L 72.665331,65.206187 C 72.665331,65.206187 71.240541,62.386967 70.544941,55.177637 C 70.399361,48.863827 71.997011,45.843677 71.997011,45.843677 z "
style="color:#000000;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:2.0999999;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
id="path5467" />
</g>
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="128px" height="128px" version="1.1">
<defs>
<linearGradient id="linear0" gradientUnits="userSpaceOnUse" x1="64" y1="246" x2="120" y2="246" gradientTransform="translate(0,-166)">
<stop style="stop-color:#bfbdba"/>
<stop offset="0.857143" style="stop-color:#bfbdba"/>
<stop offset="0.928571" style="stop-color:#dedcd9"/>
<stop offset="1" style="stop-color:#bfbdba"/>
</linearGradient>
<linearGradient id="linear1" gradientUnits="userSpaceOnUse" x1="64" y1="246" x2="120" y2="246" gradientTransform="matrix(-1,0,0,1,128,-166)">
<stop style="stop-color:#bfbdba"/>
<stop offset="0.857143" style="stop-color:#bfbdba"/>
<stop offset="0.928571" style="stop-color:#dedcd9"/>
<stop offset="1" style="stop-color:#bfbdba"/>
</linearGradient>
<filter id="alpha" filterUnits="objectBoundingBox">
<feColorMatrix type="matrix" in="SourceGraphic" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"/>
</filter>
<mask id="mask0">
<rect width="128" height="128" style="opacity:0.1;" filter="url(#alpha)"/>
</mask>
<linearGradient id="linear2" gradientUnits="userSpaceOnUse" x1="320" y1="116" x2="416" y2="116" gradientTransform="matrix(-0.25,0,0,0.25,168,31)">
<stop style="stop-color:#f5f5f3"/>
<stop offset="0.5" style="stop-color:#ffffff"/>
<stop offset="1" style="stop-color:#deded9"/>
</linearGradient>
<linearGradient id="linear3" gradientUnits="userSpaceOnUse" x1="320" y1="116" x2="416" y2="116" gradientTransform="matrix(0.25,0,0,0.25,-40,31)">
<stop style="stop-color:#f5f5f3"/>
<stop offset="0.5" style="stop-color:#f5f5f3"/>
<stop offset="1" style="stop-color:#cccac7"/>
</linearGradient>
<linearGradient id="linear4" gradientUnits="userSpaceOnUse" x1="59.091709" y1="216.780304" x2="46.28891" y2="168.999603" gradientTransform="translate(-11.862876,-168.9809)">
<stop style="stop-color:#00cccc"/>
<stop offset="1" style="stop-color:#30e3d1"/>
</linearGradient>
</defs>
<path style="fill:#1ca8a8" d="M 120,94.355469 V 101 c 0,4.43359 -3.56641,8 -8,8 H 90 c -9.683594,0 -18.023438,5.73828 -21.816406,14 H 59.816406 C 56.023438,114.73828 47.683594,109 38,109 H 16 c -4.433594,0 -8,-3.56641 -8,-8 v -6.644531 z"/>
<path style="fill:url(#linear0)" d="M 66.328125,54.019531 C 66.167969,55.007812 66.054688,56 66,57 h -2 v 63 h 4.183594 C 71.976562,111.73828 80.316406,106 90,106 h 22 c 4.43359,0 8,-3.56641 8,-8 V 62.355469 c 0,-4.433594 -3.56641,-8 -8,-8 z"/>
<path style="fill:url(#linear1)" d="M 61.675781,54.019531 C 61.832031,55.007812 61.945312,56 62,57 h 2 v 63 H 59.816406 C 56.023438,111.73828 47.683594,106 38,106 H 16 c -4.433594,0 -8,-3.56641 -8,-8 V 62.355469 c 0,-4.433594 3.566406,-8 8,-8 z"/>
<g mask="url(#mask0)">
<path d="M 120,91.65625 C 119.91797,95.74609 116.62109,99 112.50781,99 h -0.5 v 1 h 0.5 c 3.2461,0 6.0586,-1.8125 7.49219,-4.48047 z M 88,99 l 24,1 v -1 z"/>
<path d="M 120,94.65625 C 119.91797,98.74609 116.62109,102 112.50781,102 h -0.5 v 1 h 0.5 c 3.22266,0 6.02344,-1.78906 7.46485,-4.42578 C 119.98438,98.38281 120,98.19141 120,98 Z M 94,102 l 18,1 v -1 z"/>
</g>
<path style="fill:url(#linear2)" d="m 112,21 c 4.43359,0 8,3.566406 8,8 v 59 c 0,4.433594 -3.56641,8 -8,8 H 88 C 74.746094,96 64,106.74609 64,120 V 47 C 64,33.746094 74.746094,21 88,21 z"/>
<path style="fill:url(#linear3)" d="m 16,21 c -4.433594,0 -8,3.566406 -8,8 v 59 c 0,4.433594 3.566406,8 8,8 h 24 c 13.253906,0 24,10.74609 24,24 V 47 C 64,33.746094 53.253906,21 40,21 z"/>
<path style="fill:#00cccc" d="m 102,32 v 6 H 90 c -4.375,0.183594 -8.464844,1.296875 -12,3.28125 V 35.730469 C 81.53125,33.394531 85.625,32 90,32 z"/>
<path style="fill:#dedcd9" d="m 108,44 v 4 H 90 c -4.375,0.183594 -8.464844,1.296875 -12,3.28125 V 47.730469 C 81.53125,45.394531 85.625,44 90,44 z"/>
<path style="fill:#dedcd9" d="m 108,52 v 4 H 90 c -4.375,0.183594 -8.464844,1.296875 -12,3.28125 V 55.730469 C 81.53125,53.394531 85.625,52 90,52 z"/>
<path style="fill:#dedcd9" d="m 108,60 v 4 H 90 c -4.375,0.183594 -8.464844,1.296875 -12,3.28125 V 63.730469 C 81.53125,61.394531 85.625,60 90,60 z"/>
<path style="fill:#dedcd9" d="M 36,76 H 20 v 4 h 16 z"/>
<path style="fill:#dedcd9" d="m 20,44 v 4 h 20 c 3.574219,0.148438 6.953125,0.929688 10,2.292969 V 46.558594 C 46.953125,44.941406 43.574219,44 40,44 z"/>
<path style="fill:#dedcd9" d="m 20,52 v 4 h 20 c 3.574219,0.148438 6.953125,0.929688 10,2.292969 V 54.558594 C 46.953125,52.941406 43.574219,52 40,52 z"/>
<path style="fill:#dedcd9" d="m 20,60 v 4 h 20 c 3.574219,0.148438 6.953125,0.929688 10,2.292969 V 62.558594 C 46.953125,60.941406 43.574219,60 40,60 z"/>
<path style="fill:#dedcd9" d="m 20,36 v 4 h 20 c 3.574219,0.148438 6.953125,0.929688 10,2.292969 V 38.558594 C 46.953125,36.941406 43.574219,36 40,36 z"/>
<path style="fill:#dedcd9" d="m 20,68 v 4 h 20 c 3.574219,0.148438 6.953125,0.929688 10,2.292969 V 70.558594 C 46.953125,68.941406 43.574219,68 40,68 z"/>
<path style="fill:#dedcd9" d="m 100,68 v 4 H 90 c -4.375,0.183594 -8.464844,1.296875 -12,3.28125 V 71.730469 C 81.53125,69.394531 85.625,68 90,68 z"/>
<path style="fill:url(#linear4)" d="m 34.433594,0 c 0,0 -8.230469,20.4375 -8.207032,31.1875 0.01563,8 1.101563,17.027344 6.210938,23.183594 3.925781,4.726562 16.628906,7.964844 16.628906,7.964844 l 3.863282,-1.035157 c 0,0 9.378906,-9.15625 10.417968,-15.210937 C 64.695312,38.203125 61.121094,29.84375 57.136719,22.90625 51.78125,13.582031 34.433594,0 34.433594,0 z"/>
<path style="fill:#1ca8a8" d="M 53.214844,77.820312 C 42.441406,37.617188 42.726562,33.128906 37.457031,11.003906 c 6.53125,21.703125 8.847657,25.578125 19.621094,65.78125 z"/>
<path style="fill:#1ca8a8" d="m 42.089844,30.066406 c 3.617187,-6.261718 4.914062,-7.515625 6.195312,-9.597656 -1.160156,2.152344 -1.636718,3.878906 -5.253906,10.140625 z"/>
<path style="fill:#1ca8a8" d="m 44.597656,39.785156 c 5.019532,-8.695312 6.820313,-10.4375 8.597656,-13.332031 -1.605468,2.992187 -2.269531,5.390625 -7.292968,14.085937 z"/>
<path style="fill:#1ca8a8" d="m 47.359375,50.210938 c 5.3125,-9.199219 7.214844,-11.042969 9.097656,-14.101563 -1.703125,3.164063 -2.40625,5.699219 -7.714843,14.898437 z"/>
<path style="fill:#1ca8a8" d="m 42.835938,29.867188 c -6.265626,-3.613282 -8.011719,-4.050782 -10.164063,-5.214844 2.078125,1.285156 3.355469,2.542968 9.617187,6.15625 z"/>
<path style="fill:#1ca8a8" d="m 45.523438,39.539062 c -8.695313,-5.023437 -11.125,-5.632812 -14.113282,-7.246093 2.890625,1.785156 4.660156,3.53125 13.359375,8.550781 z"/>
<path style="fill:#1ca8a8" d="m 48.34375,49.945312 c -9.199219,-5.3125 -11.769531,-5.957031 -14.929688,-7.664062 3.054688,1.890625 4.933594,3.734375 14.132813,9.046875 z"/>
</svg>

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

3076
icons/dictionary.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 441 KiB

View file

@ -118,5 +118,6 @@
<file>icons/system-search.svg</file>
<file>icons/windows-list.svg</file>
<file>icons/wizard.svg</file>
<file>icons/dictionary.svg</file>
</qresource>
</RCC>