]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix for icons
authorNATHALIE GORE <ng13417n@dsp0897499.atlas.edf.fr>
Thu, 29 Aug 2019 09:15:14 +0000 (11:15 +0200)
committervsv <vsv@opencascade.com>
Wed, 6 Nov 2019 08:22:45 +0000 (11:22 +0300)
src/PythonAddons/CMakeLists.txt
src/PythonAddons/macros/compoundVertices/widget.xml
src/PythonAddons/macros/importParameters/icons/paper_roll.png [deleted file]
src/PythonAddons/macros/importParameters/icons/parameters.png [new file with mode: 0644]
src/PythonAddons/macros/importParameters/widget.xml

index 4dad90f28d3c1816f5045b49ca784f04f81b969b..3597646b33b5cb3fb38ef45c28f7f999b5c27907 100644 (file)
@@ -39,6 +39,8 @@ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/addons_Features.xml DESTINATION ${SHAP
 INSTALL(FILES __init__.py DESTINATION ${SHAPER_INSTALL_ADDONS})
 INSTALL(DIRECTORY macros DESTINATION ${SHAPER_INSTALL_ADDONS})
 INSTALL(DIRECTORY macros/rectangle/icons/ DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}/icons/Addons)
+INSTALL(DIRECTORY macros/compoundVertices/icons/ DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}/icons/Addons)
+INSTALL(DIRECTORY macros/importParameters/icons/ DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}/icons/Addons)
 INSTALL(FILES ${TEXT_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
 
 INCLUDE(UnitTest)
index b79e4131c4afa6259d76214e25de3159bad89e56..738a90cbe5fc69c20bc74dbc96a05d8e35228bf8 100644 (file)
@@ -2,7 +2,7 @@
   <workbench id="Macros" document="Part">\r
     <group id="Samples">\r
 \r
-      <feature id="compoundVertices" title="Points set" icon=":icons/import.png">\r
+      <feature id="compoundVertices" title="Points set" tooltip="Import a set of construction points" icon="icons/Addons/import.png">\r
         <file_selector id="file_path" title="Import file" path="">\r
         </file_selector>\r
         <stringvalue id="separator"  label="Separator (optional): ">\r
diff --git a/src/PythonAddons/macros/importParameters/icons/paper_roll.png b/src/PythonAddons/macros/importParameters/icons/paper_roll.png
deleted file mode 100644 (file)
index fc7a124..0000000
Binary files a/src/PythonAddons/macros/importParameters/icons/paper_roll.png and /dev/null differ
diff --git a/src/PythonAddons/macros/importParameters/icons/parameters.png b/src/PythonAddons/macros/importParameters/icons/parameters.png
new file mode 100644 (file)
index 0000000..3b382b9
Binary files /dev/null and b/src/PythonAddons/macros/importParameters/icons/parameters.png differ
index 537dc2326591f26da4d41a4c617470e736b9203d..caad1409a6000fad56ca689be8d94d6ff0459660 100644 (file)
@@ -2,7 +2,7 @@
   <workbench id="Macros" document="Part">\r
     <group id="Samples">\r
 \r
-      <feature id="importParameters" title="List of Parameters" icon=":icons/paper_roll.png">\r
+      <feature id="importParameters" title="List of Parameters" tooltip="Import a set of parameters" icon="icons/Addons/parameters.png">\r
         <file_selector id="file_path" title="Import file" path="">\r
         </file_selector>\r
       </feature>\r