work save: svg icons

This commit is contained in:
Roy Qu 2021-12-22 19:01:58 +08:00
parent f4fd5e7abe
commit 6adc9960e0
8 changed files with 466 additions and 0 deletions

View File

@ -202,5 +202,7 @@
<file>images/newlook/06View-04CompileLog.svg</file>
<file>images/newlook/06View-05Bookmark.svg</file>
<file>images/newlook/06View-06Todo.svg</file>
<file>images/newlook/05Run-14StepOverInstruction.svg</file>
<file>images/newlook/05Run-15StepIntoInstruction.svg</file>
</qresource>
</RCC>

View File

@ -113,6 +113,9 @@ void IconsManager::updateActionIcons(const QString iconSet, int size)
mIcons.insert(ACTION_RUN_STOP, createSVGIcon(iconFolder+"05Run-11Stop.svg",size,size));
mIcons.insert(ACTION_RUN_ADD_WATCH, createSVGIcon(iconFolder+"05Run-12AddWatch.svg",size,size));
mIcons.insert(ACTION_RUN_REMOVE_WATCH, createSVGIcon(iconFolder+"05Run-13RemoveWatch.svg",size,size));
mIcons.insert(ACTION_RUN_STEP_OVER_INSTRUCTION, createSVGIcon(iconFolder+"05Run-14StepOverInstruction.svg",size,size));
mIcons.insert(ACTION_RUN_STEP_INTO_INSTRUCTION, createSVGIcon(iconFolder+"05Run-15StepIntoInstruction.svg",size,size));
mIcons.insert(ACTION_VIEW_MAXIMUM, createSVGIcon(iconFolder+"06View-01Maximum.svg",size,size));
mIcons.insert(ACTION_VIEW_CLASSBROWSER, createSVGIcon(iconFolder+"06View-02ClassBrowser.svg",size,size));

View File

@ -100,6 +100,8 @@ public:
ACTION_RUN_STOP,
ACTION_RUN_ADD_WATCH,
ACTION_RUN_REMOVE_WATCH,
ACTION_RUN_STEP_OVER_INSTRUCTION,
ACTION_RUN_STEP_INTO_INSTRUCTION,
ACTION_VIEW_MAXIMUM,
ACTION_VIEW_CLASSBROWSER,

View File

@ -0,0 +1,88 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="100"
height="100"
viewBox="0 0 26.458333 26.458333"
version="1.1"
id="svg5"
inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)"
sodipodi:docname="05Run-14StepOverInstruction.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview7"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:document-units="px"
showgrid="false"
inkscape:zoom="5.1565201"
inkscape:cx="47.900521"
inkscape:cy="39.852458"
inkscape:window-width="1920"
inkscape:window-height="1001"
inkscape:window-x="-9"
inkscape:window-y="-9"
inkscape:window-maximized="1"
inkscape:current-layer="layer1"
units="px"
width="100px"
inkscape:snap-intersection-paths="true"
inkscape:snap-midpoints="true" />
<defs
id="defs2">
<linearGradient
id="linearGradient3056"
inkscape:swatch="gradient">
<stop
style="stop-color:#45c200;stop-opacity:1"
offset="0"
id="stop3052" />
<stop
style="stop-color:#45c200;stop-opacity:0"
offset="1"
id="stop3054" />
</linearGradient>
</defs>
<g
inkscape:label="图层 1"
inkscape:groupmode="layer"
id="layer1">
<g
id="g836"
transform="matrix(0,1,1,0,-0.1767109,-0.051177)">
<path
id="path4109"
style="fill:#ff4545;fill-opacity:1;stroke:none;stroke-width:0.422259px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 3.1526855,2.0592138 V 20.272639 H 0.43973749 L 4.0145582,24.97064 7.5890437,20.272639 H 4.8764306 V 2.0592138 h -0.466458 -0.790829 z"
sodipodi:nodetypes="cccccccccc" />
<path
style="fill:#00ffff;stroke:#07b3b3;stroke-width:2.80911;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 12.022399,8.0162158 H 24.575806"
id="path5199" />
<path
style="fill:#00ffff;stroke:#07b3b3;stroke-width:2.80911;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 12.022399,13.364289 H 24.575806"
id="path5199-2" />
<path
style="fill:#ff4545;fill-opacity:1;stroke:#ff4545;stroke-width:3.175;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 8.3562339,24.060433 H 24.392861"
id="path5199-4" />
<path
style="fill:#ff4545;fill-opacity:1;stroke:#ff4545;stroke-width:3.175;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 8.3562337,2.6681429 H 24.392861"
id="path5199-4-9" />
<path
style="fill:#00ffff;stroke:#07b3b3;stroke-width:2.80911;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 12.022399,18.712361 H 24.575806"
id="path5199-45" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

