work save: svg icons

This commit is contained in:
Roy Qu 2021-12-22 18:55:36 +08:00
parent 92520411b6
commit f4fd5e7abe
16 changed files with 1339 additions and 4 deletions

View File

@ -189,5 +189,18 @@
<file>images/newlook/07Help-01About.svg</file>
<file>images/newlook/01File-10FileProperties.svg</file>
<file>images/newlook/01File-11Locate.svg</file>
<file>images/newlook/03Edit-11SortByName.svg</file>
<file>images/newlook/03Edit-12SortByType.svg</file>
<file>images/newlook/03Edit-13ShowInherited.svg</file>
<file>images/newlook/06View-02ClassBrowser.svg</file>
<file>images/newlook/08Problem_01Problem.svg</file>
<file>images/newlook/08Problem_02ProblemSet.svg</file>
<file>images/newlook/08Problem_03Properties.svg</file>
<file>images/newlook/08Problem_04EditSource.svg</file>
<file>images/newlook/08Problem_05RunCases.svg</file>
<file>images/newlook/06View-03Files.svg</file>
<file>images/newlook/06View-04CompileLog.svg</file>
<file>images/newlook/06View-05Bookmark.svg</file>
<file>images/newlook/06View-06Todo.svg</file>
</qresource>
</RCC>

View File

@ -89,6 +89,9 @@ void IconsManager::updateActionIcons(const QString iconSet, int size)
mIcons.insert(ACTION_EDIT_SEARCH, createSVGIcon(iconFolder+"03Edit_08Search.svg",size,size));
mIcons.insert(ACTION_EDIT_REPLACE, createSVGIcon(iconFolder+"03Edit_09Replace.svg",size,size));
mIcons.insert(ACTION_EDIT_SEARCH_IN_FILES, createSVGIcon(iconFolder+"03Edit_10SearchInFiles.svg",size,size));
mIcons.insert(ACTION_EDIT_SORT_BY_NAME, createSVGIcon(iconFolder+"03Edit-11SortByName.svg",size,size));
mIcons.insert(ACTION_EDIT_SORT_BY_TYPE, createSVGIcon(iconFolder+"03Edit-12SortByType.svg",size,size));
mIcons.insert(ACTION_EDIT_SHOW_INHERITED, createSVGIcon(iconFolder+"03Edit-13ShowInherited.svg",size,size));
mIcons.insert(ACTION_CODE_BACK, createSVGIcon(iconFolder+"04Code-01Back.svg",size,size));
mIcons.insert(ACTION_CODE_FORWARD, createSVGIcon(iconFolder+"04Code-02Forward.svg",size,size));
@ -112,8 +115,19 @@ void IconsManager::updateActionIcons(const QString iconSet, int size)
mIcons.insert(ACTION_RUN_REMOVE_WATCH, createSVGIcon(iconFolder+"05Run-13RemoveWatch.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));
mIcons.insert(ACTION_VIEW_FILES, createSVGIcon(iconFolder+"06View-03Files.svg",size,size));
mIcons.insert(ACTION_VIEW_COMPILELOG, createSVGIcon(iconFolder+"06View-04CompileLog.svg",size,size));
mIcons.insert(ACTION_VIEW_BOOKMARK, createSVGIcon(iconFolder+"06View-05Bookmark.svg",size,size));
mIcons.insert(ACTION_VIEW_TODO, createSVGIcon(iconFolder+"06View-06Todo.svg",size,size));
mIcons.insert(ACTION_HELP_ABOUT, createSVGIcon(iconFolder+"07Help-01About.svg",size,size));
mIcons.insert(ACTION_PROBLEM_PROBLEM, createSVGIcon(iconFolder+"08Problem_01Problem.svg",size,size));
mIcons.insert(ACTION_PROBLEM_SET, createSVGIcon(iconFolder+"08Problem_02ProblemSet.svg",size,size));
mIcons.insert(ACTION_PROBLEM_PROPERTIES, createSVGIcon(iconFolder+"08Problem_03Properties.svg",size,size));
mIcons.insert(ACTION_PROBLEM_EDIT_SOURCE, createSVGIcon(iconFolder+"08Problem_04EditSource.svg",size,size));
mIcons.insert(ACTION_PROBLEM_RUN_CASES, createSVGIcon(iconFolder+"08Problem_05RunCases.svg",size,size));
}

View File

@ -76,6 +76,9 @@ public:
ACTION_EDIT_SEARCH,
ACTION_EDIT_REPLACE,
ACTION_EDIT_SEARCH_IN_FILES,
ACTION_EDIT_SORT_BY_NAME,
ACTION_EDIT_SORT_BY_TYPE,
ACTION_EDIT_SHOW_INHERITED,
ACTION_CODE_BACK,
ACTION_CODE_FORWARD,
@ -99,8 +102,19 @@ public:
ACTION_RUN_REMOVE_WATCH,
ACTION_VIEW_MAXIMUM,
ACTION_VIEW_CLASSBROWSER,
ACTION_VIEW_FILES,
ACTION_VIEW_COMPILELOG,
ACTION_VIEW_BOOKMARK,
ACTION_VIEW_TODO,
ACTION_HELP_ABOUT,
ACTION_PROBLEM_PROBLEM,
ACTION_PROBLEM_SET,
ACTION_PROBLEM_PROPERTIES,
ACTION_PROBLEM_EDIT_SOURCE,
ACTION_PROBLEM_RUN_CASES
};
explicit IconsManager(QObject *parent = nullptr);

