From 58cf466b391d387bcbd758cd54e545cf285034e7 Mon Sep 17 00:00:00 2001 From: bitacovir Date: Tue, 5 Jan 2021 09:22:25 -0300 Subject: [PATCH] Add SVG icons for eight Std View commands --- src/Gui/CommandView.cpp | 9 +- src/Gui/Icons/Std_HideObjects.svg | 518 +++++++++++++++++++ src/Gui/Icons/Std_HideSelection.svg | 209 ++++++++ src/Gui/Icons/Std_SelectVisibleObjects.svg | 304 +++++++++++ src/Gui/Icons/Std_ShowObjects.svg | 554 +++++++++++++++++++++ src/Gui/Icons/Std_ShowSelection.svg | 223 +++++++++ src/Gui/Icons/Std_ToggleObjects.svg | 477 ++++++++++++++++++ src/Gui/Icons/Std_ToggleVisibility.svg | 172 +++++++ src/Gui/Icons/Std_ViewIvIssueCamPos.svg | 172 +++++++ src/Gui/Icons/resource.qrc | 8 + 10 files changed, 2645 insertions(+), 1 deletion(-) create mode 100644 src/Gui/Icons/Std_HideObjects.svg create mode 100644 src/Gui/Icons/Std_HideSelection.svg create mode 100644 src/Gui/Icons/Std_SelectVisibleObjects.svg create mode 100644 src/Gui/Icons/Std_ShowObjects.svg create mode 100644 src/Gui/Icons/Std_ShowSelection.svg create mode 100644 src/Gui/Icons/Std_ToggleObjects.svg create mode 100644 src/Gui/Icons/Std_ToggleVisibility.svg create mode 100644 src/Gui/Icons/Std_ViewIvIssueCamPos.svg diff --git a/src/Gui/CommandView.cpp b/src/Gui/CommandView.cpp index 61da237044..b225764910 100644 --- a/src/Gui/CommandView.cpp +++ b/src/Gui/CommandView.cpp @@ -863,6 +863,7 @@ StdCmdToggleVisibility::StdCmdToggleVisibility() sToolTipText = QT_TR_NOOP("Toggles visibility"); sStatusTip = QT_TR_NOOP("Toggles visibility"); sWhatsThis = "Std_ToggleVisibility"; + sPixmap = "Std_ToggleVisibility"; sAccel = "Space"; eType = Alter3DView; } @@ -939,6 +940,7 @@ StdCmdShowSelection::StdCmdShowSelection() sToolTipText = QT_TR_NOOP("Show all selected objects"); sStatusTip = QT_TR_NOOP("Show all selected objects"); sWhatsThis = "Std_ShowSelection"; + sPixmap = "Std_ShowSelection"; eType = Alter3DView; } @@ -966,6 +968,7 @@ StdCmdHideSelection::StdCmdHideSelection() sToolTipText = QT_TR_NOOP("Hide all selected objects"); sStatusTip = QT_TR_NOOP("Hide all selected objects"); sWhatsThis = "Std_HideSelection"; + sPixmap = "Std_HideSelection"; eType = Alter3DView; } @@ -993,6 +996,7 @@ StdCmdSelectVisibleObjects::StdCmdSelectVisibleObjects() sToolTipText = QT_TR_NOOP("Select visible objects in the active document"); sStatusTip = QT_TR_NOOP("Select visible objects in the active document"); sWhatsThis = "Std_SelectVisibleObjects"; + sPixmap = "Std_SelectVisibleObjects"; eType = Alter3DView; } @@ -1034,6 +1038,7 @@ StdCmdToggleObjects::StdCmdToggleObjects() sToolTipText = QT_TR_NOOP("Toggles visibility of all objects in the active document"); sStatusTip = QT_TR_NOOP("Toggles visibility of all objects in the active document"); sWhatsThis = "Std_ToggleObjects"; + sPixmap = "Std_ToggleObjects"; eType = Alter3DView; } @@ -1074,6 +1079,7 @@ StdCmdShowObjects::StdCmdShowObjects() sToolTipText = QT_TR_NOOP("Show all objects in the document"); sStatusTip = QT_TR_NOOP("Show all objects in the document"); sWhatsThis = "Std_ShowObjects"; + sPixmap = "Std_ShowObjects"; eType = Alter3DView; } @@ -1110,6 +1116,7 @@ StdCmdHideObjects::StdCmdHideObjects() sToolTipText = QT_TR_NOOP("Hide all objects in the document"); sStatusTip = QT_TR_NOOP("Hide all objects in the document"); sWhatsThis = "Std_HideObjects"; + sPixmap = "Std_HideObjects"; eType = Alter3DView; } @@ -2436,7 +2443,7 @@ StdCmdViewIvIssueCamPos::StdCmdViewIvIssueCamPos() sToolTipText = QT_TR_NOOP("Issue the camera position to the console and to a macro, to easily recall this position"); sWhatsThis = "Std_ViewIvIssueCamPos"; sStatusTip = QT_TR_NOOP("Issue the camera position to the console and to a macro, to easily recall this position"); - sPixmap = "Std_Tool8"; + sPixmap = "Std_ViewIvIssueCamPos"; eType = Alter3DView; } diff --git a/src/Gui/Icons/Std_HideObjects.svg b/src/Gui/Icons/Std_HideObjects.svg new file mode 100644 index 0000000000..2453750545 --- /dev/null +++ b/src/Gui/Icons/Std_HideObjects.svg @@ -0,0 +1,518 @@ + + + Std_HideObjects + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + Std_HideObjects + 2020/12/25 + + + [bitacovir] + + + + + FreeCAD LGPL2+ + + + + + FreeCAD + + + + + eye + box + page + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Gui/Icons/Std_HideSelection.svg b/src/Gui/Icons/Std_HideSelection.svg new file mode 100644 index 0000000000..08eb31a483 --- /dev/null +++ b/src/Gui/Icons/Std_HideSelection.svg @@ -0,0 +1,209 @@ + + + Std_HideSelection + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + Std_HideSelection + 2020/12/25 + + + [bitacovir] + + + + + FreeCAD LGPL2+ + + + + + FreeCAD + + + + + eye + arrow + + + + + + + + + + + + + + + + diff --git a/src/Gui/Icons/Std_SelectVisibleObjects.svg b/src/Gui/Icons/Std_SelectVisibleObjects.svg new file mode 100644 index 0000000000..5a576ed73f --- /dev/null +++ b/src/Gui/Icons/Std_SelectVisibleObjects.svg @@ -0,0 +1,304 @@ + + + Std_SelectVisibleObjects + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + Std_SelectVisibleObjects + 2020/12/25 + + + [bitacovir] + + + + + FreeCAD LGPL2+ + + + + + FreeCAD + + + + + eye + arrow + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Gui/Icons/Std_ShowObjects.svg b/src/Gui/Icons/Std_ShowObjects.svg new file mode 100644 index 0000000000..d00f63b68e --- /dev/null +++ b/src/Gui/Icons/Std_ShowObjects.svg @@ -0,0 +1,554 @@ + + + Std_ShowObjects + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + Std_ShowObjects + 2020/12/25 + + + [bitacovir] + + + + + FreeCAD LGPL2+ + + + + + FreeCAD + + + + + eye + cube + page + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Gui/Icons/Std_ShowSelection.svg b/src/Gui/Icons/Std_ShowSelection.svg new file mode 100644 index 0000000000..8282ffd0bd --- /dev/null +++ b/src/Gui/Icons/Std_ShowSelection.svg @@ -0,0 +1,223 @@ + + + Std_ShowSelection + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + Std_ShowSelection + 2020/12/25 + + + [bitacovir] + + + + + FreeCAD LGPL2+ + + + + + FreeCAD + + + + + eye + arrow + + + + + + + + + + + + + + + + + + + diff --git a/src/Gui/Icons/Std_ToggleObjects.svg b/src/Gui/Icons/Std_ToggleObjects.svg new file mode 100644 index 0000000000..79a9e81d25 --- /dev/null +++ b/src/Gui/Icons/Std_ToggleObjects.svg @@ -0,0 +1,477 @@ + + + Std_ToggleObjects + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + Std_ToggleObjects + 2020/12/25 + + + [bitacovir] + + + + + FreeCAD LGPL2+ + + + + + FreeCAD + + + + + eye + page + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Gui/Icons/Std_ToggleVisibility.svg b/src/Gui/Icons/Std_ToggleVisibility.svg new file mode 100644 index 0000000000..bd0d717f70 --- /dev/null +++ b/src/Gui/Icons/Std_ToggleVisibility.svg @@ -0,0 +1,172 @@ + + + Std_ToggleVisibility + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + Std_ToggleVisibility + + + + + + + + + + + + + diff --git a/src/Gui/Icons/Std_ViewIvIssueCamPos.svg b/src/Gui/Icons/Std_ViewIvIssueCamPos.svg new file mode 100644 index 0000000000..654c096c46 --- /dev/null +++ b/src/Gui/Icons/Std_ViewIvIssueCamPos.svg @@ -0,0 +1,172 @@ + + + Std_ViewIvIssueCamPos + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + Std_ViewIvIssueCamPos + 2020/12/10 + + + [bitacovir] + + + + + FreeCAD LGPL2+ + + + + + FreeCAD + + + http://www.freecadweb.org/wiki/index.php?title=Artwork + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Gui/Icons/resource.qrc b/src/Gui/Icons/resource.qrc index 5ce4ef6fc4..597b985081 100644 --- a/src/Gui/Icons/resource.qrc +++ b/src/Gui/Icons/resource.qrc @@ -156,6 +156,8 @@ Std_CloseActiveWindow.svg Std_CloseAllWindows.svg Std_Export.svg + Std_HideObjects.svg + Std_HideSelection.svg Std_Import.svg Std_MergeProjects.svg Std_PrintPdf.svg @@ -164,10 +166,15 @@ Std_Revert.svg Std_SaveAll.svg Std_SaveCopy.svg + Std_SelectVisibleObjects.svg Std_SetAppearance.svg + Std_ShowObjects.svg + Std_ShowSelection.svg Std_TextureMapping.svg Std_ToggleClipPlane.svg Std_ToggleNavigation.svg + Std_ToggleObjects.svg + Std_ToggleVisibility.svg Std_Tool1.svg Std_Tool2.svg Std_Tool3.svg @@ -182,6 +189,7 @@ Std_Tool12.svg Std_ViewDimetric.svg Std_ViewHome.svg + Std_ViewIvIssueCamPos.svg Std_ViewIvStereoInterleavedColumns.svg Std_ViewIvStereoInterleavedRows.svg Std_ViewIvStereoOff.svg