Skip to content

Commit

Permalink
Add SVG icons for two Part commands
Browse files Browse the repository at this point in the history
  • Loading branch information
bitacovir authored and wwmayer committed Jan 19, 2021
1 parent b5f57ed commit 9e1d765
Show file tree
Hide file tree
Showing 4 changed files with 888 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Mod/Part/Gui/Command.cpp
Expand Up @@ -1150,6 +1150,7 @@ CmdPartMakeSolid::CmdPartMakeSolid()
sToolTipText = QT_TR_NOOP("Create solid from a shell or compound");
sWhatsThis = "Part_MakeSolid";
sStatusTip = sToolTipText;
sPixmap = "Part_MakeSolid";
}

void CmdPartMakeSolid::activated(int iMsg)
Expand Down Expand Up @@ -1350,6 +1351,7 @@ CmdPartMakeFace::CmdPartMakeFace()
sToolTipText = QT_TR_NOOP("Make face from set of wires (e.g. from a sketch)");
sWhatsThis = "Part_MakeFace";
sStatusTip = sToolTipText;
sPixmap = "Part_MakeFace";
}

void CmdPartMakeFace::activated(int iMsg)
Expand Down
2 changes: 2 additions & 0 deletions src/Mod/Part/Gui/Resources/Part.qrc
Expand Up @@ -67,6 +67,8 @@
<file>icons/tools/Part_Extrude.svg</file>
<file>icons/tools/Part_Fillet.svg</file>
<file>icons/tools/Part_Loft.svg</file>
<file>icons/tools/Part_MakeFace.svg</file>
<file>icons/tools/Part_MakeSolid.svg</file>
<file>icons/tools/Part_Mirror.svg</file>
<file>icons/tools/Part_Offset.svg</file>
<file>icons/tools/Part_Offset2D.svg</file>
Expand Down
137 changes: 137 additions & 0 deletions src/Mod/Part/Gui/Resources/icons/tools/Part_MakeFace.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9e1d765

Please sign in to comment.