View File

@ -0,0 +1,77 @@
<?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="01File-11Locate.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="43.200418"
inkscape:cy="39.485182"
inkscape:window-width="1920"
inkscape:window-height="1001"
inkscape:window-x="-9"
inkscape:window-y="-9"
inkscape:window-maximized="1"
inkscape:current-layer="g6809"
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">
<g
id="g6809"
transform="matrix(0.97787538,0,0,1,0.54974946,0)">
<path
id="path945"
style="fill:#ff5555;stroke:#4d4d4d;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
d="m 50.113281,10.712891 c -22.522832,0 -33.903806,13.514051 -27.99414,33.611328 6.806621,23.147592 29.029297,42.941406 29.029297,42.941406 0,0 22.446202,-21.927968 28.167968,-44.669922 C 84.427572,22.280666 72.636113,10.712891 50.113281,10.712891 Z m 0.419922,16.24414 A 12.009716,12.009716 0 0 1 62.542969,38.966797 12.009716,12.009716 0 0 1 50.533203,50.976562 12.009716,12.009716 0 0 1 38.523438,38.966797 12.009716,12.009716 0 0 1 50.533203,26.957031 Z"
transform="matrix(0.27056958,0,0,0.26458333,-0.56218765,0)" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@ -0,0 +1,72 @@
<?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="03Edit-11SortByName.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">
<path
id="text2480"
style="font-style:normal;font-weight:normal;font-size:17.2569px;line-height:1.25;font-family:sans-serif;fill:#07b3b3;fill-opacity:1;stroke:none;stroke-width:0.431425"
d="M 16.770822,0.43894309 C 15.023036,4.5043838 13.272924,8.5691094 11.526623,12.635007 c 1.023362,0 2.046724,0 3.070085,0 0.447188,-1.07224 0.891545,-2.145325 1.33759,-3.2179073 1.69428,0 3.38856,0 5.082839,0 0.446059,1.0725773 0.890381,2.1456733 1.337589,3.2179073 1.054502,0 2.109003,0 3.163505,0 -1.792918,-4.1725306 -3.589155,-8.3440415 -5.384328,-12.51587817 -1.075025,10e-9 -2.15005,0 -3.225075,0 -0.046,0.10660476 -0.092,0.21320956 -0.138006,0.31981426 z M 20.0511,7.1262955 c -1.052377,0 -2.104756,0 -3.157134,0 0.52725,-1.2451196 1.054501,-2.4902392 1.581752,-3.7353588 0.525128,1.2451196 1.050255,2.4902392 1.575382,3.7353588 z" />
<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 4.3328257,1.853972 v 18.213425 h -2.712948 l 3.5748207,4.698001 3.5744855,-4.698001 H 6.0565708 V 1.853972 h -0.466458 -0.790829 z"
sodipodi:nodetypes="cccccccccc" />
<path
id="text6356"
style="font-style:normal;font-weight:normal;font-size:17.2569px;line-height:1.25;font-family:sans-serif;fill:#07b3b3;fill-opacity:1;stroke:none;stroke-width:0.431425"
d="m 12.758054,14.382868 c 0,0.616869 0,1.233739 0,1.85061 2.473479,0 4.946957,0 7.420436,0 -2.577584,2.697411 -5.154602,5.39521 -7.73254,8.092379 0,0.695327 0,1.390653 0,2.085979 3.93138,0 7.862761,0 11.79414,0 0,-0.779771 0,-1.559543 0,-2.339315 -2.670932,0 -5.341864,0 -8.012797,0 2.60371,-2.71003 5.207341,-5.420113 7.811097,-8.13011 0,-0.68215 0,-1.364301 0,-2.046452 -3.760111,0 -7.520224,0 -11.280336,0 0,0.162303 0,0.324605 0,0.486909 z" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

