From 062c115e6cbf564ae3c641ea8a3f0ee92050b2f1 Mon Sep 17 00:00:00 2001 From: donovaly Date: Mon, 29 Jun 2020 00:27:42 +0200 Subject: [PATCH] [PD] disable keyboardTracking for dressup dialogs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - At the moment using e.g. the thickness dialog and change from the default "1.0" to e.g. "21.3" triggers 4 recomputes. This takes a lot of time and is unnecessary. Qt offers therefore to disable keyboardTracking (and we use it already in the TechDraw workbench). - also change the default draft angle from 1.5° to more common 10° and the step to 1° so that one can quickly get usual angles for drafts --- src/Mod/PartDesign/Gui/TaskChamferParameters.ui | 15 ++++++++++++--- src/Mod/PartDesign/Gui/TaskDraftParameters.ui | 17 ++++++++++------- src/Mod/PartDesign/Gui/TaskFilletParameters.ui | 6 +++++- .../PartDesign/Gui/TaskThicknessParameters.ui | 13 ++++++++----- 4 files changed, 35 insertions(+), 16 deletions(-) diff --git a/src/Mod/PartDesign/Gui/TaskChamferParameters.ui b/src/Mod/PartDesign/Gui/TaskChamferParameters.ui index dd2a80af9e..2c2f0ee230 100644 --- a/src/Mod/PartDesign/Gui/TaskChamferParameters.ui +++ b/src/Mod/PartDesign/Gui/TaskChamferParameters.ui @@ -121,7 +121,10 @@ click again to end selection - + + + false + 1.000000000000000 @@ -157,7 +160,10 @@ click again to end selection - + + + false + 1.000000000000000 @@ -187,7 +193,10 @@ click again to end selection - + + + false + 0.000000000000000 diff --git a/src/Mod/PartDesign/Gui/TaskDraftParameters.ui b/src/Mod/PartDesign/Gui/TaskDraftParameters.ui index 9bb7cc073c..c3f11b0f52 100644 --- a/src/Mod/PartDesign/Gui/TaskDraftParameters.ui +++ b/src/Mod/PartDesign/Gui/TaskDraftParameters.ui @@ -67,21 +67,24 @@ click again to end selection - + + + false + deg - + 0.000000000000000 - + 89.999999999999986 - - 0.100000000000000 + + 1.000000000000000 - - 1.500000000000000 + + 10.000000000000000 diff --git a/src/Mod/PartDesign/Gui/TaskFilletParameters.ui b/src/Mod/PartDesign/Gui/TaskFilletParameters.ui index e8018c3a08..968a7487fc 100644 --- a/src/Mod/PartDesign/Gui/TaskFilletParameters.ui +++ b/src/Mod/PartDesign/Gui/TaskFilletParameters.ui @@ -67,7 +67,11 @@ click again to end selection - + + + false + + diff --git a/src/Mod/PartDesign/Gui/TaskThicknessParameters.ui b/src/Mod/PartDesign/Gui/TaskThicknessParameters.ui index ec49cc53a5..087656f397 100644 --- a/src/Mod/PartDesign/Gui/TaskThicknessParameters.ui +++ b/src/Mod/PartDesign/Gui/TaskThicknessParameters.ui @@ -67,23 +67,26 @@ click again to end selection - + Qt::TabFocus + + false + mm - + 0.000000000000000 - + 999999999.000000000000000 - + 0.100000000000000 - + 1.000000000000000