From dda816611960f67e771f2f983b7eafd7864f5374 Mon Sep 17 00:00:00 2001
From: wmayer Blender " + text06 + """ Blender "
+ + text06
+ + """
- """ + text08 + ": " + text10 + "
-
""" + text01 + """
- """ + text02 + """
- """ + text03 + """
- """ + text04 + """
- """ + text04 + """
+ """
+ + text01
+ + """
+ """
+ + text02
+ + """
+ """
+ + text03
+ + """
+ """
+ + text04
+ + """
+ """
+ + text04
+ + """
@@ -95,17 +111,35 @@ def retranslateUi():
CAD " + text06 + """
+ t2 = ( + "CAD " + + text06 + + """
| """ + text01 + """ | -""" + text02 + """ | -""" + text03 + """ | -""" + text03 + """ | -""" + text04 + """ | +""" + + text01 + + """ | +""" + + text02 + + """ | +""" + + text03 + + """ | +""" + + text03 + + """ | +""" + + text04 + + """ |
|---|---|---|---|---|---|---|---|---|---|
Gesture " + text06 + """
+ t3 = ( + "Gesture " + + text06 + + """
| """ + text01 + """ | -""" + text02 + """ | -""" + text03 + """ | -""" + text03 + """ | -""" + text04 + """ | -""" + text05 + """ | +""" + + text01 + + """ | +""" + + text02 + + """ | +""" + + text03 + + """ | +""" + + text03 + + """ | +""" + + text04 + + """ | +""" + + text05 + + """ |
|---|---|---|---|---|---|---|---|---|---|---|---|
| """ + text01 + """ | -""" + text02 + """ | -""" + text03 + """ | -""" + text04 + """ | -""" + text04 + """ | -""" + text05 + """ | +""" + + text01 + + """ | +""" + + text02 + + """ | +""" + + text03 + + """ | +""" + + text04 + + """ | +""" + + text04 + + """ | +""" + + text05 + + """ |
""" + text02 + ": " + text07 + """
- """ + text08 + ": " + text09 + "
"""
+ + text02
+ + ": "
+ + text07
+ + """
+ """
+ + text08
+ + ": "
+ + text09
+ + "
MayaGesture " + text06 + """
+ t4 = ( + "MayaGesture " + + text06 + + """
| """ + text01 + """ | -""" + text02 + """ | -""" + text02 + """ | -""" + text03 + """ | -""" + text04 + """ | -""" + text05 + """ | +""" + + text01 + + """ | +""" + + text02 + + """ | +""" + + text02 + + """ | +""" + + text03 + + """ | +""" + + text04 + + """ | +""" + + text05 + + """ |
|---|---|---|---|---|---|---|---|---|---|---|---|
| """ + text01 + """ | -""" + text02 + """ | -""" + text03 + """ | -""" + text04 + """ | -""" + text04 + """ | -""" + text05 + """ | +""" + + text01 + + """ | +""" + + text02 + + """ | +""" + + text03 + + """ | +""" + + text04 + + """ | +""" + + text04 + + """ | +""" + + text05 + + """ |
""" + text02 + ": " + text07 + """
- """ + text08 + ": " + text09 + "
"""
+ + text02
+ + ": "
+ + text07
+ + """
+ """
+ + text08
+ + ": "
+ + text09
+ + "
OpenCascade " + text06 + """
+ t5 = ( + "OpenCascade " + + text06 + + """
| """ + text01 + """ | -""" + text02 + """ | -""" + text02 + """ | -""" + text03 + """ | -""" + text04 + """ | -""" + text04 + """ | +""" + + text01 + + """ | +""" + + text02 + + """ | +""" + + text02 + + """ | +""" + + text03 + + """ | +""" + + text04 + + """ | +""" + + text04 + + """ |
|---|---|---|---|---|---|---|---|---|---|---|---|
OpenInventor " + text06 + """
+ t6 = ( + "OpenInventor " + + text06 + + """
| """ + text01 + """ | -""" + text02 + """ | -""" + text02 + """ | -""" + text03 + """ | -""" + text04 + """ | +""" + + text01 + + """ | +""" + + text02 + + """ | +""" + + text02 + + """ | +""" + + text03 + + """ | +""" + + text04 + + """ |
|---|---|---|---|---|---|---|---|---|---|
OpenSCAD " + text06 + """
+ t7 = ( + "OpenSCAD " + + text06 + + """
| """ + text01 + """ | -""" + text02 + """ | -""" + text02 + """ | -""" + text03 + """ | -""" + text04 + """ | +""" + + text01 + + """ | +""" + + text02 + + """ | +""" + + text02 + + """ | +""" + + text03 + + """ | +""" + + text04 + + """ |
|---|---|---|---|---|---|---|---|---|---|
Revit " + text06 + """
+ t8 = ( + "Revit " + + text06 + + """
| """ + text01 + """ | -""" + text02 + """ | -""" + text03 + """ | -""" + text04 + """ | -""" + text04 + """ | +""" + + text01 + + """ | +""" + + text02 + + """ | +""" + + text03 + + """ | +""" + + text04 + + """ | +""" + + text04 + + """ |
|---|---|---|---|---|---|---|---|---|---|
TinkerCAD " + text06 + """
+ t9 = ( + "TinkerCAD " + + text06 + + """
| """ + text01 + """ | -""" + text02 + """ | -""" + text03 + """ | -""" + text04 + """ | +""" + + text01 + + """ | +""" + + text02 + + """ | +""" + + text03 + + """ | +""" + + text04 + + """ |
|---|---|---|---|---|---|---|---|
Touchpad " + text06 + """
+ t10 = ( + "Touchpad " + + text06 + + """
| """ + text01 + """ | -""" + text02 + """ | -""" + text02 + """ | -""" + text03 + """ | -""" + text03 + """ | -""" + text04 + """ | +""" + + text01 + + """ | +""" + + text02 + + """ | +""" + + text02 + + """ | +""" + + text03 + + """ | +""" + + text03 + + """ | +""" + + text04 + + """ |
|---|---|---|---|---|---|---|---|---|---|---|---|
| """ + text01 + """ | -""" + text02 + """ | -""" + text03 + """ | -""" + text03 + """ | -""" + text04 + """ | +""" + + text01 + + """ | +""" + + text02 + + """ | +""" + + text03 + + """ | +""" + + text03 + + """ | +""" + + text04 + + """ | ||
""" + text02 + ": " + text07 + "
" +""" + + text02 + + ": " + + text07 + + "
" + ) menuSettings.setTitle(translate("NavigationIndicator", "Settings")) menuOrbit.setTitle(translate("NavigationIndicator", "Orbit style")) @@ -389,7 +608,7 @@ a1.setData("Gui::BlenderNavigationStyle") a1.setObjectName("Indicator_NavigationBlender") a2 = QtGui.QAction(gStyle) -a2.setIcon(QtGui.QIcon(':/icons/NavigationCAD_dark.svg')) +a2.setIcon(QtGui.QIcon(":/icons/NavigationCAD_dark.svg")) a2.setText("CAD ") a2.setData("Gui::CADNavigationStyle") a2.setObjectName("Indicator_NavigationCAD") diff --git a/src/Mod/Tux/PersistentToolbarsGui.py b/src/Mod/Tux/PersistentToolbarsGui.py index 5f3b4c0ed1..781766d3ba 100644 --- a/src/Mod/Tux/PersistentToolbarsGui.py +++ b/src/Mod/Tux/PersistentToolbarsGui.py @@ -28,6 +28,7 @@ conectedToolbars = [] timer = QtCore.QTimer() mw = Gui.getMainWindow() + def pythonToolbars(): """Manage Python based toolbar in BIM workbench.""" @@ -85,10 +86,12 @@ def onRestore(active): # Reduce flickering. for i in toolbars: - if (i not in topRestore and - i not in leftRestore and - i not in rightRestore and - i not in bottomRestore): + if ( + i not in topRestore + and i not in leftRestore + and i not in rightRestore + and i not in bottomRestore + ): area = mw.toolBarArea(toolbars[i])