@ -0,0 +1,95 @@
<?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="03Edit-12ShowInherited.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="44.991582"
inkscape:cy="67.390409"
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">
<path
style="fill:#f6bb59;fill-opacity:1;stroke:#000000;stroke-width:0.529167;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:markers stroke fill"
d="M 7.375096,8.7227754 V 1.5906237 h 11.59616 v 7.1321517 h -2.190398 l 4.177771,5.2978036 h 4.909867 V 21.15273 H 14.272335 v -7.132151 l 4.02787,0 -4.164489,-5.2977185 -0.96254,-8.51e-5 -0.872277,8.51e-5 -4.7678559,5.2977185 H 12.074017 V 21.15273 H 0.47785729 V 14.020579 H 4.9513376 L 9.6937292,8.7228605 Z"
id="path9322"
sodipodi:nodetypes="cccccccccccccccccccccc" />
<rect
style="fill:#4594d4;fill-opacity:1;stroke:none;stroke-width:0.569521;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
id="rect929"
width="11.59616"
height="7.1321516"
x="7.3750958"
y="1.5906237"
rx="0.26458332"
ry="0.30647567" />
<g
id="g1678"
transform="translate(0.20524177,0.51310442)">
<rect
style="fill:#60ee6a;fill-opacity:1;stroke:none;stroke-width:0.569521;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
id="rect929-7"
width="11.59616"
height="7.1321516"
x="0.27261552"
y="13.507475"
rx="0.26458332"
ry="0.30647567" />
<rect
style="fill:#60ee6a;fill-opacity:1;stroke:none;stroke-width:0.569521;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
id="rect929-7-6"
width="11.59616"
height="7.1321516"
x="14.067093"
y="13.507475"
rx="0.26458332"
ry="0.30647567" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@ -0,0 +1,91 @@
<?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="03Edit-11SortByType.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="0.32228251"
inkscape:cx="-605.05921"
inkscape:cy="-23.271508"
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">
<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 4.3328257,1.853972 v 18.213425 h -2.712948 l 3.5748207,4.698001 3.5744855,-4.698001 H 6.0565708 V 1.853972 h -0.466458 -0.790829 z"
sodipodi:nodetypes="cccccccccc" />
<rect
style="fill:#07b3b3;stroke:none;stroke-width:0.569521;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
id="rect929"
width="11.59616"
height="7.1321516"
x="12.322538"
y="1.1801401"
rx="0.26458332"
ry="0.30647567" />
<rect
style="fill:#ff4545;fill-opacity:1;stroke:none;stroke-width:0.569521;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
id="rect929-7"
width="11.59616"
height="7.1321516"
x="12.322538"
y="18.433277"
rx="0.26458332"
ry="0.30647567" />
<rect
style="fill:#e7e230;fill-opacity:1;stroke:none;stroke-width:0.569521;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
id="rect929-4"
width="11.59616"
height="7.1321516"
x="12.322538"
y="9.8067083"
rx="0.26458332"
ry="0.30647567" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

@ -0,0 +1,95 @@
<?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="03Edit-13ShowInherited.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="10.31304"
inkscape:cx="42.858361"
inkscape:cy="41.937197"
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">
<path
style="fill:#30e1f9;fill-opacity:1;stroke:#000000;stroke-width:1.05833332;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;paint-order:markers stroke fill"
d="M 7.375096,8.7227754 V 1.5906237 h 11.59616 v 7.1321517 h -1.13199 l 4.177771,5.2978036 h 3.851459 V 21.15273 H 14.272335 v -7.132151 h 5.105389 l -4.164489,-5.2977185 -2.040059,-8.51e-5 -1.795865,8.51e-5 -4.7678559,5.2977185 H 12.074017 V 21.15273 H 0.47785729 V 14.020579 H 3.8930791 L 8.6354707,8.7228605 Z"
id="path9322"
sodipodi:nodetypes="cccccccccccccccccccccc" />
<rect
style="fill:#4594d4;fill-opacity:1;stroke:none;stroke-width:0.569521;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
id="rect929"
width="11.59616"
height="7.1321516"
x="7.3750958"
y="1.5906237"
rx="0.26458332"
ry="0.30647567" />
<g
id="g1678"
transform="translate(0.20524177,0.51310442)">
<rect
style="fill:#60ee6a;fill-opacity:1;stroke:none;stroke-width:0.569521;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
id="rect929-7"
width="11.59616"
height="7.1321516"
x="0.27261552"
y="13.507475"
rx="0.26458332"
ry="0.30647567" />
<rect
style="fill:#60ee6a;fill-opacity:1;stroke:none;stroke-width:0.569521;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
id="rect929-7-6"
width="11.59616"
height="7.1321516"
x="14.067093"
y="13.507475"
rx="0.26458332"
ry="0.30647567" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

