Icons: change ShapeString icon
This commit is contained in:
parent
e29b5e58b8
commit
c88c45cac1
|
@ -37,5 +37,6 @@
|
|||
<file>icons/Lattice2_RecomputeLocker_Unlocked.svg</file>
|
||||
<file>icons/Lattice2_RecomputeLocker_UnlockRecomputes.svg</file>
|
||||
<file>icons/Lattice2_Resample.svg</file>
|
||||
<file>icons/Lattice2_ShapeString.svg</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
|
135
PyResources/icons/Lattice2_ShapeString.svg
Normal file
135
PyResources/icons/Lattice2_ShapeString.svg
Normal file
|
@ -0,0 +1,135 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="64px"
|
||||
height="64px"
|
||||
id="svg4594"
|
||||
sodipodi:version="0.32"
|
||||
inkscape:version="0.48.4 r9939"
|
||||
sodipodi:docname="Draft_ShapeString.svg"
|
||||
inkscape:output_extension="org.inkscape.output.svg.inkscape"
|
||||
version="1.1">
|
||||
<defs
|
||||
id="defs4596">
|
||||
<inkscape:perspective
|
||||
sodipodi:type="inkscape:persp3d"
|
||||
inkscape:vp_x="0 : 32 : 1"
|
||||
inkscape:vp_y="0 : 1000 : 0"
|
||||
inkscape:vp_z="64 : 32 : 1"
|
||||
inkscape:persp3d-origin="32 : 21.333333 : 1"
|
||||
id="perspective4602" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="5.6568542"
|
||||
inkscape:cx="16.724718"
|
||||
inkscape:cy="24.831907"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="true"
|
||||
inkscape:document-units="px"
|
||||
inkscape:grid-bbox="true"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="990"
|
||||
inkscape:window-x="-11"
|
||||
inkscape:window-y="-11"
|
||||
inkscape:window-maximized="1" />
|
||||
<metadata
|
||||
id="metadata4599">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="layer1"
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer">
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
|
||||
x="15.684914"
|
||||
y="19.773684"
|
||||
id="text3097"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3099"
|
||||
x="15.684914"
|
||||
y="19.773684" /></text>
|
||||
<g
|
||||
id="g4061"
|
||||
transform="matrix(0.87169689,0,0,0.87169689,3.4066108,5.0862588)">
|
||||
<text
|
||||
transform="scale(1.2630773,0.79171719)"
|
||||
sodipodi:linespacing="125%"
|
||||
id="text3892"
|
||||
y="69.508385"
|
||||
x="5.465425"
|
||||
style="font-size:77.39546204px;font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;opacity:0.62711864;color:#000000;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:3.660676;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Times New Roman;-inkscape-font-specification:'Times New Roman, Italic'"
|
||||
xml:space="preserve"><tspan
|
||||
style="stroke-width:3.660676;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
y="69.508385"
|
||||
x="5.465425"
|
||||
id="tspan3894"
|
||||
sodipodi:role="line">S</tspan><tspan
|
||||
style="stroke-width:3.660676;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="tspan3896"
|
||||
y="166.25272"
|
||||
x="5.465425"
|
||||
sodipodi:role="line" /></text>
|
||||
<text
|
||||
inkscape:transform-center-y="17.646795"
|
||||
inkscape:transform-center-x="1.9859923"
|
||||
transform="scale(1.258685,0.79447996)"
|
||||
sodipodi:linespacing="125%"
|
||||
id="text3103"
|
||||
y="65.225639"
|
||||
x="2.1774669"
|
||||
style="font-size:80.06713104px;font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;color:#000000;fill:#ffda04;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1.80490673;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Times New Roman;-inkscape-font-specification:'Times New Roman, Italic'"
|
||||
xml:space="preserve"><tspan
|
||||
style="stroke-width:1.80490673"
|
||||
y="65.225639"
|
||||
x="2.1774669"
|
||||
id="tspan3105"
|
||||
sodipodi:role="line">S</tspan></text>
|
||||
</g>
|
||||
<g
|
||||
id="g3049"
|
||||
style="stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
transform="matrix(1.5900925,0,0,1.9960357,-5.3471577,-41.347456)">
|
||||
<path
|
||||
sodipodi:nodetypes="cccc"
|
||||
inkscape:connector-curvature="0"
|
||||
id="path3045"
|
||||
d="m 10.351377,24.493827 -5.6980057,0 0,25.925926 5.6980057,0"
|
||||
style="fill:none;stroke:#000000;stroke-width:1.12262475;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
|
||||
<use
|
||||
height="64"
|
||||
width="64"
|
||||
transform="matrix(-1,0,0,1,47.081698,0)"
|
||||
id="use3047"
|
||||
xlink:href="#path3045"
|
||||
y="0"
|
||||
x="0"
|
||||
style="stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 5.5 KiB |
112
PyResources/icons/reference/Draft_ShapeString.svg
Normal file
112
PyResources/icons/reference/Draft_ShapeString.svg
Normal file
|
@ -0,0 +1,112 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="64px"
|
||||
height="64px"
|
||||
id="svg4594"
|
||||
sodipodi:version="0.32"
|
||||
inkscape:version="0.48.3.1 r9886"
|
||||
sodipodi:docname="Draft_ShapeString.svg"
|
||||
inkscape:output_extension="org.inkscape.output.svg.inkscape"
|
||||
version="1.1">
|
||||
<defs
|
||||
id="defs4596">
|
||||
<inkscape:perspective
|
||||
sodipodi:type="inkscape:persp3d"
|
||||
inkscape:vp_x="0 : 32 : 1"
|
||||
inkscape:vp_y="0 : 1000 : 0"
|
||||
inkscape:vp_z="64 : 32 : 1"
|
||||
inkscape:persp3d-origin="32 : 21.333333 : 1"
|
||||
id="perspective4602" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="5.6568542"
|
||||
inkscape:cx="16.724718"
|
||||
inkscape:cy="24.831907"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="true"
|
||||
inkscape:document-units="px"
|
||||
inkscape:grid-bbox="true"
|
||||
inkscape:window-width="1366"
|
||||
inkscape:window-height="695"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="24"
|
||||
inkscape:window-maximized="1" />
|
||||
<metadata
|
||||
id="metadata4599">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="layer1"
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer">
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
|
||||
x="15.684914"
|
||||
y="19.773684"
|
||||
id="text3097"
|
||||
sodipodi:linespacing="125%"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3099"
|
||||
x="15.684914"
|
||||
y="19.773684" /></text>
|
||||
<g
|
||||
id="g4061">
|
||||
<text
|
||||
transform="scale(1.2630773,0.79171719)"
|
||||
sodipodi:linespacing="125%"
|
||||
id="text3892"
|
||||
y="69.508385"
|
||||
x="5.465425"
|
||||
style="font-size:77.39546203999999818px;font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;opacity:0.62711863999999995;color:#000000;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:3.191;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Times New Roman;-inkscape-font-specification:'Times New Roman, Italic'"
|
||||
xml:space="preserve"><tspan
|
||||
style="stroke-width:3.191;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
y="69.508385"
|
||||
x="5.465425"
|
||||
id="tspan3894"
|
||||
sodipodi:role="line">S</tspan><tspan
|
||||
style="stroke-width:3.191;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="tspan3896"
|
||||
y="166.25272"
|
||||
x="5.465425"
|
||||
sodipodi:role="line" /></text>
|
||||
<text
|
||||
inkscape:transform-center-y="17.646795"
|
||||
inkscape:transform-center-x="1.9859923"
|
||||
transform="scale(1.258685,0.79447996)"
|
||||
sodipodi:linespacing="125%"
|
||||
id="text3103"
|
||||
y="65.225639"
|
||||
x="2.1774669"
|
||||
style="font-size:80.06713104px;font-style:italic;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;color:#000000;fill:#ffda04;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1.57333159;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Times New Roman;-inkscape-font-specification:'Times New Roman, Italic'"
|
||||
xml:space="preserve"><tspan
|
||||
style="stroke-width:1.57333159"
|
||||
y="65.225639"
|
||||
x="2.1774669"
|
||||
id="tspan3105"
|
||||
sodipodi:role="line">S</tspan></text>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 4.6 KiB |
|
@ -231,7 +231,7 @@ class ViewProviderLatticeShapeString:
|
|||
vobj.Proxy = self
|
||||
|
||||
def getIcon(self):
|
||||
return getIconPath("Draft_ShapeString.svg")
|
||||
return getIconPath("Lattice2_ShapeString.svg")
|
||||
|
||||
def attach(self, vobj):
|
||||
self.ViewObject = vobj
|
||||
|
@ -270,7 +270,7 @@ def CreateLatticeShapeString(name):
|
|||
class _CommandLatticeShapeString:
|
||||
"Command to create LatticeShapeString feature"
|
||||
def GetResources(self):
|
||||
return {'Pixmap' : getIconPath("Draft_ShapeString.svg"),
|
||||
return {'Pixmap' : getIconPath("Lattice2_ShapeString.svg"),
|
||||
'MenuText': QtCore.QT_TRANSLATE_NOOP("Lattice2_ShapeString","ShapeString for arraying"),
|
||||
'Accel': "",
|
||||
'ToolTip': QtCore.QT_TRANSLATE_NOOP("Lattice2_ShapeString","Make strings at given placements")}
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user