From 978978f7dd1814083d7b9c9fc4267dba25f58a80 Mon Sep 17 00:00:00 2001 From: triplus Date: Sat, 18 Feb 2017 01:39:11 +0100 Subject: [PATCH] Navigation indicator for FreeCAD --- CMakeLists.txt | 1 + src/Mod/CMakeLists.txt | 3 + src/Mod/Tux/CMakeLists.txt | 31 ++ src/Mod/Tux/InitGui.py | 26 ++ src/Mod/Tux/NavigationIndicatorGui.py | 439 ++++++++++++++++++ src/Mod/Tux/Resources/Tux.qrc | 69 +++ .../Tux/Resources/icons/NavigationBlender.svg | 27 ++ .../Resources/icons/NavigationBlender_Pan.svg | 39 ++ .../icons/NavigationBlender_PanAlt.svg | 28 ++ .../icons/NavigationBlender_Rotate.svg | 26 ++ .../icons/NavigationBlender_Select.svg | 28 ++ .../icons/NavigationBlender_Zoom.svg | 31 ++ src/Mod/Tux/Resources/icons/NavigationCAD.svg | 17 + .../Tux/Resources/icons/NavigationCADAlt.svg | 16 + .../Tux/Resources/icons/NavigationCAD_Pan.svg | 26 ++ .../Resources/icons/NavigationCAD_Rotate.svg | 34 ++ .../icons/NavigationCAD_RotateAlt.svg | 34 ++ .../Resources/icons/NavigationCAD_Select.svg | 28 ++ .../Resources/icons/NavigationCAD_Zoom.svg | 31 ++ .../Tux/Resources/icons/NavigationGesture.svg | 22 + .../Resources/icons/NavigationGesture_Pan.svg | 28 ++ .../icons/NavigationGesture_PanTouch.svg | 46 ++ .../icons/NavigationGesture_PanTouchAlt.svg | 59 +++ .../icons/NavigationGesture_Rotate.svg | 48 ++ .../icons/NavigationGesture_RotateAlt.svg | 39 ++ .../icons/NavigationGesture_RotateTouch.svg | 41 ++ .../icons/NavigationGesture_Select.svg | 28 ++ .../icons/NavigationGesture_SelectTouch.svg | 26 ++ .../icons/NavigationGesture_Tilt.svg | 28 ++ .../icons/NavigationGesture_TiltTouch.svg | 62 +++ .../icons/NavigationGesture_Zoom.svg | 31 ++ .../icons/NavigationGesture_ZoomTouch.svg | 58 +++ .../Resources/icons/NavigationMayaGesture.svg | 18 + .../icons/NavigationMayaGesture_Pan.svg | 37 ++ .../icons/NavigationMayaGesture_PanTouch.svg | 46 ++ .../NavigationMayaGesture_PanTouchAlt.svg | 59 +++ .../icons/NavigationMayaGesture_Rotate.svg | 39 ++ .../NavigationMayaGesture_RotateTouch.svg | 41 ++ .../icons/NavigationMayaGesture_Select.svg | 28 ++ .../NavigationMayaGesture_SelectTouch.svg | 26 ++ .../icons/NavigationMayaGesture_Tilt.svg | 39 ++ .../icons/NavigationMayaGesture_TiltTouch.svg | 62 +++ .../icons/NavigationMayaGesture_Zoom.svg | 31 ++ .../icons/NavigationMayaGesture_ZoomAlt.svg | 39 ++ .../icons/NavigationMayaGesture_ZoomTouch.svg | 58 +++ .../Resources/icons/NavigationOpenCascade.svg | 18 + .../icons/NavigationOpenCascade_Pan.svg | 36 ++ .../icons/NavigationOpenCascade_PanAlt.svg | 26 ++ .../icons/NavigationOpenCascade_Rotate.svg | 38 ++ .../icons/NavigationOpenCascade_Select.svg | 28 ++ .../icons/NavigationOpenCascade_Zoom.svg | 31 ++ .../icons/NavigationOpenCascade_ZoomAlt.svg | 38 ++ .../icons/NavigationOpenInventor.svg | 19 + .../icons/NavigationOpenInventor_Pan.svg | 26 ++ .../icons/NavigationOpenInventor_Rotate.svg | 28 ++ .../icons/NavigationOpenInventor_Select.svg | 39 ++ .../icons/NavigationOpenInventor_Zoom.svg | 31 ++ .../icons/NavigationOpenInventor_ZoomAlt.svg | 34 ++ .../Resources/icons/NavigationTouchpad.svg | 18 + .../icons/NavigationTouchpad_Pan.svg | 61 +++ .../icons/NavigationTouchpad_PanTouch.svg | 61 +++ .../icons/NavigationTouchpad_Rotate.svg | 57 +++ .../icons/NavigationTouchpad_RotateAlt.svg | 41 ++ .../icons/NavigationTouchpad_RotateTouch.svg | 57 +++ .../NavigationTouchpad_RotateTouchAlt.svg | 59 +++ .../icons/NavigationTouchpad_Select.svg | 28 ++ .../icons/NavigationTouchpad_SelectTouch.svg | 25 + .../icons/NavigationTouchpad_Zoom.svg | 31 ++ .../icons/NavigationTouchpad_ZoomAlt.svg | 51 ++ .../icons/NavigationTouchpad_ZoomTouch.svg | 49 ++ .../Resources/icons/NavigationUndefined.svg | 17 + 71 files changed, 2920 insertions(+) create mode 100644 src/Mod/Tux/CMakeLists.txt create mode 100644 src/Mod/Tux/InitGui.py create mode 100644 src/Mod/Tux/NavigationIndicatorGui.py create mode 100644 src/Mod/Tux/Resources/Tux.qrc create mode 100644 src/Mod/Tux/Resources/icons/NavigationBlender.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationBlender_Pan.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationBlender_PanAlt.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationBlender_Rotate.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationBlender_Select.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationBlender_Zoom.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationCAD.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationCADAlt.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationCAD_Pan.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationCAD_Rotate.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationCAD_RotateAlt.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationCAD_Select.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationCAD_Zoom.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationGesture.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationGesture_Pan.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationGesture_PanTouch.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationGesture_PanTouchAlt.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationGesture_Rotate.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationGesture_RotateAlt.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationGesture_RotateTouch.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationGesture_Select.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationGesture_SelectTouch.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationGesture_Tilt.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationGesture_TiltTouch.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationGesture_Zoom.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationGesture_ZoomTouch.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationMayaGesture.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationMayaGesture_Pan.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationMayaGesture_PanTouch.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationMayaGesture_PanTouchAlt.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationMayaGesture_Rotate.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationMayaGesture_RotateTouch.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationMayaGesture_Select.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationMayaGesture_SelectTouch.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationMayaGesture_Tilt.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationMayaGesture_TiltTouch.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationMayaGesture_Zoom.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationMayaGesture_ZoomAlt.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationMayaGesture_ZoomTouch.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationOpenCascade.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationOpenCascade_Pan.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationOpenCascade_PanAlt.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationOpenCascade_Rotate.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationOpenCascade_Select.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationOpenCascade_Zoom.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationOpenCascade_ZoomAlt.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationOpenInventor.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationOpenInventor_Pan.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationOpenInventor_Rotate.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationOpenInventor_Select.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationOpenInventor_Zoom.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationOpenInventor_ZoomAlt.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationTouchpad.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationTouchpad_Pan.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationTouchpad_PanTouch.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationTouchpad_Rotate.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationTouchpad_RotateAlt.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationTouchpad_RotateTouch.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationTouchpad_RotateTouchAlt.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationTouchpad_Select.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationTouchpad_SelectTouch.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationTouchpad_Zoom.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationTouchpad_ZoomAlt.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationTouchpad_ZoomTouch.svg create mode 100644 src/Mod/Tux/Resources/icons/NavigationUndefined.svg diff --git a/CMakeLists.txt b/CMakeLists.txt index dc4a09841efa..0a3ba6de201d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -231,6 +231,7 @@ OPTION(BUILD_SPREADSHEET "Build the FreeCAD spreadsheet module" ON) OPTION(BUILD_START "Build the FreeCAD start module" ON) OPTION(BUILD_TEST "Build the FreeCAD test module" ON) OPTION(BUILD_TECHDRAW "Build the FreeCAD Technical Drawing module" ON) +OPTION(BUILD_TUX "Build the FreeCAD Tux module" ON) OPTION(BUILD_WEB "Build the FreeCAD web module" ON) OPTION(BUILD_VR "Build the FreeCAD Oculus Rift support (need Oculus SDK 4.x or higher)" OFF) diff --git a/src/Mod/CMakeLists.txt b/src/Mod/CMakeLists.txt index 8a1f81aa352a..01f45368f2dd 100644 --- a/src/Mod/CMakeLists.txt +++ b/src/Mod/CMakeLists.txt @@ -139,3 +139,6 @@ if(BUILD_ADDONMGR) add_subdirectory(AddonManager) endif(BUILD_ADDONMGR) +if(BUILD_TUX) + add_subdirectory(Tux) +endif(BUILD_TUX) diff --git a/src/Mod/Tux/CMakeLists.txt b/src/Mod/Tux/CMakeLists.txt new file mode 100644 index 000000000000..73f2993bd65a --- /dev/null +++ b/src/Mod/Tux/CMakeLists.txt @@ -0,0 +1,31 @@ +IF (BUILD_GUI) + PYSIDE_WRAP_RC(Tux_QRC_SRCS Resources/Tux.qrc) +ENDIF (BUILD_GUI) + +SET(Tux_SRCS + InitGui.py + NavigationIndicatorGui.py +) +SOURCE_GROUP("" FILES ${Tux_SRCS}) + +ADD_CUSTOM_TARGET(Tux ALL + SOURCES ${Tux_SRCS} ${Tux_QRC_SRCS} +) + +fc_copy_sources(Tux "${CMAKE_BINARY_DIR}/Mod/Tux" ${Tux_SRCS}) + +IF (BUILD_GUI) + fc_target_copy_resource(Tux + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR}/Mod/Tux + Tux_rc.py) +ENDIF (BUILD_GUI) + +INSTALL( + FILES + ${Tux_SRCS} + ${Tux_QRC_SRCS} + DESTINATION + Mod/Tux +) + diff --git a/src/Mod/Tux/InitGui.py b/src/Mod/Tux/InitGui.py new file mode 100644 index 000000000000..6a4518c3c7a8 --- /dev/null +++ b/src/Mod/Tux/InitGui.py @@ -0,0 +1,26 @@ +# Tux module for FreeCAD +# Copyright (C) 2017 triplus @ FreeCAD +# +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +"""Tux module for FreeCAD.""" + +p = FreeCAD.ParamGet("User parameter:Tux") + +if p.GetGroup("NavigationIndicator").GetBool("Enabled", 1): + import NavigationIndicatorGui +else: + pass diff --git a/src/Mod/Tux/NavigationIndicatorGui.py b/src/Mod/Tux/NavigationIndicatorGui.py new file mode 100644 index 000000000000..83d3a2f8ba3f --- /dev/null +++ b/src/Mod/Tux/NavigationIndicatorGui.py @@ -0,0 +1,439 @@ +# Navigation indicator for FreeCAD +# Copyright (C) 2016, 2017 triplus @ FreeCAD +# +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +"""Navigation indicator for FreeCAD.""" + +import Tux_rc +import FreeCAD as App +import FreeCADGui as Gui +from PySide import QtGui +from PySide import QtCore + +timer = QtCore.QTimer() +mw = Gui.getMainWindow() +statusBar = mw.statusBar() +p = App.ParamGet("User parameter:Tux/NavigationIndicator") +pView = App.ParamGet("User parameter:BaseApp/Preferences/View") + +t0 = "Navigation style not recognized." + +t1 = str("""