@ -0,0 +1,78 @@
<?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-02ClassBrowser.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="7.4387633"
inkscape:cx="44.362213"
inkscape:cy="56.259352"
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="linearGradient1033"
inkscape:swatch="gradient">
<stop
style="stop-color:#d3d2cf;stop-opacity:1"
offset="0"
id="stop1029" />
<stop
style="stop-color:#bebbb7;stop-opacity:1"
offset="1"
id="stop1031" />
</linearGradient>
<linearGradient
id="linearGradient3056">
<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">
<path
style="fill:#bfa214;fill-opacity:1;stroke:#000000;stroke-width:0.79375;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 0.60115865,15.276657 v 4.60522 H 6.9188714 v 6.022208 h 5.2028226 v -6.022208 h 5.946082 v -4.60522 H 12.121694 V 9.2544497 H 6.9188714 v 6.0222073 z"
id="path1359"
sodipodi:nodetypes="ccccccccccccc" />
<path
style="fill:#bfa214;fill-opacity:1;stroke:#000000;stroke-width:0.79375;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 8.303854,6.5894373 v 4.6052197 h 6.317714 v 6.022208 h 5.202822 v -6.022208 h 5.946082 V 6.5894373 H 19.82439 V 0.56722869 H 14.621568 V 6.5894373 Z"
id="path1359-3"
sodipodi:nodetypes="ccccccccccccc" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@ -0,0 +1,78 @@
<?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="00Misc-07Folder.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="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>
</defs>
<g
inkscape:label="图层 1"
inkscape:groupmode="layer"
id="layer1">
<path
id="rect934"
style="fill:#fcbc4c;fill-opacity:1;stroke:#000000;stroke-width:0.925908"
d="m 2.9676944,4.2433726 5.3482791,-0.021293 c 1.1765315,0.021566 1.8442225,1.2029805 1.9292205,2.4622265 l 10.88125,0.00776 c 0.935282,-0.062871 0.889555,-0.020366 0.889555,0.8609688 V 21.061341 H 1.2421203 L 1.2822363,6.8702997 C 1.3813993,5.2025996 1.8855551,4.2905299 2.9676944,4.2433726 Z"
sodipodi:nodetypes="ccccccccc" />
<path
style="fill:#fcbc4c;fill-opacity:1;stroke:#000000;stroke-width:0.916541;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 1.2789381,21.040435 H 21.992672 L 25.612947,10.311812 C 25.967072,9.4334089 25.89559,9.5113679 25.012162,9.5094159 l -18.5620261,-0.041 c -0.8240357,-0.08407 -0.8232845,0.04992 -1.0961226,0.7729521 z"
id="path6014"
sodipodi:nodetypes="ccccccc" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@ -0,0 +1,101 @@
<?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-03Problem.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.26"
inkscape:cx="15.969582"
inkscape:cy="54.467681"
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-midpoints="false"
inkscape:snap-intersection-paths="false"
inkscape:snap-global="true"
inkscape:object-nodes="false"
inkscape:snap-others="false" />
<defs
id="defs2">
<linearGradient
id="linearGradient1033"
inkscape:swatch="gradient">
<stop
style="stop-color:#d3d2cf;stop-opacity:1"
offset="0"
id="stop1029" />
<stop
style="stop-color:#bebbb7;stop-opacity:1"
offset="1"
id="stop1031" />
</linearGradient>
<linearGradient
id="linearGradient3056">
<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">
<path
style="fill:#ffffff;stroke:#404040;stroke-width:0.79375;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;fill-opacity:1"
d="M 10.243638,9.0341978 3.3434097,20.273867 c -0.5643003,0.91918 0.6998335,2.703182 1.7784094,2.703182 H 22.336822 c 1.105957,0 2.306221,-1.97661 1.658936,-2.873362 L 16.645912,9.0341978 16.574772,2.4897291 h -6.331137 z"
id="path942"
sodipodi:nodetypes="csssscccc" />
<path
style="fill:#adecef;fill-opacity:1;stroke:#404040;stroke-width:0.79374999;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 3.2042467,20.805576 3.5892772,-6.23656 H 20.320835 l 3.857224,6.160504 c 0.508208,0.811676 -0.786161,2.285942 -1.743807,2.283194 L 4.9043489,22.962414 C 3.9889112,22.959787 2.7476143,21.598999 3.2042467,20.805576 Z"
id="path2007"
sodipodi:nodetypes="sccssss" />
<circle
style="fill:#adecef;fill-opacity:1;stroke-width:0.529167;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;paint-order:markers stroke fill"
id="path3522"
cx="12.097394"
cy="11.544083"
r="0.82996672" />
<circle
style="fill:#adecef;fill-opacity:1;stroke-width:0.529167;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;paint-order:markers stroke fill"
id="path3524"
cx="14.612445"
cy="3.8983285"
r="0.72936469" />
<circle
style="fill:#adecef;fill-opacity:1;stroke-width:0.529167;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;paint-order:markers stroke fill"
id="path3526"
cx="11.745287"
cy="1.0311708"
r="0.77966571" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

