Skip to content

Commit

Permalink
Sketcher: new icons for two existing commands
Browse files Browse the repository at this point in the history
New SVG icons, `Sketcher_DeleteConstraints`, `Sketcher_DeleteGeometry`
for two commands which previously used the very simple icon
`Element_SelectionTypeInvalid` (a single red X).

These icons clarify that the commands are used to delete
the constraints and the geometry, respectively.
  • Loading branch information
vocx-fc authored and yorikvanhavre committed Oct 1, 2020
1 parent 7b4cd6c commit 3f2ea25
Show file tree
Hide file tree
Showing 4 changed files with 1,213 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mod/Sketcher/Gui/CommandSketcherTools.cpp
Expand Up @@ -1944,7 +1944,7 @@ CmdSketcherDeleteAllGeometry::CmdSketcherDeleteAllGeometry()
sToolTipText = QT_TR_NOOP("Deletes all the geometry and constraints but external geometry");
sWhatsThis = "Sketcher_DeleteAllGeometry";
sStatusTip = sToolTipText;
sPixmap = "Sketcher_Element_SelectionTypeInvalid";
sPixmap = "Sketcher_DeleteGeometry";
sAccel = "";
eType = ForEdit;
}
Expand Down Expand Up @@ -2007,7 +2007,7 @@ CmdSketcherDeleteAllConstraints::CmdSketcherDeleteAllConstraints()
sToolTipText = QT_TR_NOOP("Deletes all the constraints");
sWhatsThis = "Sketcher_DeleteAllConstraints";
sStatusTip = sToolTipText;
sPixmap = "Sketcher_Element_SelectionTypeInvalid";
sPixmap = "Sketcher_DeleteConstraints";
sAccel = "";
eType = ForEdit;
}
Expand Down
2 changes: 2 additions & 0 deletions src/Mod/Sketcher/Gui/Resources/Sketcher.qrc
Expand Up @@ -239,6 +239,8 @@
<file>icons/tools/Sketcher_CloseShape.svg</file>
<file>icons/tools/Sketcher_ConnectLines.svg</file>
<file>icons/tools/Sketcher_Copy.svg</file>
<file>icons/tools/Sketcher_DeleteConstraints.svg</file>
<file>icons/tools/Sketcher_DeleteGeometry.svg</file>
<file>icons/tools/Sketcher_Move.svg</file>
<file>icons/tools/Sketcher_RectangularArray.svg</file>
<file>icons/tools/Sketcher_SelectConflictingConstraints.svg</file>
Expand Down

0 comments on commit 3f2ea25

Please sign in to comment.