OpenInventor navigation style

+ + + + + + + + + + + + + + + +
SelectZoomZoomRotatePan
""") + +t2 = str("""

CAD navigation style

+ + + + + + + + + + + + + + + +
SelectZoomRotateRotatePan
""") + +t3 = str("""

Blender navigation style

+ + + + + + + + + + + + + + + +
SelectZoomRotatePanPan
""") + +t4 = str("""

MayaGesture navigation style

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SelectZoomZoomRotatePanTilt
SelectZoomRotatePanPanTilt
+

Zoom: Page Up or Page Down key.
+Rotation focus: Middle mouse button or key H.

""") + +t5 = str("""

Touchpad navigation style

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SelectZoomZoomRotateRotatePan
SelectZoomRotateRotatePan
+

Zoom: Page Up or Page Down key.

""") + +t6 = str("""

Gesture navigation style

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
SelectZoomRotateRotatePanTilt
SelectZoomRotatePanPanTilt
+

Zoom: Page Up or Page Down key.
+Rotation focus: Middle mouse button or key H.

""") + +t7 = str("""

OpenCascade navigation style

+ + + + + + + + + + + + + + + + + +
SelectZoomZoomRotatePanPan
""") + +indicator = QtGui.QToolButton(statusBar) +indicator.setAutoRaise(True) +indicator.setObjectName("Std_NavigationIndicator") +indicator.setToolButtonStyle(QtCore.Qt.ToolButtonTextBesideIcon) +indicator.setPopupMode(QtGui.QToolButton + .ToolButtonPopupMode + .InstantPopup) + +menu = QtGui.QMenu(indicator) +indicator.setMenu(menu) + +menuSettings = QtGui.QMenu("Settings", menu) +menuOrbit = QtGui.QMenu("Orbit style", menu) + +aCompact = QtGui.QAction(menuSettings) +aCompact.setText("Compact") +aCompact.setCheckable(True) +aTooltip = QtGui.QAction(menuSettings) +aTooltip.setText("Tooltip") +aTooltip.setCheckable(True) + +gOrbit = QtGui.QActionGroup(menuSettings) + +aTurntable = QtGui.QAction(gOrbit) +aTurntable.setText("Turntable") +aTurntable.setCheckable(True) +aTrackball = QtGui.QAction(gOrbit) +aTrackball.setText("Trackball") +aTrackball.setCheckable(True) + +menuOrbit.addAction(aTurntable) +menuOrbit.addAction(aTrackball) + +menuSettings.addMenu(menuOrbit) +menuSettings.addSeparator() +menuSettings.addAction(aCompact) +menuSettings.addAction(aTooltip) + +gStyle = QtGui.QActionGroup(menu) + +a0 = QtGui.QAction(gStyle) +a0.setIcon(QtGui.QIcon(":/icons/NavigationUndefined.svg")) +a0.setText("Undefined") +a0.setData("Undefined") +a0.setObjectName("Indicator_NavigationUndefined") + +a1 = QtGui.QAction(gStyle) +a1.setIcon(QtGui.QIcon(":/icons/NavigationOpenInventor.svg")) +a1.setText("OpenInventor") +a1.setData("Gui::InventorNavigationStyle") +a1.setObjectName("Indicator_NavigationOpenInventor") + +a2 = QtGui.QAction(gStyle) +a2.setIcon(QtGui.QIcon(':/icons/NavigationCAD.svg')) +a2.setText("CAD") +a2.setData("Gui::CADNavigationStyle") +a2.setObjectName("Indicator_NavigationCAD") + +a3 = QtGui.QAction(gStyle) +a3.setIcon(QtGui.QIcon(":/icons/NavigationBlender.svg")) +a3.setText("Blender") +a3.setData("Gui::BlenderNavigationStyle") +a3.setObjectName("Indicator_NavigationBlender") + +a4 = QtGui.QAction(gStyle) +a4.setIcon(QtGui.QIcon(":/icons/NavigationMayaGesture.svg")) +a4.setText("MayaGesture") +a4.setData("Gui::MayaGestureNavigationStyle") +a4.setObjectName("Indicator_NavigationMayaGesture") + +a5 = QtGui.QAction(gStyle) +a5.setIcon(QtGui.QIcon(":/icons/NavigationTouchpad.svg")) +a5.setText("Touchpad") +a5.setData("Gui::TouchpadNavigationStyle") +a5.setObjectName("Indicator_NavigationTouchpad") + +a6 = QtGui.QAction(gStyle) +a6.setIcon(QtGui.QIcon(":/icons/NavigationGesture.svg")) +a6.setText("Gesture") +a6.setData("Gui::GestureNavigationStyle") +a6.setObjectName("Indicator_NavigationGesture") + +a7 = QtGui.QAction(gStyle) +a7.setIcon(QtGui.QIcon(":/icons/NavigationOpenCascade.svg")) +a7.setText("OpenCascade") +a7.setData("Gui::OpenCascadeNavigationStyle") +a7.setObjectName("Indicator_NavigationOpenCascade") + +menu.addMenu(menuSettings) +menu.addSeparator() +menu.addAction(a0) +menu.addAction(a1) +menu.addAction(a2) +menu.addAction(a3) +menu.addAction(a4) +menu.addAction(a5) +menu.addAction(a6) +menu.addAction(a7) + + +def onCompact(): + """Enable or disable compact mode.""" + if aCompact.isChecked(): + indicator.setToolButtonStyle(QtCore.Qt.ToolButtonIconOnly) + indicator.setStyleSheet("QToolButton::menu-indicator {image: none}") + p.SetBool("Compact", 1) + else: + indicator.setToolButtonStyle(QtCore.Qt.ToolButtonTextBesideIcon) + indicator.setStyleSheet("QToolButton::menu-indicator {}") + p.SetBool("Compact", 0) + + +def onTooltip(): + """Enable or disable verbose tooltips.""" + if aTooltip.isChecked(): + a0.setToolTip(t0) + a1.setToolTip(t1) + a2.setToolTip(t2) + a3.setToolTip(t3) + a4.setToolTip(t4) + a5.setToolTip(t5) + a6.setToolTip(t6) + a7.setToolTip(t7) + p.SetBool("Tooltip", 1) + else: + for i in gStyle.actions(): + i.setToolTip("") + p.SetBool("Tooltip", 0) + + +def onOrbit(): + """Use turntable or trackball orbit style.""" + if aTurntable.isChecked(): + pView.SetInt("OrbitStyle", 1) + else: + pView.SetInt("OrbitStyle", 0) + + +def onMenu(action): + """Set navigation style on selection.""" + + s = False + + if action.data() != "Undefined": + s = True + menu.setDefaultAction(action) + indicator.setDefaultAction(action) + pView.SetString("NavigationStyle", action.data()) + else: + pass + + if s: + a0.setVisible(False) + else: + a0.setVisible(True) + a0.setEnabled(True) + menu.setDefaultAction(a0) + indicator.setDefaultAction(a0) + + +def setCurrent(): + """Set navigation style on start and on interval.""" + + gStyle.blockSignals(True) + + s = False + actions = gStyle.actions() + current = pView.GetString("NavigationStyle") + + if current: + for i in actions: + if i.data() == current: + s = True + menu.setDefaultAction(i) + indicator.setDefaultAction(i) + else: + pass + else: + s = True + menu.setDefaultAction(a2) + indicator.setDefaultAction(a2) + pView.SetString("NavigationStyle", a2.data()) + + if s: + a0.setVisible(False) + else: + a0.setVisible(True) + a0.setEnabled(True) + menu.setDefaultAction(a0) + indicator.setDefaultAction(a0) + + gStyle.blockSignals(False) + +if p.GetBool("Compact"): + aCompact.setChecked(True) + +if p.GetBool("Tooltip", 1): + aTooltip.setChecked(True) + +if pView.GetInt("OrbitStyle", 1): + aTurntable.setChecked(True) +else: + aTrackball.setChecked(True) + +onCompact() +onTooltip() +onOrbit() + +statusBar.addPermanentWidget(indicator) +statusBar.addPermanentWidget(statusBar.children()[2]) + +setCurrent() + +gStyle.triggered.connect(onMenu) +gOrbit.triggered.connect(onOrbit) +aCompact.triggered.connect(onCompact) +aTooltip.triggered.connect(onTooltip) + +timer.timeout.connect(setCurrent) +timer.start(10000) diff --git a/src/Mod/Tux/Resources/Tux.qrc b/src/Mod/Tux/Resources/Tux.qrc new file mode 100644 index 000000000000..5433a7c01591 --- /dev/null +++ b/src/Mod/Tux/Resources/Tux.qrc @@ -0,0 +1,69 @@ + + + icons/NavigationBlender_PanAlt.svg + icons/NavigationBlender_Pan.svg + icons/NavigationBlender_Rotate.svg + icons/NavigationBlender_Select.svg + icons/NavigationBlender.svg + icons/NavigationBlender_Zoom.svg + icons/NavigationCADAlt.svg + icons/NavigationCAD_Pan.svg + icons/NavigationCAD_RotateAlt.svg + icons/NavigationCAD_Rotate.svg + icons/NavigationCAD_Select.svg + icons/NavigationCAD.svg + icons/NavigationCAD_Zoom.svg + icons/NavigationGesture_Pan.svg + icons/NavigationGesture_PanTouchAlt.svg + icons/NavigationGesture_PanTouch.svg + icons/NavigationGesture_RotateAlt.svg + icons/NavigationGesture_Rotate.svg + icons/NavigationGesture_RotateTouch.svg + icons/NavigationGesture_Select.svg + icons/NavigationGesture_SelectTouch.svg + icons/NavigationGesture.svg + icons/NavigationGesture_Tilt.svg + icons/NavigationGesture_TiltTouch.svg + icons/NavigationGesture_Zoom.svg + icons/NavigationGesture_ZoomTouch.svg + icons/NavigationMayaGesture_Pan.svg + icons/NavigationMayaGesture_PanTouchAlt.svg + icons/NavigationMayaGesture_PanTouch.svg + icons/NavigationMayaGesture_Rotate.svg + icons/NavigationMayaGesture_RotateTouch.svg + icons/NavigationMayaGesture_Select.svg + icons/NavigationMayaGesture_SelectTouch.svg + icons/NavigationMayaGesture.svg + icons/NavigationMayaGesture_Tilt.svg + icons/NavigationMayaGesture_TiltTouch.svg + icons/NavigationMayaGesture_ZoomAlt.svg + icons/NavigationMayaGesture_Zoom.svg + icons/NavigationMayaGesture_ZoomTouch.svg + icons/NavigationOpenCascade_PanAlt.svg + icons/NavigationOpenCascade_Pan.svg + icons/NavigationOpenCascade_Rotate.svg + icons/NavigationOpenCascade_Select.svg + icons/NavigationOpenCascade.svg + icons/NavigationOpenCascade_ZoomAlt.svg + icons/NavigationOpenCascade_Zoom.svg + icons/NavigationOpenInventor_Pan.svg + icons/NavigationOpenInventor_Rotate.svg + icons/NavigationOpenInventor_Select.svg + icons/NavigationOpenInventor.svg + icons/NavigationOpenInventor_ZoomAlt.svg + icons/NavigationOpenInventor_Zoom.svg + icons/NavigationTouchpad_Pan.svg + icons/NavigationTouchpad_PanTouch.svg + icons/NavigationTouchpad_RotateAlt.svg + icons/NavigationTouchpad_Rotate.svg + icons/NavigationTouchpad_RotateTouchAlt.svg + icons/NavigationTouchpad_RotateTouch.svg + icons/NavigationTouchpad_Select.svg + icons/NavigationTouchpad_SelectTouch.svg + icons/NavigationTouchpad.svg + icons/NavigationTouchpad_ZoomAlt.svg + icons/NavigationTouchpad_Zoom.svg + icons/NavigationTouchpad_ZoomTouch.svg + icons/NavigationUndefined.svg + + diff --git a/src/Mod/Tux/Resources/icons/NavigationBlender.svg b/src/Mod/Tux/Resources/icons/NavigationBlender.svg new file mode 100644 index 000000000000..900083f11903 --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationBlender.svg @@ -0,0 +1,27 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationBlender_Pan.svg b/src/Mod/Tux/Resources/icons/NavigationBlender_Pan.svg new file mode 100644 index 000000000000..7aac19319c75 --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationBlender_Pan.svg @@ -0,0 +1,39 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationBlender_PanAlt.svg b/src/Mod/Tux/Resources/icons/NavigationBlender_PanAlt.svg new file mode 100644 index 000000000000..b4ee814eaa1d --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationBlender_PanAlt.svg @@ -0,0 +1,28 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationBlender_Rotate.svg b/src/Mod/Tux/Resources/icons/NavigationBlender_Rotate.svg new file mode 100644 index 000000000000..130b13f3a78e --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationBlender_Rotate.svg @@ -0,0 +1,26 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationBlender_Select.svg b/src/Mod/Tux/Resources/icons/NavigationBlender_Select.svg new file mode 100644 index 000000000000..6a32671d65a5 --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationBlender_Select.svg @@ -0,0 +1,28 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationBlender_Zoom.svg b/src/Mod/Tux/Resources/icons/NavigationBlender_Zoom.svg new file mode 100644 index 000000000000..dce11061859e --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationBlender_Zoom.svg @@ -0,0 +1,31 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationCAD.svg b/src/Mod/Tux/Resources/icons/NavigationCAD.svg new file mode 100644 index 000000000000..f0f0a8ab9403 --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationCAD.svg @@ -0,0 +1,17 @@ + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationCADAlt.svg b/src/Mod/Tux/Resources/icons/NavigationCADAlt.svg new file mode 100644 index 000000000000..ea33a5fb05c2 --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationCADAlt.svg @@ -0,0 +1,16 @@ + + + + + + + image/svg+xml + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationCAD_Pan.svg b/src/Mod/Tux/Resources/icons/NavigationCAD_Pan.svg new file mode 100644 index 000000000000..130b13f3a78e --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationCAD_Pan.svg @@ -0,0 +1,26 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationCAD_Rotate.svg b/src/Mod/Tux/Resources/icons/NavigationCAD_Rotate.svg new file mode 100644 index 000000000000..eafe26fb533a --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationCAD_Rotate.svg @@ -0,0 +1,34 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationCAD_RotateAlt.svg b/src/Mod/Tux/Resources/icons/NavigationCAD_RotateAlt.svg new file mode 100644 index 000000000000..6b7aa8ac62fb --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationCAD_RotateAlt.svg @@ -0,0 +1,34 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationCAD_Select.svg b/src/Mod/Tux/Resources/icons/NavigationCAD_Select.svg new file mode 100644 index 000000000000..6a32671d65a5 --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationCAD_Select.svg @@ -0,0 +1,28 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationCAD_Zoom.svg b/src/Mod/Tux/Resources/icons/NavigationCAD_Zoom.svg new file mode 100644 index 000000000000..dce11061859e --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationCAD_Zoom.svg @@ -0,0 +1,31 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationGesture.svg b/src/Mod/Tux/Resources/icons/NavigationGesture.svg new file mode 100644 index 000000000000..ebd25c15a7b1 --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationGesture.svg @@ -0,0 +1,22 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationGesture_Pan.svg b/src/Mod/Tux/Resources/icons/NavigationGesture_Pan.svg new file mode 100644 index 000000000000..36e1e1b41424 --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationGesture_Pan.svg @@ -0,0 +1,28 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationGesture_PanTouch.svg b/src/Mod/Tux/Resources/icons/NavigationGesture_PanTouch.svg new file mode 100644 index 000000000000..3e35f4bae79e --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationGesture_PanTouch.svg @@ -0,0 +1,46 @@ + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationGesture_PanTouchAlt.svg b/src/Mod/Tux/Resources/icons/NavigationGesture_PanTouchAlt.svg new file mode 100644 index 000000000000..0f8e0dbfef7e --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationGesture_PanTouchAlt.svg @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationGesture_Rotate.svg b/src/Mod/Tux/Resources/icons/NavigationGesture_Rotate.svg new file mode 100644 index 000000000000..e27ed44a201e --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationGesture_Rotate.svg @@ -0,0 +1,48 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationGesture_RotateAlt.svg b/src/Mod/Tux/Resources/icons/NavigationGesture_RotateAlt.svg new file mode 100644 index 000000000000..00395106ef54 --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationGesture_RotateAlt.svg @@ -0,0 +1,39 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationGesture_RotateTouch.svg b/src/Mod/Tux/Resources/icons/NavigationGesture_RotateTouch.svg new file mode 100644 index 000000000000..b5048a4d11dc --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationGesture_RotateTouch.svg @@ -0,0 +1,41 @@ + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationGesture_Select.svg b/src/Mod/Tux/Resources/icons/NavigationGesture_Select.svg new file mode 100644 index 000000000000..6a32671d65a5 --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationGesture_Select.svg @@ -0,0 +1,28 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationGesture_SelectTouch.svg b/src/Mod/Tux/Resources/icons/NavigationGesture_SelectTouch.svg new file mode 100644 index 000000000000..ede1fb9a7969 --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationGesture_SelectTouch.svg @@ -0,0 +1,26 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationGesture_Tilt.svg b/src/Mod/Tux/Resources/icons/NavigationGesture_Tilt.svg new file mode 100644 index 000000000000..b4ee814eaa1d --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationGesture_Tilt.svg @@ -0,0 +1,28 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationGesture_TiltTouch.svg b/src/Mod/Tux/Resources/icons/NavigationGesture_TiltTouch.svg new file mode 100644 index 000000000000..a4f4eb1d8a79 --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationGesture_TiltTouch.svg @@ -0,0 +1,62 @@ + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationGesture_Zoom.svg b/src/Mod/Tux/Resources/icons/NavigationGesture_Zoom.svg new file mode 100644 index 000000000000..dce11061859e --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationGesture_Zoom.svg @@ -0,0 +1,31 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationGesture_ZoomTouch.svg b/src/Mod/Tux/Resources/icons/NavigationGesture_ZoomTouch.svg new file mode 100644 index 000000000000..dd8de80e4a6e --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationGesture_ZoomTouch.svg @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationMayaGesture.svg b/src/Mod/Tux/Resources/icons/NavigationMayaGesture.svg new file mode 100644 index 000000000000..0f6a83ba874d --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationMayaGesture.svg @@ -0,0 +1,18 @@ + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationMayaGesture_Pan.svg b/src/Mod/Tux/Resources/icons/NavigationMayaGesture_Pan.svg new file mode 100644 index 000000000000..262c62d7bc80 --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationMayaGesture_Pan.svg @@ -0,0 +1,37 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationMayaGesture_PanTouch.svg b/src/Mod/Tux/Resources/icons/NavigationMayaGesture_PanTouch.svg new file mode 100644 index 000000000000..3e35f4bae79e --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationMayaGesture_PanTouch.svg @@ -0,0 +1,46 @@ + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationMayaGesture_PanTouchAlt.svg b/src/Mod/Tux/Resources/icons/NavigationMayaGesture_PanTouchAlt.svg new file mode 100644 index 000000000000..0f8e0dbfef7e --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationMayaGesture_PanTouchAlt.svg @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationMayaGesture_Rotate.svg b/src/Mod/Tux/Resources/icons/NavigationMayaGesture_Rotate.svg new file mode 100644 index 000000000000..00395106ef54 --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationMayaGesture_Rotate.svg @@ -0,0 +1,39 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationMayaGesture_RotateTouch.svg b/src/Mod/Tux/Resources/icons/NavigationMayaGesture_RotateTouch.svg new file mode 100644 index 000000000000..b5048a4d11dc --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationMayaGesture_RotateTouch.svg @@ -0,0 +1,41 @@ + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationMayaGesture_Select.svg b/src/Mod/Tux/Resources/icons/NavigationMayaGesture_Select.svg new file mode 100644 index 000000000000..6a32671d65a5 --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationMayaGesture_Select.svg @@ -0,0 +1,28 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationMayaGesture_SelectTouch.svg b/src/Mod/Tux/Resources/icons/NavigationMayaGesture_SelectTouch.svg new file mode 100644 index 000000000000..ede1fb9a7969 --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationMayaGesture_SelectTouch.svg @@ -0,0 +1,26 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationMayaGesture_Tilt.svg b/src/Mod/Tux/Resources/icons/NavigationMayaGesture_Tilt.svg new file mode 100644 index 000000000000..cc475f3ba614 --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationMayaGesture_Tilt.svg @@ -0,0 +1,39 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationMayaGesture_TiltTouch.svg b/src/Mod/Tux/Resources/icons/NavigationMayaGesture_TiltTouch.svg new file mode 100644 index 000000000000..a4f4eb1d8a79 --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationMayaGesture_TiltTouch.svg @@ -0,0 +1,62 @@ + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationMayaGesture_Zoom.svg b/src/Mod/Tux/Resources/icons/NavigationMayaGesture_Zoom.svg new file mode 100644 index 000000000000..dce11061859e --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationMayaGesture_Zoom.svg @@ -0,0 +1,31 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationMayaGesture_ZoomAlt.svg b/src/Mod/Tux/Resources/icons/NavigationMayaGesture_ZoomAlt.svg new file mode 100644 index 000000000000..a8133a3d1106 --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationMayaGesture_ZoomAlt.svg @@ -0,0 +1,39 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationMayaGesture_ZoomTouch.svg b/src/Mod/Tux/Resources/icons/NavigationMayaGesture_ZoomTouch.svg new file mode 100644 index 000000000000..dd8de80e4a6e --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationMayaGesture_ZoomTouch.svg @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationOpenCascade.svg b/src/Mod/Tux/Resources/icons/NavigationOpenCascade.svg new file mode 100644 index 000000000000..6440544dfaae --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationOpenCascade.svg @@ -0,0 +1,18 @@ + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationOpenCascade_Pan.svg b/src/Mod/Tux/Resources/icons/NavigationOpenCascade_Pan.svg new file mode 100644 index 000000000000..cf404214a08c --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationOpenCascade_Pan.svg @@ -0,0 +1,36 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationOpenCascade_PanAlt.svg b/src/Mod/Tux/Resources/icons/NavigationOpenCascade_PanAlt.svg new file mode 100644 index 000000000000..130b13f3a78e --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationOpenCascade_PanAlt.svg @@ -0,0 +1,26 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationOpenCascade_Rotate.svg b/src/Mod/Tux/Resources/icons/NavigationOpenCascade_Rotate.svg new file mode 100644 index 000000000000..4fa8aaac9502 --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationOpenCascade_Rotate.svg @@ -0,0 +1,38 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationOpenCascade_Select.svg b/src/Mod/Tux/Resources/icons/NavigationOpenCascade_Select.svg new file mode 100644 index 000000000000..6a32671d65a5 --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationOpenCascade_Select.svg @@ -0,0 +1,28 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationOpenCascade_Zoom.svg b/src/Mod/Tux/Resources/icons/NavigationOpenCascade_Zoom.svg new file mode 100644 index 000000000000..dce11061859e --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationOpenCascade_Zoom.svg @@ -0,0 +1,31 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationOpenCascade_ZoomAlt.svg b/src/Mod/Tux/Resources/icons/NavigationOpenCascade_ZoomAlt.svg new file mode 100644 index 000000000000..7e2dd407af63 --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationOpenCascade_ZoomAlt.svg @@ -0,0 +1,38 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationOpenInventor.svg b/src/Mod/Tux/Resources/icons/NavigationOpenInventor.svg new file mode 100644 index 000000000000..c0286f09d30d --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationOpenInventor.svg @@ -0,0 +1,19 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationOpenInventor_Pan.svg b/src/Mod/Tux/Resources/icons/NavigationOpenInventor_Pan.svg new file mode 100644 index 000000000000..130b13f3a78e --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationOpenInventor_Pan.svg @@ -0,0 +1,26 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationOpenInventor_Rotate.svg b/src/Mod/Tux/Resources/icons/NavigationOpenInventor_Rotate.svg new file mode 100644 index 000000000000..6a32671d65a5 --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationOpenInventor_Rotate.svg @@ -0,0 +1,28 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationOpenInventor_Select.svg b/src/Mod/Tux/Resources/icons/NavigationOpenInventor_Select.svg new file mode 100644 index 000000000000..2286074ea9e4 --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationOpenInventor_Select.svg @@ -0,0 +1,39 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationOpenInventor_Zoom.svg b/src/Mod/Tux/Resources/icons/NavigationOpenInventor_Zoom.svg new file mode 100644 index 000000000000..dce11061859e --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationOpenInventor_Zoom.svg @@ -0,0 +1,31 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationOpenInventor_ZoomAlt.svg b/src/Mod/Tux/Resources/icons/NavigationOpenInventor_ZoomAlt.svg new file mode 100644 index 000000000000..eafe26fb533a --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationOpenInventor_ZoomAlt.svg @@ -0,0 +1,34 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationTouchpad.svg b/src/Mod/Tux/Resources/icons/NavigationTouchpad.svg new file mode 100644 index 000000000000..568479aa197f --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationTouchpad.svg @@ -0,0 +1,18 @@ + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationTouchpad_Pan.svg b/src/Mod/Tux/Resources/icons/NavigationTouchpad_Pan.svg new file mode 100644 index 000000000000..95a0526c7172 --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationTouchpad_Pan.svg @@ -0,0 +1,61 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationTouchpad_PanTouch.svg b/src/Mod/Tux/Resources/icons/NavigationTouchpad_PanTouch.svg new file mode 100644 index 000000000000..9c3518e5e98a --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationTouchpad_PanTouch.svg @@ -0,0 +1,61 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationTouchpad_Rotate.svg b/src/Mod/Tux/Resources/icons/NavigationTouchpad_Rotate.svg new file mode 100644 index 000000000000..d631d13db02a --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationTouchpad_Rotate.svg @@ -0,0 +1,57 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationTouchpad_RotateAlt.svg b/src/Mod/Tux/Resources/icons/NavigationTouchpad_RotateAlt.svg new file mode 100644 index 000000000000..d2e508350c3c --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationTouchpad_RotateAlt.svg @@ -0,0 +1,41 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationTouchpad_RotateTouch.svg b/src/Mod/Tux/Resources/icons/NavigationTouchpad_RotateTouch.svg new file mode 100644 index 000000000000..5ff3b44827ef --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationTouchpad_RotateTouch.svg @@ -0,0 +1,57 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationTouchpad_RotateTouchAlt.svg b/src/Mod/Tux/Resources/icons/NavigationTouchpad_RotateTouchAlt.svg new file mode 100644 index 000000000000..2a5026d621bf --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationTouchpad_RotateTouchAlt.svg @@ -0,0 +1,59 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationTouchpad_Select.svg b/src/Mod/Tux/Resources/icons/NavigationTouchpad_Select.svg new file mode 100644 index 000000000000..6a32671d65a5 --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationTouchpad_Select.svg @@ -0,0 +1,28 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationTouchpad_SelectTouch.svg b/src/Mod/Tux/Resources/icons/NavigationTouchpad_SelectTouch.svg new file mode 100644 index 000000000000..be0b44436b85 --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationTouchpad_SelectTouch.svg @@ -0,0 +1,25 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationTouchpad_Zoom.svg b/src/Mod/Tux/Resources/icons/NavigationTouchpad_Zoom.svg new file mode 100644 index 000000000000..dce11061859e --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationTouchpad_Zoom.svg @@ -0,0 +1,31 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationTouchpad_ZoomAlt.svg b/src/Mod/Tux/Resources/icons/NavigationTouchpad_ZoomAlt.svg new file mode 100644 index 000000000000..b87910a77366 --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationTouchpad_ZoomAlt.svg @@ -0,0 +1,51 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationTouchpad_ZoomTouch.svg b/src/Mod/Tux/Resources/icons/NavigationTouchpad_ZoomTouch.svg new file mode 100644 index 000000000000..82674d1c385d --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationTouchpad_ZoomTouch.svg @@ -0,0 +1,49 @@ + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/Tux/Resources/icons/NavigationUndefined.svg b/src/Mod/Tux/Resources/icons/NavigationUndefined.svg new file mode 100644 index 000000000000..6f8f3bbd829a --- /dev/null +++ b/src/Mod/Tux/Resources/icons/NavigationUndefined.svg @@ -0,0 +1,17 @@ + + + + + + + image/svg+xml + + + + + + + + + +