mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 10:32:20 +00:00
Feature/move plate to the front (#6262)
* WIP:only works after saving and then reloading * working version of move plate to the front * added icons for move to front * removed a commented line * fixed the move to front function to behave correctly with undo/redo actions * Merge branch 'main' into feature/move_plate_to_the_front
This commit is contained in:
74
resources/images/plate_move_front.svg
Normal file
74
resources/images/plate_move_front.svg
Normal file
@@ -0,0 +1,74 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="43"
|
||||
height="43"
|
||||
viewBox="0 0 43 43"
|
||||
version="1.1"
|
||||
id="svg2"
|
||||
sodipodi:docname="plate_move_front.svg"
|
||||
inkscape:version="1.3.2 (091e20e, 2023-11-25, custom)"
|
||||
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">
|
||||
<defs
|
||||
id="defs2" />
|
||||
<sodipodi:namedview
|
||||
id="namedview2"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#000000"
|
||||
borderopacity="0.25"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:zoom="22.627417"
|
||||
inkscape:cx="25.168582"
|
||||
inkscape:cy="21.588854"
|
||||
inkscape:window-width="1610"
|
||||
inkscape:window-height="1237"
|
||||
inkscape:window-x="33"
|
||||
inkscape:window-y="721"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="svg2" />
|
||||
<rect
|
||||
x="1.5"
|
||||
y="1.5"
|
||||
width="40"
|
||||
height="40"
|
||||
rx="3.5"
|
||||
style="fill:#e9e9e9;fill-opacity:1"
|
||||
id="rect1" />
|
||||
<path
|
||||
d="M38,2a3,3,0,0,1,3,3V38a3,3,0,0,1-3,3H5a3,3,0,0,1-3-3V5A3,3,0,0,1,5,2H38m0-1H5A4,4,0,0,0,1,5V38a4,4,0,0,0,4,4H38a4,4,0,0,0,4-4V5a4,4,0,0,0-4-4Z"
|
||||
style="fill:#545454"
|
||||
id="path1" />
|
||||
<line
|
||||
x1="33.471352"
|
||||
y1="6.9334393"
|
||||
x2="9.9450846"
|
||||
y2="6.9334393"
|
||||
style="fill:none;stroke:#545454;stroke-width:0.850459;stroke-linecap:round;stroke-linejoin:round"
|
||||
id="line1" />
|
||||
<line
|
||||
x1="32.300442"
|
||||
y1="18.26045"
|
||||
x2="21.987902"
|
||||
y2="8.080493"
|
||||
style="fill:none;stroke:#545454;stroke-width:0.714338;stroke-linecap:round;stroke-linejoin:round"
|
||||
id="line1-1" />
|
||||
<line
|
||||
x1="11.504755"
|
||||
y1="18.329735"
|
||||
x2="21.855713"
|
||||
y2="8.0229683"
|
||||
style="fill:none;stroke:#545454;stroke-width:0.720111;stroke-linecap:round;stroke-linejoin:round"
|
||||
id="line1-1-1" />
|
||||
<line
|
||||
x1="21.938486"
|
||||
y1="36.433311"
|
||||
x2="21.938484"
|
||||
y2="8.6247864"
|
||||
style="fill:none;stroke:#545454;stroke-width:0.623622;stroke-linecap:round;stroke-linejoin:round"
|
||||
id="line1-1-1-2" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.2 KiB |
74
resources/images/plate_move_front_dark.svg
Normal file
74
resources/images/plate_move_front_dark.svg
Normal file
@@ -0,0 +1,74 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="43"
|
||||
height="43"
|
||||
viewBox="0 0 43 43"
|
||||
version="1.1"
|
||||
id="svg2"
|
||||
sodipodi:docname="plate_close_dark.svg"
|
||||
inkscape:version="1.3.2 (091e20e, 2023-11-25, custom)"
|
||||
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">
|
||||
<defs
|
||||
id="defs2" />
|
||||
<sodipodi:namedview
|
||||
id="namedview2"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#000000"
|
||||
borderopacity="0.25"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:zoom="27.27907"
|
||||
inkscape:cx="21.5"
|
||||
inkscape:cy="21.5"
|
||||
inkscape:window-width="2560"
|
||||
inkscape:window-height="1369"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="658"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg2" />
|
||||
<rect
|
||||
x="1.5"
|
||||
y="1.5"
|
||||
width="40"
|
||||
height="40"
|
||||
rx="3.5"
|
||||
style="fill:#54545a"
|
||||
id="rect1" />
|
||||
<path
|
||||
d="M38,2a3,3,0,0,1,3,3V38a3,3,0,0,1-3,3H5a3,3,0,0,1-3-3V5A3,3,0,0,1,5,2H38m0-1H5A4,4,0,0,0,1,5V38a4,4,0,0,0,4,4H38a4,4,0,0,0,4-4V5a4,4,0,0,0-4-4Z"
|
||||
style="fill:#b3b3b3"
|
||||
id="path1" />
|
||||
<line
|
||||
x1="9.7239828"
|
||||
y1="6.5068207"
|
||||
x2="34.155807"
|
||||
y2="6.5068207"
|
||||
style="fill:none;stroke:#c4c4c4;stroke-width:0.866675;stroke-linecap:round;stroke-linejoin:round"
|
||||
id="line1" />
|
||||
<line
|
||||
x1="22.228071"
|
||||
y1="7.6491632"
|
||||
x2="22.228073"
|
||||
y2="31.964647"
|
||||
style="fill:none;stroke:#c4c4c4;stroke-linecap:round;stroke-linejoin:round"
|
||||
id="line1-2" />
|
||||
<line
|
||||
x1="22.195042"
|
||||
y1="7.4747553"
|
||||
x2="10.588115"
|
||||
y2="19.081686"
|
||||
style="fill:none;stroke:#c4c4c4;stroke-width:0.675072;stroke-linecap:round;stroke-linejoin:round"
|
||||
id="line1-2-2" />
|
||||
<line
|
||||
x1="33.868591"
|
||||
y1="19.080866"
|
||||
x2="22.261658"
|
||||
y2="7.4739408"
|
||||
style="fill:none;stroke:#c4c4c4;stroke-width:0.675072;stroke-linecap:round;stroke-linejoin:round"
|
||||
id="line1-2-2-7" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.1 KiB |
74
resources/images/plate_move_front_hover.svg
Normal file
74
resources/images/plate_move_front_hover.svg
Normal file
@@ -0,0 +1,74 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="43"
|
||||
height="43"
|
||||
viewBox="0 0 43 43"
|
||||
version="1.1"
|
||||
id="svg2"
|
||||
sodipodi:docname="plate_close.svg"
|
||||
inkscape:version="1.3.2 (091e20e, 2023-11-25, custom)"
|
||||
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">
|
||||
<defs
|
||||
id="defs2" />
|
||||
<sodipodi:namedview
|
||||
id="namedview2"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#000000"
|
||||
borderopacity="0.25"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:zoom="22.627417"
|
||||
inkscape:cx="25.168582"
|
||||
inkscape:cy="21.588854"
|
||||
inkscape:window-width="1610"
|
||||
inkscape:window-height="1237"
|
||||
inkscape:window-x="1460"
|
||||
inkscape:window-y="754"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="svg2" />
|
||||
<rect
|
||||
x="1.5"
|
||||
y="1.5"
|
||||
width="40"
|
||||
height="40"
|
||||
rx="3.5"
|
||||
style="fill:#e9e9e9;fill-opacity:1"
|
||||
id="rect1" />
|
||||
<path
|
||||
d="M38,2a3,3,0,0,1,3,3V38a3,3,0,0,1-3,3H5a3,3,0,0,1-3-3V5A3,3,0,0,1,5,2H38m0-1H5A4,4,0,0,0,1,5V38a4,4,0,0,0,4,4H38a4,4,0,0,0,4-4V5a4,4,0,0,0-4-4Z"
|
||||
style="fill:#009688"
|
||||
id="path1" />
|
||||
<line
|
||||
x1="33.471352"
|
||||
y1="6.9334393"
|
||||
x2="9.9450846"
|
||||
y2="6.9334393"
|
||||
style="fill:none;stroke:#009688;stroke-width:0.850459;stroke-linecap:round;stroke-linejoin:round"
|
||||
id="line1" />
|
||||
<line
|
||||
x1="32.300442"
|
||||
y1="18.26045"
|
||||
x2="21.987902"
|
||||
y2="8.080493"
|
||||
style="fill:none;stroke:#009688;stroke-width:0.714338;stroke-linecap:round;stroke-linejoin:round"
|
||||
id="line1-1" />
|
||||
<line
|
||||
x1="11.504755"
|
||||
y1="18.329735"
|
||||
x2="21.855713"
|
||||
y2="8.0229683"
|
||||
style="fill:none;stroke:#009688;stroke-width:0.720111;stroke-linecap:round;stroke-linejoin:round"
|
||||
id="line1-1-1" />
|
||||
<line
|
||||
x1="21.938486"
|
||||
y1="36.433311"
|
||||
x2="21.938484"
|
||||
y2="8.6247864"
|
||||
style="fill:none;stroke:#009688;stroke-width:0.623622;stroke-linecap:round;stroke-linejoin:round"
|
||||
id="line1-1-1-2" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.2 KiB |
74
resources/images/plate_move_front_hover_dark.svg
Normal file
74
resources/images/plate_move_front_hover_dark.svg
Normal file
@@ -0,0 +1,74 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="43"
|
||||
height="43"
|
||||
viewBox="0 0 43 43"
|
||||
version="1.1"
|
||||
id="svg2"
|
||||
sodipodi:docname="plate_move_front_hover_dark.svg"
|
||||
inkscape:version="1.3.2 (091e20e, 2023-11-25, custom)"
|
||||
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">
|
||||
<defs
|
||||
id="defs2" />
|
||||
<sodipodi:namedview
|
||||
id="namedview2"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#000000"
|
||||
borderopacity="0.25"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:zoom="19.289215"
|
||||
inkscape:cx="20.555528"
|
||||
inkscape:cy="24.85845"
|
||||
inkscape:window-width="1350"
|
||||
inkscape:window-height="1237"
|
||||
inkscape:window-x="36"
|
||||
inkscape:window-y="759"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:current-layer="svg2" />
|
||||
<rect
|
||||
x="1.5"
|
||||
y="1.5"
|
||||
width="40"
|
||||
height="40"
|
||||
rx="3.5"
|
||||
style="fill:#54545a"
|
||||
id="rect1" />
|
||||
<path
|
||||
d="M38,2a3,3,0,0,1,3,3V38a3,3,0,0,1-3,3H5a3,3,0,0,1-3-3V5A3,3,0,0,1,5,2H38m0-1H5A4,4,0,0,0,1,5V38a4,4,0,0,0,4,4H38a4,4,0,0,0,4-4V5a4,4,0,0,0-4-4Z"
|
||||
style="fill:#009688"
|
||||
id="path1" />
|
||||
<line
|
||||
x1="9.7239828"
|
||||
y1="6.5068207"
|
||||
x2="34.155807"
|
||||
y2="6.5068207"
|
||||
style="fill:none;stroke:#009688;stroke-width:0.866675;stroke-linecap:round;stroke-linejoin:round"
|
||||
id="line1" />
|
||||
<line
|
||||
x1="22.228071"
|
||||
y1="7.6491632"
|
||||
x2="22.228073"
|
||||
y2="31.964647"
|
||||
style="fill:none;stroke:#009688;stroke-linecap:round;stroke-linejoin:round"
|
||||
id="line1-2" />
|
||||
<line
|
||||
x1="22.195042"
|
||||
y1="7.4747553"
|
||||
x2="10.588115"
|
||||
y2="19.081686"
|
||||
style="fill:none;stroke:#009688;stroke-width:0.675072;stroke-linecap:round;stroke-linejoin:round"
|
||||
id="line1-2-2" />
|
||||
<line
|
||||
x1="33.868591"
|
||||
y1="19.080866"
|
||||
x2="22.261658"
|
||||
y2="7.4739408"
|
||||
style="fill:none;stroke:#009688;stroke-width:0.675072;stroke-linecap:round;stroke-linejoin:round"
|
||||
id="line1-2-2-7" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.2 KiB |
Reference in New Issue
Block a user