From f1eb1ff44e210f36fb59ac23e7547518854ade55 Mon Sep 17 00:00:00 2001 From: luz paz Date: Sun, 11 Apr 2021 08:27:03 -0400 Subject: [PATCH] [TD] Renamed `ProjectionGroup`, `Hatch`, `GeomericHatch` --- src/Mod/TechDraw/Gui/Command.cpp | 2 +- src/Mod/TechDraw/Gui/CommandDecorate.cpp | 4 ++-- src/Mod/TechDraw/Gui/Resources/TechDraw.qrc | 6 +++--- ...hdraw-GeometricHatch.svg => TechDraw_GeometricHatch.svg} | 2 +- .../actions/{techdraw-hatch.svg => TechDraw_Hatch.svg} | 4 ++-- ...raw-ProjectionGroup.svg => TechDraw_ProjectionGroup.svg} | 2 +- src/Mod/TechDraw/Gui/TaskProjGroup.cpp | 2 +- src/Mod/TechDraw/Gui/ViewProviderGeomHatch.cpp | 2 +- 8 files changed, 12 insertions(+), 12 deletions(-) rename src/Mod/TechDraw/Gui/Resources/icons/actions/{techdraw-GeometricHatch.svg => TechDraw_GeometricHatch.svg} (99%) rename src/Mod/TechDraw/Gui/Resources/icons/actions/{techdraw-hatch.svg => TechDraw_Hatch.svg} (98%) rename src/Mod/TechDraw/Gui/Resources/icons/actions/{techdraw-ProjectionGroup.svg => TechDraw_ProjectionGroup.svg} (99%) diff --git a/src/Mod/TechDraw/Gui/Command.cpp b/src/Mod/TechDraw/Gui/Command.cpp index bbe14661fb..fa73b7f491 100644 --- a/src/Mod/TechDraw/Gui/Command.cpp +++ b/src/Mod/TechDraw/Gui/Command.cpp @@ -569,7 +569,7 @@ CmdTechDrawProjectionGroup::CmdTechDrawProjectionGroup() sToolTipText = QT_TR_NOOP("Insert multiple linked views of drawable object(s)"); sWhatsThis = "TechDraw_ProjectionGroup"; sStatusTip = sToolTipText; - sPixmap = "actions/techdraw-ProjectionGroup"; + sPixmap = "actions/TechDraw_ProjectionGroup"; } void CmdTechDrawProjectionGroup::activated(int iMsg) diff --git a/src/Mod/TechDraw/Gui/CommandDecorate.cpp b/src/Mod/TechDraw/Gui/CommandDecorate.cpp index 7fe0600142..6678a98971 100644 --- a/src/Mod/TechDraw/Gui/CommandDecorate.cpp +++ b/src/Mod/TechDraw/Gui/CommandDecorate.cpp @@ -207,7 +207,7 @@ CmdTechDrawHatch::CmdTechDrawHatch() sToolTipText = sMenuText; sWhatsThis = "TechDraw_Hatch"; sStatusTip = sToolTipText; - sPixmap = "actions/techdraw-hatch"; + sPixmap = "actions/TechDraw_Hatch"; } void CmdTechDrawHatch::activated(int iMsg) @@ -328,7 +328,7 @@ CmdTechDrawGeometricHatch::CmdTechDrawGeometricHatch() sToolTipText = sMenuText; sWhatsThis = "TechDraw_GeometricHatch"; sStatusTip = sToolTipText; - sPixmap = "actions/techdraw-GeometricHatch"; + sPixmap = "actions/TechDraw_GeometricHatch"; } void CmdTechDrawGeometricHatch::activated(int iMsg) diff --git a/src/Mod/TechDraw/Gui/Resources/TechDraw.qrc b/src/Mod/TechDraw/Gui/Resources/TechDraw.qrc index 5126892fe5..fba320f926 100644 --- a/src/Mod/TechDraw/Gui/Resources/TechDraw.qrc +++ b/src/Mod/TechDraw/Gui/Resources/TechDraw.qrc @@ -48,11 +48,11 @@ icons/actions/TechDraw_ExportPageDXF.svg icons/actions/TechDraw_ExportPageSVG.svg icons/actions/TechDraw_SectionView.svg - icons/actions/techdraw-hatch.svg - icons/actions/techdraw-GeometricHatch.svg + icons/actions/TechDraw_Hatch.svg + icons/actions/TechDraw_GeometricHatch.svg icons/actions/techdraw-toggleframe.svg icons/actions/TechDraw_RedrawPage.svg - icons/actions/techdraw-ProjectionGroup.svg + icons/actions/TechDraw_ProjectionGroup.svg icons/actions/TechDraw_PageDefault.svg icons/actions/TechDraw_PageTemplate.svg icons/actions/TechDraw_SpreadsheetView.svg diff --git a/src/Mod/TechDraw/Gui/Resources/icons/actions/techdraw-GeometricHatch.svg b/src/Mod/TechDraw/Gui/Resources/icons/actions/TechDraw_GeometricHatch.svg similarity index 99% rename from src/Mod/TechDraw/Gui/Resources/icons/actions/techdraw-GeometricHatch.svg rename to src/Mod/TechDraw/Gui/Resources/icons/actions/TechDraw_GeometricHatch.svg index 4f60e3142a..6228ee8196 100644 --- a/src/Mod/TechDraw/Gui/Resources/icons/actions/techdraw-GeometricHatch.svg +++ b/src/Mod/TechDraw/Gui/Resources/icons/actions/TechDraw_GeometricHatch.svg @@ -15,7 +15,7 @@ height="64" id="svg3039" inkscape:version="0.48.4 r9939" - sodipodi:docname="techdraw-crosshatch.svg"> + sodipodi:docname="TechDraw_GeometricHatch.svg"> [WandererFan] - techdraw-hatch + TechDraw_Hatch 2016-01-14 http://www.freecadweb.org/wiki/index.php?title=Artwork @@ -19,7 +19,7 @@ FreeCAD - FreeCAD/src/Mod/TechDraw/Gui/Resources/icons/actions/techdraw-hatch.svg + FreeCAD/src/Mod/TechDraw/Gui/Resources/icons/actions/TechDraw_Hatch.svg FreeCAD LGPL2+ diff --git a/src/Mod/TechDraw/Gui/Resources/icons/actions/techdraw-ProjectionGroup.svg b/src/Mod/TechDraw/Gui/Resources/icons/actions/TechDraw_ProjectionGroup.svg similarity index 99% rename from src/Mod/TechDraw/Gui/Resources/icons/actions/techdraw-ProjectionGroup.svg rename to src/Mod/TechDraw/Gui/Resources/icons/actions/TechDraw_ProjectionGroup.svg index 8e5c47468a..b2e0c10d71 100755 --- a/src/Mod/TechDraw/Gui/Resources/icons/actions/techdraw-ProjectionGroup.svg +++ b/src/Mod/TechDraw/Gui/Resources/icons/actions/TechDraw_ProjectionGroup.svg @@ -15,7 +15,7 @@ id="svg249" sodipodi:version="0.32" inkscape:version="0.48.5 r10040" - sodipodi:docname="techdraw-projgroup.svg" + sodipodi:docname="TechDraw_ProjectionGroup.svg" inkscape:export-filename="/home/jimmac/gfx/novell/pdes/trunk/docs/BIGmime-text.png" inkscape:export-xdpi="240.00000" inkscape:export-ydpi="240.00000" diff --git a/src/Mod/TechDraw/Gui/TaskProjGroup.cpp b/src/Mod/TechDraw/Gui/TaskProjGroup.cpp index 82c96dbd42..bf6fa0cd1e 100644 --- a/src/Mod/TechDraw/Gui/TaskProjGroup.cpp +++ b/src/Mod/TechDraw/Gui/TaskProjGroup.cpp @@ -582,7 +582,7 @@ TaskDlgProjGroup::TaskDlgProjGroup(TechDraw::DrawProjGroup* featView, bool mode) { //viewProvider = dynamic_cast(featView); widget = new TaskProjGroup(featView,mode); - taskbox = new Gui::TaskView::TaskBox(Gui::BitmapFactory().pixmap("actions/techdraw-ProjectionGroup"), + taskbox = new Gui::TaskView::TaskBox(Gui::BitmapFactory().pixmap("actions/TechDraw_ProjectionGroup"), widget->windowTitle(), true, 0); taskbox->groupLayout()->addWidget(widget); Content.push_back(taskbox); diff --git a/src/Mod/TechDraw/Gui/ViewProviderGeomHatch.cpp b/src/Mod/TechDraw/Gui/ViewProviderGeomHatch.cpp index 7f8adc1165..0a05c3e48f 100644 --- a/src/Mod/TechDraw/Gui/ViewProviderGeomHatch.cpp +++ b/src/Mod/TechDraw/Gui/ViewProviderGeomHatch.cpp @@ -69,7 +69,7 @@ PROPERTY_SOURCE(TechDrawGui::ViewProviderGeomHatch, Gui::ViewProviderDocumentObj ViewProviderGeomHatch::ViewProviderGeomHatch() { - sPixmap = "actions/techdraw-GeometricHatch"; + sPixmap = "actions/TechDraw_GeometricHatch"; static const char *vgroup = "GeomHatch";