@ -0,0 +1,132 @@
<?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-04ProblemSet.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="7.4387633"
inkscape:cx="44.496644"
inkscape:cy="51.285407"
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="linearGradient1033"
inkscape:swatch="gradient">
<stop
style="stop-color:#d3d2cf;stop-opacity:1"
offset="0"
id="stop1029" />
<stop
style="stop-color:#bebbb7;stop-opacity:1"
offset="1"
id="stop1031" />
</linearGradient>
<linearGradient
id="linearGradient3056">
<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="g1847-1"
transform="translate(4.6238648,-6.8961302)">
<path
style="fill:#ffffff;fill-opacity:1;stroke:#404040;stroke-width:0.714375;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 8.6272858,13.332059 2.4170803,23.447761 C 1.90921,24.275023 3.0469304,25.880624 4.0176487,25.880624 H 19.511151 c 0.995361,0 2.075599,-1.778949 1.493043,-2.586025 l -6.614862,-9.96254 -0.06403,-5.8900227 H 8.6272831 Z"
id="path942-3"
sodipodi:nodetypes="csssscccc" />
<path
style="fill:#adecef;fill-opacity:1;stroke:#404040;stroke-width:0.714375;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 2.2918336,23.926299 5.5221832,18.313395 H 17.696763 l 3.471501,5.544453 c 0.457388,0.730509 -0.707544,2.057348 -1.569426,2.054875 L 3.8219256,25.867453 c -0.823894,-0.0024 -1.9410612,-1.227074 -1.530092,-1.941154 z"
id="path2007-0"
sodipodi:nodetypes="sccssss" />
</g>
<circle
style="fill:#adecef;fill-opacity:1;stroke-width:0.529167;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;paint-order:markers stroke fill"
id="path3522-0"
cx="17.570686"
cy="9.1765919"
r="0.82996672" />
<circle
style="fill:#adecef;fill-opacity:1;stroke-width:0.529167;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;paint-order:markers stroke fill"
id="path3522-42"
cx="15.294321"
cy="2.3119323"
r="0.82996672" />
<circle
style="fill:#adecef;fill-opacity:1;stroke-width:0.529167;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;paint-order:markers stroke fill"
id="path3522-2"
cx="14.974207"
cy="7.931706"
r="0.82996672" />
<g
id="g1847"
transform="translate(-1.6361366,-0.53352282)">
<path
style="fill:#ffffff;fill-opacity:1;stroke:#404040;stroke-width:0.714375;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 8.6272858,13.332059 2.4170803,23.447761 C 1.90921,24.275023 3.0469304,25.880624 4.0176487,25.880624 H 19.511151 c 0.995361,0 2.075599,-1.778949 1.493043,-2.586025 l -6.614862,-9.96254 -0.06403,-5.8900227 H 8.6272831 Z"
id="path942"
sodipodi:nodetypes="csssscccc" />
<path
style="fill:#adecef;fill-opacity:1;stroke:#404040;stroke-width:0.714375;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 2.2918336,23.926299 5.5221832,18.313395 H 17.696763 l 3.471501,5.544453 c 0.457388,0.730509 -0.707544,2.057348 -1.569426,2.054875 L 3.8219256,25.867453 c -0.823894,-0.0024 -1.9410612,-1.227074 -1.530092,-1.941154 z"
id="path2007"
sodipodi:nodetypes="sccssss" />
</g>
<circle
style="fill:#adecef;fill-opacity:1;stroke-width:0.529167;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;paint-order:markers stroke fill"
id="path3522"
cx="9.638979"
cy="13.587048"
r="0.82996672" />
<circle
style="fill:#adecef;fill-opacity:1;stroke-width:0.529167;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;paint-order:markers stroke fill"
id="path3522-8"
cx="10.634889"
cy="8.9276152"
r="0.82996672" />
<circle
style="fill:#adecef;fill-opacity:1;stroke-width:0.529167;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;paint-order:markers stroke fill"
id="path3522-4"
cx="8.3585243"
cy="4.5527282"
r="0.82996672" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.6 KiB

View File

@ -0,0 +1,109 @@
<?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="08Problem_03Properties.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.26"
inkscape:cx="16.159696"
inkscape:cy="54.467681"
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-midpoints="false"
inkscape:snap-intersection-paths="false"
inkscape:snap-global="true"
inkscape:object-nodes="false"
inkscape:snap-others="false" />
<defs
id="defs2">
<linearGradient
id="linearGradient1033"
inkscape:swatch="gradient">
<stop
style="stop-color:#d3d2cf;stop-opacity:1"
offset="0"
id="stop1029" />
<stop
style="stop-color:#bebbb7;stop-opacity:1"
offset="1"
id="stop1031" />
</linearGradient>
<linearGradient
id="linearGradient3056">
<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="g845"
transform="translate(-2.4144486,0.05030101)">
<path
style="fill:#ffffff;fill-opacity:1;stroke:#404040;stroke-width:0.79375;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 10.243638,9.0341978 3.3434097,20.273867 c -0.5643003,0.91918 0.6998335,2.703182 1.7784094,2.703182 H 22.336822 c 1.105957,0 2.306221,-1.97661 1.658936,-2.873362 L 16.645912,9.0341978 16.574772,2.4897291 h -6.331137 z"
id="path942"
sodipodi:nodetypes="csssscccc" />
<path
style="fill:#adecef;fill-opacity:1;stroke:#404040;stroke-width:0.79375;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 3.2042467,20.805576 3.5892772,-6.23656 H 20.320835 l 3.857224,6.160504 c 0.508208,0.811676 -0.786161,2.285942 -1.743807,2.283194 L 4.9043489,22.962414 C 3.9889112,22.959787 2.7476143,21.598999 3.2042467,20.805576 Z"
id="path2007"
sodipodi:nodetypes="sccssss" />
<circle
style="fill:#adecef;fill-opacity:1;stroke-width:0.529167;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;paint-order:markers stroke fill"
id="path3522"
cx="12.097394"
cy="11.544083"
r="0.82996672" />
<circle
style="fill:#adecef;fill-opacity:1;stroke-width:0.529167;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;paint-order:markers stroke fill"
id="path3524"
cx="14.612445"
cy="3.8983285"
r="0.72936469" />
<circle
style="fill:#adecef;fill-opacity:1;stroke-width:0.529167;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;paint-order:markers stroke fill"
id="path3526"
cx="11.745287"
cy="1.0311708"
r="0.77966571" />
</g>
<path
id="path963"
style="fill:#d3eeed;fill-opacity:1;stroke:#000000;stroke-width:0.529167;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 13.235599,6.8053509 -4.1356646,2.387967 1.1932086,2.0670571 a 7.7496153,7.7496153 0 0 0 -1.6164386,2.800347 h -2.386934 v 4.775419 h 2.386934 a 7.7496153,7.7496153 0 0 0 1.6164386,2.800345 l -1.1932086,2.067058 4.1356646,2.387968 1.193726,-2.067058 a 7.7496153,7.7496153 0 0 0 1.616439,0.173633 7.7496153,7.7496153 0 0 0 1.616438,-0.173633 l 1.193726,2.067058 4.135665,-2.387968 -1.193209,-2.067058 a 7.7496153,7.7496153 0 0 0 1.616439,-2.800345 h 2.387451 v -4.775419 h -2.384351 a 7.7496153,7.7496153 0 0 0 -1.618505,-2.802413 l 1.192175,-2.0649911 -4.135665,-2.387967 -1.192175,2.064473 a 7.7496153,7.7496153 0 0 0 -1.617989,-0.171049 7.7496153,7.7496153 0 0 0 -1.616439,0.17415 z m 2.810681,6.2290761 a 3.4139671,3.4139671 0 0 1 3.413746,3.414262 3.4139671,3.4139671 0 0 1 -3.413746,3.413745 3.4139671,3.4139671 0 0 1 -3.414261,-3.413745 3.4139671,3.4139671 0 0 1 3.414261,-3.414262 z" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.0 KiB

