<qresource>
<file>icons/activate.png</file>
<file>icons/angle_32x32.png</file>
- <file>icons/box.png</file>
- <file>icons/box_2pt_32x32.png</file>
- <file>icons/box_dxyz_32x32.png</file>
<file>icons/color.png</file>
<file>icons/deactivate.png</file>
<file>icons/edit.png</file>
INSTALL(TARGETS PrimitivesPlugin DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES})
INSTALL(FILES ${XML_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
+INSTALL(DIRECTORY icons/ DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}/icons/Primitives)
ADD_UNIT_TESTS(UnitTestBox.py
UseTestBox.py)
\ No newline at end of file
<source>
<toolbox id="CreationMethod">
- <box id="BoxByDimensions" title="By dimensions" icon=":icons/box_dxyz_32x32.png">
+ <box id="BoxByDimensions" title="By dimensions" icon="icons/Primitives/box_dxyz_32x32.png">
<doublevalue
id="dx"
label="DX"
tooltip="Dimension in Z">
</doublevalue>
</box>
- <box id="BoxByTwoPoints" title="By two points" icon=":icons/box_2pt_32x32.png">
+ <box id="BoxByTwoPoints" title="By two points" icon="icons/Primitives/box_2pt_32x32.png">
<shape_selector id="FirstPoint"
label="First point"
- icon=":icons/point.png"
+ icon="icons/Primitives/point.png"
tooltip="Select a first point"
shape_types="vertex">
<validator id="GeomValidators_ShapeType" parameters="vertex"/>
</shape_selector>
<shape_selector id="SecondPoint"
label="Second point"
- icon=":icons/point.png"
+ icon="icons/Primitives/point.png"
tooltip="Select a second point"
shape_types="vertex">
<validator id="GeomValidators_ShapeType" parameters="vertex"/>
<plugin>
<workbench id="Primitives" document="Part">
<group id="Primitives">
- <feature id="Box" title="Create a box" tooltip="Create a box" icon=":icons/box.png">
+ <feature id="Box" title="Create a box" tooltip="Create a box" icon="icons/Primitives/box.png">
<source path="box_widget.xml"/>
</feature>
</group>