@ -0,0 +1,88 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="100"
height="100"
viewBox="0 0 26.458333 26.458333"
version="1.1"
id="svg5"
inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)"
sodipodi:docname="05Run-15StepIntoInstruction.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview7"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:document-units="px"
showgrid="false"
inkscape:zoom="1.8231052"
inkscape:cx="159.06926"
inkscape:cy="144.53362"
inkscape:window-width="1920"
inkscape:window-height="1001"
inkscape:window-x="-9"
inkscape:window-y="-9"
inkscape:window-maximized="1"
inkscape:current-layer="layer1"
units="px"
width="100px"
inkscape:snap-intersection-paths="true"
inkscape:snap-midpoints="true" />
<defs
id="defs2">
<linearGradient
id="linearGradient3056"
inkscape:swatch="gradient">
<stop
style="stop-color:#45c200;stop-opacity:1"
offset="0"
id="stop3052" />
<stop
style="stop-color:#45c200;stop-opacity:0"
offset="1"
id="stop3054" />
</linearGradient>
</defs>
<g
inkscape:label="图层 1"
inkscape:groupmode="layer"
id="layer1">
<g
id="g836"
transform="matrix(0,1,1,0,0.1145084,0.136672)">
<path
id="path4109"
style="fill:#ff4545;fill-opacity:1;stroke:none;stroke-width:0.422259px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 0.54345416,1.3229166 c 0.0320579,4.0059243 -0.0320579,-5.3983371 0,11.2143574 0.001152,0.596984 0.65269284,2.09591 1.50896354,2.09591 h 3.588641 v 2.712948 L 10.33906,13.771311 5.6410587,10.196826 v 2.712613 H 3.0786266 c -0.2886579,0 -0.7968214,-0.269685 -0.8116766,-0.55796 -0.07497,-1.454838 0,-11.0285624 0,-11.0285624 z"
sodipodi:nodetypes="csscccccsscc" />
<path
style="fill:#00ffff;stroke:#07b3b3;stroke-width:2.80911;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 12.022399,8.0162158 H 24.575806"
id="path5199" />
<path
style="fill:#00ffff;stroke:#07b3b3;stroke-width:2.80911;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 12.022399,13.364289 H 24.575806"
id="path5199-2" />
<path
style="fill:#ff4545;fill-opacity:1;stroke:#ff4545;stroke-width:3.175;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 8.3562339,24.060433 H 24.392861"
id="path5199-4" />
<path
style="fill:#ff4545;fill-opacity:1;stroke:#ff4545;stroke-width:3.175;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 8.3562337,2.6681429 H 24.392861"
id="path5199-4-9" />
<path
style="fill:#00ffff;stroke:#07b3b3;stroke-width:2.80911;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 12.022399,18.712361 H 24.575806"
id="path5199-45" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