View File

@ -0,0 +1,141 @@
<?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="08Problem_04EditSource.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="1.8596908"
inkscape:cx="79.583121"
inkscape:cy="117.49265"
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-midpoints="true"
inkscape:snap-intersection-paths="true"
inkscape:snap-global="true"
inkscape:object-nodes="true"
inkscape:snap-others="true"
inkscape:object-paths="true"
inkscape:snap-smooth-nodes="true" />
<defs
id="defs2">
<linearGradient
id="linearGradient1033"
inkscape:swatch="gradient">
<stop
style="stop-color:#d3d2cf;stop-opacity:1"
offset="0"
id="stop1029" />
<stop
style="stop-color:#bebbb7;stop-opacity:1"
offset="1"
id="stop1031" />
</linearGradient>
<linearGradient
id="linearGradient3056">
<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>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient1420"
id="linearGradient1422"
x1="7.8442378"
y1="11.269956"
x2="1.9260681"
y2="11.269956"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
id="linearGradient1420">
<stop
style="stop-color:#e0e0e0;stop-opacity:1;"
offset="0"
id="stop1416" />
<stop
style="stop-color:#ffffff;stop-opacity:1"
offset="1"
id="stop1418" />
</linearGradient>
</defs>
<g
inkscape:label="图层 1"
inkscape:groupmode="layer"
id="layer1">
<g
id="g1248"
transform="matrix(1.0561054,0,0,1.08,-38.158567,-5.4176705)">
<g
id="g1755"
transform="matrix(0.90511128,0,0,0.885086,33.310895,5.4864533)">
<path
id="rect848-1"
style="fill:url(#linearGradient1422);stroke:#000000;stroke-width:0.721591"
transform="matrix(1.1,0,0,1.1,2.6932117,0.93042432)"
d="M 1.8840514,1.3039001 H 12.125786 l 5.237068,5.830555 0.04157,14.1015569 H 1.8840514 Z"
sodipodi:nodetypes="cccccc" />
<path
style="fill:none;stroke:#000000;stroke-width:0.79375;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 16.031576,2.3647144 -0.02942,6.3678902 5.790196,0.04572"
id="path1641" />
</g>
<path
style="fill:none;stroke:#606060;stroke-width:1.53079;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 40.079988,10.972906 h 6.036777"
id="path889" />
<path
style="fill:none;stroke:#606060;stroke-width:1.60536;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 40.117273,15.262706 H 50.584929"
id="path889-6-5" />
<path
style="fill:none;stroke:#606060;stroke-width:1.60536;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 40.117273,19.381506 H 50.584929"
id="path889-6-5-2" />
<path
style="fill:none;stroke:#606060;stroke-width:1.60536;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 40.117273,23.500307 H 50.584929"
id="path889-6-5-4" />
</g>
<path
id="rect1061"
style="fill:#eca632;stroke-width:0.529167;stroke-linecap:round;stroke-linejoin:round;paint-order:markers stroke fill;fill-opacity:1"
d="m 23.714844,2.2207031 c -1.175336,0.240411 -1.68124,1.49632 -2.514069,2.2317128 l -11.87265,13.2272721 2.8125,2.707031 c 1.012078,-0.83584 1.77084,-1.950354 2.693115,-2.886635 C 18.532818,13.354441 22.303285,9.2554602 25.943451,5.0545323 26.484568,4.1234314 25.608251,3.2507405 24.892578,2.75 24.5968,2.4140301 24.176847,2.1654392 23.714844,2.2207031 Z"
sodipodi:nodetypes="cccccccc" />
<path
id="path2497"
style="fill:#925c02;fill-opacity:1;stroke:none;stroke-width:0.264583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 7.0419317,22.935042 C 8.6886387,22.020858 10.4941,21.30123 12.140625,20.386719 11.322381,19.652867 10.147797,18.411946 9.328125,17.679688 8.475694,19.373808 7.7785031,21.471265 7.0419317,22.935042 Z"
sodipodi:nodetypes="cccc" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.5 KiB

View File

