From 89f5bcded25043f7b60f10eb9e07a0389503bf51 Mon Sep 17 00:00:00 2001 From: Markus Lampert Date: Mon, 4 Sep 2017 13:26:55 -0700 Subject: [PATCH] Hide all unused controls for now. --- src/Mod/Path/Gui/Resources/panels/PathEdit.ui | 2 +- src/Mod/Path/PathScripts/PathJobGui.py | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Mod/Path/Gui/Resources/panels/PathEdit.ui b/src/Mod/Path/Gui/Resources/panels/PathEdit.ui index 745c4c4974..97eac943fb 100644 --- a/src/Mod/Path/Gui/Resources/panels/PathEdit.ui +++ b/src/Mod/Path/Gui/Resources/panels/PathEdit.ui @@ -573,7 +573,7 @@ - + QFormLayout::AllNonFixedFieldsGrow diff --git a/src/Mod/Path/PathScripts/PathJobGui.py b/src/Mod/Path/PathScripts/PathJobGui.py index 599be4f3bb..ad17d5a8d2 100644 --- a/src/Mod/Path/PathScripts/PathJobGui.py +++ b/src/Mod/Path/PathScripts/PathJobGui.py @@ -877,7 +877,11 @@ class TaskPanel: self.form.operationDelete.clicked.connect(self.operationDelete) self.form.operationUp.clicked.connect(self.operationMoveUp) self.form.operationDown.clicked.connect(self.operationMoveDown) + self.form.operationEdit.hide() # not supported yet + self.form.activeToolGroup.hide() # not supported yet + self.form.tbWorkplan.widget(1).hide() # default values not supported yet + self.form.tbWorkplan.removeItem(1) # default values not supported yet # Tool controller self.form.toolControllerList.itemSelectionChanged.connect(self.toolControllerSelect)