From 6d2aee2c58a1011c263c8d4c1c63dda359859227 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Tue, 14 May 2019 15:20:40 -0300 Subject: [PATCH] Draft: Updated icon for cubic bezier tool --- src/Mod/Draft/DraftTools.py | 2 +- src/Mod/Draft/Resources/Draft.qrc | 1 + .../Resources/icons/Draft_CubicBezCurve.svg | 506 ++++++++++++++++++ 3 files changed, 508 insertions(+), 1 deletion(-) create mode 100644 src/Mod/Draft/Resources/icons/Draft_CubicBezCurve.svg diff --git a/src/Mod/Draft/DraftTools.py b/src/Mod/Draft/DraftTools.py index 3f6b8da215..645cbacdcd 100644 --- a/src/Mod/Draft/DraftTools.py +++ b/src/Mod/Draft/DraftTools.py @@ -1015,7 +1015,7 @@ class CubicBezCurve(Line): self.degree = 3 def GetResources(self): - return {'Pixmap' : 'Draft_BezCurve', + return {'Pixmap' : 'Draft_CubicBezCurve', #'Accel' : "B, Z", 'MenuText': QtCore.QT_TRANSLATE_NOOP("Draft_CubicBezCurve", "CubicBezCurve"), 'ToolTip': QtCore.QT_TRANSLATE_NOOP("Draft_CubicBezCurve", "Creates a Cubic Bezier curve \nClick and drag to define control points. CTRL to snap, SHIFT to constrain")} diff --git a/src/Mod/Draft/Resources/Draft.qrc b/src/Mod/Draft/Resources/Draft.qrc index cb36272dd4..a9795556c0 100644 --- a/src/Mod/Draft/Resources/Draft.qrc +++ b/src/Mod/Draft/Resources/Draft.qrc @@ -10,6 +10,7 @@ icons/Draft_BezSharpNode.svg icons/Draft_BezTanNode.svg icons/Draft_BezSymNode.svg + icons/Draft_CubicBezCurve.svg icons/Draft_Circle.svg icons/Draft_Construction.svg icons/Draft_DelPoint.svg diff --git a/src/Mod/Draft/Resources/icons/Draft_CubicBezCurve.svg b/src/Mod/Draft/Resources/icons/Draft_CubicBezCurve.svg new file mode 100644 index 0000000000..04b71e26bb --- /dev/null +++ b/src/Mod/Draft/Resources/icons/Draft_CubicBezCurve.svg @@ -0,0 +1,506 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + Draft_BezCurve + + Fri Jan 17 12:22:46 2014 -0500 + + + [WandererFan] + + + + + FreeCAD LGPL2+ + + + + + FreeCAD + + + FreeCAD/src/Mod/Draft/Resources/icons/Draft_BezCurve.svg + http://www.freecadweb.org/wiki/index.php?title=Artwork + + + [agryson] Alexander Gryson + + + + + curve + line + dot + point + circle + square + + + A curved line in the shape of an upside down U with a poitn at each end that has a square shaped control point + + + +