Skip to content

Commit

Permalink
Add icons to menus for mesh to shape and shape to mesh
Browse files Browse the repository at this point in the history
Mesh to shape icon for the Part workbench Part menu
Shape to mesh icon for the Mesh design Workbench Meshes menu
  • Loading branch information
jmaustpc authored and yorikvanhavre committed Dec 13, 2013
1 parent 8b977de commit 47ee436
Show file tree
Hide file tree
Showing 6 changed files with 531 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/MeshPart/Gui/Command.cpp
Expand Up @@ -48,7 +48,7 @@ CmdMeshPartMesher::CmdMeshPartMesher()
sToolTipText = QT_TR_NOOP("Tessellate shape");
sWhatsThis = sToolTipText;
sStatusTip = sToolTipText;
//sPixmap = "MeshPart_Mesher";
sPixmap = "Mesh_Mesh_from_Shape.svg";
}

void CmdMeshPartMesher::activated(int iMsg)
Expand Down
1 change: 1 addition & 0 deletions src/Mod/MeshPart/Gui/Resources/MeshPart.qrc
@@ -1,6 +1,7 @@
<RCC>
<qresource>
<file>icons/actions/MeshFace.svg</file>
<file>icons/Mesh_Mesh_from_Shape.svg</file>
<file>translations/MeshPart_af.qm</file>
<file>translations/MeshPart_de.qm</file>
<file>translations/MeshPart_fi.qm</file>
Expand Down
295 changes: 295 additions & 0 deletions src/Mod/MeshPart/Gui/Resources/icons/Mesh_Mesh_from_Shape.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/Mod/Part/Gui/CommandSimple.cpp
Expand Up @@ -109,6 +109,7 @@ CmdPartShapeFromMesh::CmdPartShapeFromMesh()
sToolTipText = QT_TR_NOOP("Create shape from selected mesh object");
sWhatsThis = sToolTipText;
sStatusTip = sToolTipText;
sPixmap = "Part_Shape_from_Mesh.svg";
}

void CmdPartShapeFromMesh::activated(int iMsg)
Expand Down
1 change: 1 addition & 0 deletions src/Mod/Part/Gui/Resources/Part.qrc
Expand Up @@ -51,6 +51,7 @@
<file>icons/Tree_Part_Plane_Parametric.svg</file>
<file>icons/Tree_Part_Prism.svg</file>
<file>icons/Tree_Part_Wedge.svg</file>
<file>icons/Part_Shape_from_Mesh.svg</file>
<file>translations/Part_af.qm</file>
<file>translations/Part_de.qm</file>
<file>translations/Part_fi.qm</file>
Expand Down

0 comments on commit 47ee436

Please sign in to comment.