work save
|
@ -502,5 +502,12 @@
|
|||
<file>images/newlook/02Project_02Save.svg</file>
|
||||
<file>images/newlook/02Project_03Close.svg</file>
|
||||
<file>images/newlook/01File-09Open_Folder.svg</file>
|
||||
<file>images/newlook/03Edit_01Undo.svg</file>
|
||||
<file>images/newlook/03Edit_02Redo.svg</file>
|
||||
<file>images/newlook/03Edit_03Cut.svg</file>
|
||||
<file>images/newlook/03Edit_04Copy.svg</file>
|
||||
<file>images/newlook/03Edit_05Paste.svg</file>
|
||||
<file>images/newlook/03Edit_06Indent.svg</file>
|
||||
<file>images/newlook/03Edit_07Unindent.svg</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
|
|
@ -62,7 +62,13 @@ void IconsManager::updateActionIcons(const QString iconSet, int size)
|
|||
mIcons.insert(ACTION_PROJECT_NEW, createSVGIcon(iconFolder+"02Project_01New.svg",size,size));
|
||||
mIcons.insert(ACTION_PROJECT_SAVE, createSVGIcon(iconFolder+"02Project_02Save.svg",size,size));
|
||||
mIcons.insert(ACTION_PROJECT_CLOSE, createSVGIcon(iconFolder+"02Project_03Close.svg",size,size));
|
||||
|
||||
mIcons.insert(ACTION_EDIT_UNDO, createSVGIcon(iconFolder+"03Edit_01Undo.svg",size,size));
|
||||
mIcons.insert(ACTION_EDIT_REDO, createSVGIcon(iconFolder+"03Edit_02Redo.svg",size,size));
|
||||
mIcons.insert(ACTION_EDIT_CUT, createSVGIcon(iconFolder+"03Edit_03Cut.svg",size,size));
|
||||
mIcons.insert(ACTION_EDIT_COPY, createSVGIcon(iconFolder+"03Edit_04Copy.svg",size,size));
|
||||
mIcons.insert(ACTION_EDIT_PASTE, createSVGIcon(iconFolder+"03Edit_05Paste.svg",size,size));
|
||||
mIcons.insert(ACTION_EDIT_INDENT, createSVGIcon(iconFolder+"03Edit_06Indent.svg",size,size));
|
||||
mIcons.insert(ACTION_EDIT_UNINDENT, createSVGIcon(iconFolder+"03Edit_07Unindent.svg",size,size));
|
||||
}
|
||||
|
||||
IconsManager::PIcon IconsManager::getIcon(IconName iconName) const
|
||||
|
|
|
@ -49,6 +49,14 @@ public:
|
|||
ACTION_PROJECT_SAVE,
|
||||
ACTION_PROJECT_CLOSE,
|
||||
|
||||
ACTION_EDIT_UNDO,
|
||||
ACTION_EDIT_REDO,
|
||||
ACTION_EDIT_CUT,
|
||||
ACTION_EDIT_COPY,
|
||||
ACTION_EDIT_PASTE,
|
||||
ACTION_EDIT_INDENT,
|
||||
ACTION_EDIT_UNINDENT
|
||||
|
||||
};
|
||||
explicit IconsManager(QObject *parent = nullptr);
|
||||
|
||||
|
|
|
@ -0,0 +1,73 @@
|
|||
<?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_01Undo.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="2.8934906"
|
||||
inkscape:cx="158.63193"
|
||||
inkscape:cy="3.9744383"
|
||||
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:#e09f05;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.87231234,7.2067537 7.6033404,1.9499941 6.7666615,5.8273515 c 0,0 8.7793885,0.7135225 12.0454015,3.294271 3.704831,2.9274955 6.795119,12.4294175 6.795119,12.4294175 l -4.191083,-2.35824 -2.683187,5.523714 c 0,0 -0.303279,-8.929644 -2.919397,-12.185711 C 13.702998,9.904017 6.720941,8.1133735 6.720941,8.1133735 l 1.0589111,4.0585485 z"
|
||||
id="path1007"
|
||||
sodipodi:nodetypes="cccacccaccc" />
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 2.4 KiB |
|
@ -0,0 +1,73 @@
|
|||
<?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_02Redo.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="2.8934906"
|
||||
inkscape:cx="158.28633"
|
||||
inkscape:cy="3.9744384"
|
||||
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:#19ac4b;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 25.637625,7.2067537 -6.731028,-5.2567596 0.836679,3.8773574 c 0,0 -8.779389,0.7135225 -12.0454019,3.294271 C 3.9930431,12.049118 0.90275512,21.55104 0.90275512,21.55104 l 4.19108298,-2.35824 2.683187,5.523714 c 0,0 0.303279,-8.929644 2.9193969,-12.185711 2.110517,-2.626786 9.092574,-4.4174295 9.092574,-4.4174295 l -1.058911,4.0585485 z"
|
||||
id="path1007"
|
||||
sodipodi:nodetypes="cccacccaccc" />
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 2.4 KiB |
|
@ -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="03Edit_03Cut.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="2.8934906"
|
||||
inkscape:cx="61.862997"
|
||||
inkscape:cy="101.08898"
|
||||
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">
|
||||
<g
|
||||
id="g3704"
|
||||
style="fill:#bffefd;fill-opacity:1;stroke-width:0.495939;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
transform="matrix(0.66194405,-0.83685068,0.83685068,0.66194405,-7.5228342,13.956736)">
|
||||
<g
|
||||
id="g2656"
|
||||
style="fill:#bffefd;fill-opacity:1;stroke-width:0.495939;stroke-miterlimit:4;stroke-dasharray:none">
|
||||
<path
|
||||
id="path941"
|
||||
style="fill:#bffefd;fill-opacity:1;stroke:#000000;stroke-width:1.87441;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 28.685547,13.306641 c 0,0 -0.720028,18.274878 2.072265,26.783203 2.980858,9.082892 15.160157,24.34375 15.160157,24.34375 2.557024,5.363399 13.612173,34.152972 17.501953,34.449218 C 69.764135,99.00799 76.050433,90.443666 75.447266,84.126953 74.377591,72.924724 49.550781,62.46875 49.550781,62.46875 Z m 23.798828,55.636718 c 7.048422,1.957259 15.511085,11.636104 17.623047,14.560547 2.004246,3.293284 -1.832128,8.423425 -5.283203,9.847656 C 59.750418,85.576356 54.726504,74.12121 52.484375,68.943359 Z"
|
||||
transform="scale(0.26458333)" />
|
||||
</g>
|
||||
</g>
|
||||
<path
|
||||
id="path941-7"
|
||||
style="fill:#bffefd;fill-opacity:1;stroke:#000000;stroke-width:0.529167;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 10.628209,0.5819219 c 0,0 3.405052,3.881258 4.304235,6.2439736 0.959903,2.5222713 0.999533,8.0342645 0.999533,8.0342645 0.392005,1.630972 3.082042,9.911191 2.281328,10.66732 -1.369569,1.154706 -4.270388,0.392794 -5.26042,-1.100155 -1.755751,-2.647637 1.833001,-9.352737 1.833001,-9.352737 z m 4.664508,16.4343261 c -1.198538,1.681753 -1.335355,5.308777 -1.279066,6.325604 0.145455,1.078605 1.898616,1.522421 2.90878,1.221685 -0.268398,-2.607262 -1.201594,-6.012976 -1.629714,-7.547289 z" />
|
||||
<path
|
||||
id="path941-7-1"
|
||||
style="fill:#fc921d;fill-opacity:1;stroke:#000000;stroke-width:0.529167;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 14.020442,16.680868 c -0.943113,2.153439 -2.280641,5.917109 -1.067634,7.746298 0.990032,1.492948 3.891092,2.254895 5.26066,1.10019 0.632188,-0.596985 -0.899655,-5.844643 -1.770435,-8.846488 z m 1.272275,0.33538 c 0.42812,1.534313 1.361477,4.94008 1.629873,7.547342 -1.010163,0.300736 -2.763411,-0.143026 -2.908866,-1.221631 -0.05629,-1.016826 0.08045,-4.643958 1.278993,-6.325711 z" />
|
||||
<path
|
||||
id="path941-7-1-0"
|
||||
style="fill:#fc911c;fill-opacity:1;stroke:#000000;stroke-width:0.529167;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 16.638918,13.389532 c 2.116003,-1.024351 5.826067,-2.504087 7.700076,-1.361543 1.52953,0.932523 2.401286,3.802497 1.299517,5.215 -0.572504,0.654441 -5.874636,-0.676665 -8.907434,-1.43262 z m 0.383536,1.258595 c 1.549489,0.369442 4.988297,1.172564 7.603881,1.341582 0.262092,-1.020873 -0.248046,-2.75597 -1.331403,-2.860289 -1.018232,-0.01756 -4.637536,0.257058 -6.272478,1.518707 z" />
|
||||
<ellipse
|
||||
style="fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.160976;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="path11663"
|
||||
cx="15.324492"
|
||||
cy="14.347409"
|
||||
rx="0.28744334"
|
||||
ry="0.28414792" />
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 5.2 KiB |
|
@ -0,0 +1,166 @@
|
|||
<?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_04Copy.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="2.8934906"
|
||||
inkscape:cx="158.63193"
|
||||
inkscape:cy="3.9744383"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1001"
|
||||
inkscape:window-x="-9"
|
||||
inkscape:window-y="-9"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="g1248"
|
||||
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="#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>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient1420"
|
||||
id="linearGradient1422-7"
|
||||
x1="7.8442378"
|
||||
y1="11.269956"
|
||||
x2="1.9260681"
|
||||
y2="11.269956"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
</defs>
|
||||
<g
|
||||
inkscape:label="图层 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<g
|
||||
id="g1248"
|
||||
transform="matrix(0.88008784,0,0,0.9,-31.866155,-5.3127157)">
|
||||
<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
|
||||
id="g1045">
|
||||
<g
|
||||
id="g1755-8"
|
||||
transform="matrix(0.90511128,0,0,0.885086,43.815836,12.719127)">
|
||||
<path
|
||||
id="rect848-1-3"
|
||||
style="fill:url(#linearGradient1422-7);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-8" />
|
||||
</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 50.584929,18.20558 h 6.036777"
|
||||
id="path889-8" />
|
||||
<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 50.622214,22.49538 H 61.08987"
|
||||
id="path889-6-5-0" />
|
||||
<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 50.622214,26.61418 H 61.08987"
|
||||
id="path889-6-5-2-4" />
|
||||
<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 50.622214,30.732981 H 61.08987"
|
||||
id="path889-6-5-4-6" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 6.3 KiB |
|
@ -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="03Edit_05Paste.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.7869812"
|
||||
inkscape:cx="89.16566"
|
||||
inkscape:cy="41.213198"
|
||||
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">
|
||||
<rect
|
||||
style="fill:#ac7000;fill-opacity:1;stroke:#000000;stroke-width:0.529167;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect1047"
|
||||
width="21.762926"
|
||||
height="24.689037"
|
||||
x="2.4689038"
|
||||
y="1.0972906" />
|
||||
<rect
|
||||
style="fill:#f0f0f0;fill-opacity:1;stroke:#000000;stroke-width:0.529167;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect1645"
|
||||
width="17.64809"
|
||||
height="22.494455"
|
||||
x="4.6634851"
|
||||
y="1.0972906" />
|
||||
<rect
|
||||
style="fill:#f0f0f0;fill-opacity:1;stroke:#000000;stroke-width:0.757358;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect1867"
|
||||
width="12.159393"
|
||||
height="1.5381837"
|
||||
x="7.1721983"
|
||||
y="0.55680102" />
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 2.7 KiB |
|
@ -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="03Edit_06Indent.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="2.8934906"
|
||||
inkscape:cx="150.33745"
|
||||
inkscape:cy="69.984675"
|
||||
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">
|
||||
<rect
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.564423;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect1721"
|
||||
width="18.072517"
|
||||
height="23.117907"
|
||||
x="8.1626968"
|
||||
y="1.5628141" />
|
||||
<g
|
||||
id="g1481"
|
||||
style="stroke:#007a9f;stroke-width:4.88030239;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
transform="matrix(0.46565683,0,0,0.90892491,-0.13644169,2.4054801)">
|
||||
<path
|
||||
style="fill:none;stroke:#007a9f;stroke-width:4.88030239;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 1.8750956,11.282903 H 21.434283"
|
||||
id="path1395" />
|
||||
<path
|
||||
style="fill:none;stroke:#007a9f;stroke-width:4.88030239;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 13.642937,4.5907513 7.791346,6.6921517 -7.791346,6.821468"
|
||||
id="path1397"
|
||||
sodipodi:nodetypes="ccc" />
|
||||
</g>
|
||||
<path
|
||||
style="fill:none;stroke:#020077;stroke-width:2.64583;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 10.626621,4.0233988 H 23.794107"
|
||||
id="path1037" />
|
||||
<path
|
||||
style="fill:none;stroke:#020077;stroke-width:2.64583;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 10.626621,22.220134 H 23.794107"
|
||||
id="path1037-7" />
|
||||
<path
|
||||
style="fill:none;stroke:#2174ff;stroke-width:2.295;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 14.062533,8.7479979 h 9.906989"
|
||||
id="path1037-7-0" />
|
||||
<path
|
||||
style="fill:none;stroke:#2174ff;stroke-width:2.295;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 14.062533,13.297181 h 9.906989"
|
||||
id="path1037-7-0-4" />
|
||||
<path
|
||||
style="fill:none;stroke:#2174ff;stroke-width:2.295;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 14.062533,17.846367 h 9.906989"
|
||||
id="path1037-7-0-1" />
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 4.1 KiB |
|
@ -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="03Edit_07Unindent.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.4467453"
|
||||
inkscape:cx="87.09204"
|
||||
inkscape:cy="88.12885"
|
||||
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">
|
||||
<rect
|
||||
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.564423;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect1721"
|
||||
width="18.072517"
|
||||
height="23.117907"
|
||||
x="8.1626968"
|
||||
y="1.5628141" />
|
||||
<g
|
||||
id="g1481"
|
||||
style="stroke:#007a9f;stroke-width:4.8803;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
transform="matrix(-0.46565683,0,0,0.90892491,12.18716,2.4054801)">
|
||||
<path
|
||||
style="fill:none;stroke:#007a9f;stroke-width:4.8803;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 1.8750956,11.282903 H 21.434283"
|
||||
id="path1395" />
|
||||
<path
|
||||
style="fill:none;stroke:#007a9f;stroke-width:4.8803;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 13.642937,4.5907513 7.791346,6.6921517 -7.791346,6.821468"
|
||||
id="path1397"
|
||||
sodipodi:nodetypes="ccc" />
|
||||
</g>
|
||||
<path
|
||||
style="fill:none;stroke:#020077;stroke-width:2.64583;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 10.626621,4.0233988 H 23.794107"
|
||||
id="path1037" />
|
||||
<path
|
||||
style="fill:none;stroke:#020077;stroke-width:2.64583;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 10.626621,22.220134 H 23.794107"
|
||||
id="path1037-7" />
|
||||
<path
|
||||
style="fill:none;stroke:#2174ff;stroke-width:2.295;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 14.062533,8.7479979 h 9.906989"
|
||||
id="path1037-7-0" />
|
||||
<path
|
||||
style="fill:none;stroke:#2174ff;stroke-width:2.295;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 14.062533,13.297181 h 9.906989"
|
||||
id="path1037-7-0-4" />
|
||||
<path
|
||||
style="fill:none;stroke:#2174ff;stroke-width:2.295;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 14.062533,17.846367 h 9.906989"
|
||||
id="path1037-7-0-1" />
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 4.1 KiB |
|
@ -1117,6 +1117,14 @@ void MainWindow::updateActionIcons()
|
|||
ui->actionClose_All->setIcon(QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_FILE_CLOSE_ALL))));
|
||||
ui->actionPrint->setIcon(QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_FILE_PRINT))));
|
||||
|
||||
ui->actionUndo->setIcon(QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_EDIT_UNDO))));
|
||||
ui->actionRedo->setIcon(QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_EDIT_REDO))));
|
||||
ui->actionCut->setIcon(QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_EDIT_CUT))));
|
||||
ui->actionCopy->setIcon(QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_EDIT_COPY))));
|
||||
ui->actionPaste->setIcon(QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_EDIT_PASTE))));
|
||||
ui->actionIndent->setIcon(QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_EDIT_INDENT))));
|
||||
ui->actionUnIndent->setIcon(QIcon(*(pIconsManager->getIcon(IconsManager::ACTION_EDIT_UNINDENT))));
|
||||
|
||||
}
|
||||
|
||||
void MainWindow::checkSyntaxInBack(Editor *e)
|
||||
|
|