@ -0,0 +1,136 @@
<?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="08Problem_05RunCases.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="1.8596908"
inkscape:cx="79.583122"
inkscape:cy="117.49265"
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-midpoints="true"
inkscape:snap-intersection-paths="true"
inkscape:snap-global="true"
inkscape:object-nodes="true"
inkscape:snap-others="true"
inkscape:object-paths="true"
inkscape:snap-smooth-nodes="true" />
<defs
id="defs2">
<linearGradient
id="linearGradient1033"
inkscape:swatch="gradient">
<stop
style="stop-color:#d3d2cf;stop-opacity:1"
offset="0"
id="stop1029" />
<stop
style="stop-color:#bebbb7;stop-opacity:1"
offset="1"
id="stop1031" />
</linearGradient>
<linearGradient
id="linearGradient3056">
<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>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient1420"
id="linearGradient1422"
x1="7.8442378"
y1="11.269956"
x2="1.9260681"
y2="11.269956"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
id="linearGradient1420">
<stop
style="stop-color:#e0e0e0;stop-opacity:1;"
offset="0"
id="stop1416" />
<stop
style="stop-color:#ffffff;stop-opacity:1"
offset="1"
id="stop1418" />
</linearGradient>
</defs>
<g
inkscape:label="图层 1"
inkscape:groupmode="layer"
id="layer1">
<g
id="g1248"
transform="matrix(1.0561054,0,0,1.08,-38.158567,-5.4176705)">
<g
id="g1755"
transform="matrix(0.90511128,0,0,0.885086,33.310895,5.4864533)">
<path
id="rect848-1"
style="fill:url(#linearGradient1422);stroke:#000000;stroke-width:0.721591"
transform="matrix(1.1,0,0,1.1,2.6932117,0.93042432)"
d="M 1.8840514,1.3039001 H 12.125786 l 5.237068,5.830555 0.04157,14.1015569 H 1.8840514 Z"
sodipodi:nodetypes="cccccc" />
<path
style="fill:none;stroke:#000000;stroke-width:0.79375;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 16.031576,2.3647144 -0.02942,6.3678902 5.790196,0.04572"
id="path1641" />
</g>
<path
style="fill:none;stroke:#606060;stroke-width:1.53079;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 40.079988,10.972906 h 6.036777"
id="path889" />
<path
style="fill:none;stroke:#606060;stroke-width:1.60536;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 40.117273,15.262706 H 50.584929"
id="path889-6-5" />
<path
style="fill:none;stroke:#606060;stroke-width:1.60536;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 40.117273,19.381506 H 50.584929"
id="path889-6-5-2" />
<path
style="fill:none;stroke:#606060;stroke-width:1.60536;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 40.117273,23.500307 H 50.584929"
id="path889-6-5-4" />
</g>
<path
style="fill:#1ec600;fill-opacity:1;stroke:#000000;stroke-width:0.615895;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 10.413378,8.978483 V 25.565365 L 25.365444,17.340466 Z"
id="path1368"
sodipodi:nodetypes="cccc" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.8 KiB

View File