@ -0,0 +1,89 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="100"
height="100"
viewBox="0 0 26.458333 26.458333"
version="1.1"
id="svg5"
inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)"
sodipodi:docname="06View-04CompileLog.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview7"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:document-units="px"
showgrid="false"
inkscape:zoom="5.786981"
inkscape:cx="69.466273"
inkscape:cy="48.643671"
inkscape:window-width="1920"
inkscape:window-height="1001"
inkscape:window-x="-9"
inkscape:window-y="-9"
inkscape:window-maximized="1"
inkscape:current-layer="layer1"
units="px"
width="100px"
inkscape:object-nodes="true"
inkscape:object-paths="true"
inkscape:snap-intersection-paths="true"
inkscape:snap-smooth-nodes="true"
inkscape:snap-midpoints="false" />
<defs
id="defs2">
<linearGradient
id="linearGradient3056"
inkscape:swatch="gradient">
<stop
style="stop-color:#45c200;stop-opacity:1"
offset="0"
id="stop826" />
<stop
style="stop-color:#53e900;stop-opacity:1"
offset="1"
id="stop828" />
</linearGradient>
<linearGradient
id="linearGradient3056-2">
<stop
style="stop-color:#45c200;stop-opacity:1"
offset="0"
id="stop3052" />
<stop
style="stop-color:#5fff07;stop-opacity:1"
offset="1"
id="stop3054" />
</linearGradient>
</defs>
<g
inkscape:label="图层 1"
inkscape:groupmode="layer"
id="layer1">
<path
id="rect931"
style="fill:#ff2a2a;fill-opacity:1;stroke:#000000;stroke-width:0.529167;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
d="M 1.965979,10.84062 H 7.4067115 V 24.968237 H 1.965979 Z" />
<path
id="rect931-7"
style="fill:#59fb59;fill-opacity:1;stroke:#000000;stroke-width:0.60343;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
d="M 7.4165651,6.3057072 H 12.783034 V 24.931105 H 7.4165651 Z" />
<path
id="rect931-6"
style="fill:#49adf8;stroke:#000000;stroke-width:0.664098;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal;fill-opacity:1"
d="M 12.809758,2.0840383 H 18.11556 V 24.900771 h -5.305802 z" />
<path
id="rect931-5"
style="fill:#ece649;fill-opacity:1;stroke:#000000;stroke-width:0.557721;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
d="m 18.13243,9.2605659 h 5.440732 V 24.95396 H 18.13243 Z" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@ -0,0 +1,102 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="100"
height="100"
viewBox="0 0 26.458333 26.458333"
version="1.1"
id="svg5"
inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)"
sodipodi:docname="06View-05Bookmark.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview7"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:document-units="px"
showgrid="false"
inkscape:zoom="5.786981"
inkscape:cx="19.353787"
inkscape:cy="57.974961"
inkscape:window-width="1920"
inkscape:window-height="1001"
inkscape:window-x="-9"
inkscape:window-y="-9"
inkscape:window-maximized="1"
inkscape:current-layer="layer1"
units="px"
width="100px" />
<defs
id="defs2">
<linearGradient
id="linearGradient3056"
inkscape:swatch="gradient">
<stop
style="stop-color:#45c200;stop-opacity:1"
offset="0"
id="stop826" />
<stop
style="stop-color:#53e900;stop-opacity:1"
offset="1"
id="stop828" />
</linearGradient>
<linearGradient
id="linearGradient3056-2">
<stop
style="stop-color:#45c200;stop-opacity:1"
offset="0"
id="stop3052" />
<stop
style="stop-color:#5fff07;stop-opacity:1"
offset="1"
id="stop3054" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient1033"
id="linearGradient1035"
x1="12.661161"
y1="12.349768"
x2="4.6026487"
y2="12.349768"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(-2.8984961,-0.92480996)" />
<linearGradient
inkscape:collect="always"
id="linearGradient1033">
<stop
style="stop-color:#c37b00;stop-opacity:1;"
offset="0"
id="stop1029" />
<stop
style="stop-color:#ffcc76;stop-opacity:1"
offset="1"
id="stop1031" />
</linearGradient>
</defs>
<g
inkscape:label="图层 1"
inkscape:groupmode="layer"
id="layer1">
<rect
style="fill:url(#linearGradient1035);fill-opacity:1;stroke:#000000;stroke-width:0.79375;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect848"
width="16.746544"
height="22.759781"
x="5.2484708"
y="1.467553" />
<path
id="path1041"
style="fill:#4dc30b;stroke:#000000;stroke-width:0.631899;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;fill-opacity:1"
d="M 9.2811397,1.3866275 V 16.618849 l 4.3406033,-4.340604 4.340603,4.340604 V 1.3866275 h -4.340603 z" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

@ -0,0 +1,92 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="100"
height="100"
viewBox="0 0 26.458333 26.458333"
version="1.1"
id="svg5"
inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)"
sodipodi:docname="06View-06Todo.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview7"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:document-units="px"
showgrid="false"
inkscape:zoom="4.0920136"
inkscape:cx="34.701742"
inkscape:cy="41.42215"
inkscape:window-width="1920"
inkscape:window-height="1001"
inkscape:window-x="-9"
inkscape:window-y="-9"
inkscape:window-maximized="1"
inkscape:current-layer="layer1"
units="px"
width="100px" />
<defs
id="defs2">
<linearGradient
id="linearGradient3056"
inkscape:swatch="gradient">
<stop
style="stop-color:#45c200;stop-opacity:1"
offset="0"
id="stop826" />
<stop
style="stop-color:#53e900;stop-opacity:1"
offset="1"
id="stop828" />
</linearGradient>
<linearGradient
id="linearGradient3056-2">
<stop
style="stop-color:#45c200;stop-opacity:1"
offset="0"
id="stop3052" />
<stop
style="stop-color:#5fff07;stop-opacity:1"
offset="1"
id="stop3054" />
</linearGradient>
</defs>
<g
inkscape:label="图层 1"
inkscape:groupmode="layer"
id="layer1">
<path
style="fill:none;stroke:#a0a0a0;stroke-width:1.5875;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 2.363834,5.16641 4.0027647,8.0051216 9.1518376,2.8560472"
id="path986" />
<path
style="fill:none;stroke:#ff4141;stroke-width:1.5875;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 2.363834,12.829676 1.6389309,2.838712 5.1490727,-5.149075"
id="path986-2" />
<path
style="fill:none;stroke:#4182ff;stroke-width:1.5875;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 2.363834,20.492942 1.6389306,2.838711 5.149073,-5.149074"
id="path986-7" />
<path
style="fill:none;stroke:#a0a0a0;stroke-width:2.09046;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 11.547132,6.4544271 H 23.756393"
id="path1136-4" />
<path
style="fill:none;stroke:#ff4141;stroke-width:2.09046;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 11.547132,14.380799 H 23.756393"
id="path1136-4-6" />
<path
style="fill:none;stroke:#4182ff;stroke-width:2.09046;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 11.547132,22.307172 H 23.756393"
id="path1136-4-3" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.3 KiB