@ -1106,6 +1106,15 @@ void MainWindow::updateActionIcons()
ui->toolbarCode->setIconSize(iconSize);
ui->toolbarCompile->setIconSize(iconSize);
ui->toolbarDebug->setIconSize(iconSize);
for (QToolButton* btn: mClassBrowserToolbar->findChildren<QToolButton *>()) {
btn->setIconSize(iconSize);
}
for (QToolButton* btn: mFilesViewToolbar->findChildren<QToolButton *>()) {
btn->setIconSize(iconSize);
}
ui->tabInfos->setIconSize(iconSize);
ui->tabMessages->setIconSize(iconSize);
ui->actionNew->setIcon(QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_FILE_NEW))));
ui->actionNew_Project->setIcon(QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_PROJECT_NEW))));
@ -1192,8 +1201,46 @@ void MainWindow::updateActionIcons()
mBreakpointViewRemoveAllAction->setIcon(QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_MISC_CLEAN))));
mBreakpointViewRemoveAction->setIcon(QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_MISC_CROSS))));
ui->tabInfos->setIconSize(iconSize);
ui->tabMessages->setIconSize(iconSize);
//classbrowser
mClassBrowser_Sort_By_Name->setIcon(QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_EDIT_SORT_BY_NAME))));
mClassBrowser_Sort_By_Type->setIcon(QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_EDIT_SORT_BY_TYPE))));
mClassBrowser_Show_Inherited->setIcon(QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_EDIT_SHOW_INHERITED))));
//debug console
mDebugConsole_Copy->setIcon(QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_EDIT_COPY))));
mDebugConsole_Paste->setIcon(QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_EDIT_PASTE))));
mDebugConsole_Clear->setIcon(QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_MISC_CLEAN))));
//file view
mFilesView_Open->setIcon(QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_FILE_OPEN))));
mFilesView_OpenInTerminal->setIcon(QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_MISC_TERM))));
mFilesView_OpenInExplorer->setIcon(QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_MISC_FOLDER))));
//problem view
ui->btnNewProblemSet->setIconSize(iconSize);
ui->btnNewProblemSet->setIcon(QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_PROBLEM_SET))));
ui->btnAddProblem->setIconSize(iconSize);
ui->btnAddProblem->setIcon(QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_MISC_ADD))));
ui->btnRemoveProblem->setIconSize(iconSize);
ui->btnRemoveProblem->setIcon(QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_MISC_CROSS))));
ui->btnSaveProblemSet->setIconSize(iconSize);
ui->btnSaveProblemSet->setIcon(QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_FILE_SAVE_AS))));
ui->btnLoadProblemSet->setIconSize(iconSize);
ui->btnLoadProblemSet->setIcon(QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_FILE_OPEN_FOLDER))));
ui->btnAddProblemCase->setIconSize(iconSize);
ui->btnAddProblemCase->setIcon(QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_MISC_ADD))));
ui->btnRemoveProblemCase->setIconSize(iconSize);
ui->btnRemoveProblemCase->setIcon(QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_MISC_REMOVE))));
ui->btnOpenProblemAnswer->setIconSize(iconSize);
ui->btnOpenProblemAnswer->setIcon(QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_PROBLEM_EDIT_SOURCE))));
ui->btnRunAllProblemCases->setIconSize(iconSize);
ui->btnRunAllProblemCases->setIcon(QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_PROBLEM_RUN_CASES))));
ui->btnCaseValidateOptions->setIconSize(iconSize);
ui->btnCaseValidateOptions->setIcon(QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_MISC_GEAR))));
mProblem_Properties->setIcon(QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_PROBLEM_PROPERTIES))));
int idx = ui->tabInfos->indexOf(ui->tabWatch);
if (idx>=0)
@ -1201,6 +1248,41 @@ void MainWindow::updateActionIcons()
idx = ui->tabInfos->indexOf(ui->tabProject);
if (idx>=0)
ui->tabInfos->setTabIcon(idx,QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_PROJECT_NEW))));
idx = ui->tabInfos->indexOf(ui->tabFiles);
if (idx>=0)
ui->tabInfos->setTabIcon(idx,QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_VIEW_FILES))));
idx = ui->tabInfos->indexOf(ui->tabStructure);
if (idx>=0)
ui->tabInfos->setTabIcon(idx,QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_VIEW_CLASSBROWSER))));
idx = ui->tabInfos->indexOf(ui->tabProblemSet);
if (idx>=0)
ui->tabInfos->setTabIcon(idx,QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_PROBLEM_SET))));
idx = ui->tabMessages->indexOf(ui->tabIssues);
if (idx>=0)
ui->tabMessages->setTabIcon(idx,QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_RUN_COMPILE))));
idx = ui->tabMessages->indexOf(ui->tabDebug);
if (idx>=0)
ui->tabMessages->setTabIcon(idx,QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_RUN_DEBUG))));
idx = ui->tabMessages->indexOf(ui->tabSearch);
if (idx>=0)
ui->tabMessages->setTabIcon(idx,QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_EDIT_SEARCH))));
idx = ui->tabMessages->indexOf(ui->tabCompilerOutput);
if (idx>=0)
ui->tabMessages->setTabIcon(idx,QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_VIEW_COMPILELOG))));
idx = ui->tabMessages->indexOf(ui->tabTODO);
if (idx>=0)
ui->tabMessages->setTabIcon(idx,QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_VIEW_TODO))));
idx = ui->tabMessages->indexOf(ui->tabBookmark);
if (idx>=0)
ui->tabMessages->setTabIcon(idx,QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_VIEW_BOOKMARK))));
idx = ui->tabMessages->indexOf(ui->tabProblem);
if (idx>=0)
ui->tabMessages->setTabIcon(idx,QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_PROBLEM_PROBLEM))));
}
void MainWindow::checkSyntaxInBack(Editor *e)
@ -2426,10 +2508,14 @@ void MainWindow::buildContextMenus()
hlayout->setContentsMargins(2,2,2,2);
mClassBrowserToolbar->setLayout(hlayout);
QToolButton * toolButton;
int size = pointToPixel(pSettings->environment().interfaceFontSize());
QSize iconSize(size,size);
toolButton = new QToolButton;
toolButton->setIconSize(iconSize);
toolButton->setDefaultAction(mClassBrowser_Sort_By_Type);
hlayout->addWidget(toolButton);
toolButton = new QToolButton;
toolButton->setIconSize(iconSize);
toolButton->setDefaultAction(mClassBrowser_Sort_By_Name);
hlayout->addWidget(toolButton);
QFrame * vLine = new QFrame();
@ -2437,6 +2523,7 @@ void MainWindow::buildContextMenus()
vLine->setFrameShadow(QFrame::Sunken);
hlayout->addWidget(vLine);
toolButton = new QToolButton;
toolButton->setIconSize(iconSize);
toolButton->setDefaultAction(mClassBrowser_Show_Inherited);
hlayout->addWidget(toolButton);
hlayout->addStretch();
@ -2515,13 +2602,15 @@ void MainWindow::buildContextMenus()
hlayout->setContentsMargins(2,2,2,2);
mFilesViewToolbar->setLayout(hlayout);
QToolButton * toolButton;
int size = pointToPixel(pSettings->environment().interfaceFontSize());
QSize iconSize(size,size);
toolButton = new QToolButton;
toolButton->setIconSize(iconSize);
toolButton->setDefaultAction(ui->actionOpen_Folder);
toolButton->setFixedSize(32,32);
hlayout->addWidget(toolButton);
toolButton = new QToolButton;
toolButton->setIconSize(iconSize);
toolButton->setDefaultAction(ui->actionLocate_in_Files_View);
toolButton->setFixedSize(32,32);
hlayout->addWidget(toolButton);
hlayout->addStretch();
}