From 8a2efda4d6d0cccd022cb4471c34ae373f06db9c Mon Sep 17 00:00:00 2001 From: Chris Hennes Date: Fri, 26 May 2023 16:29:27 -0600 Subject: [PATCH] Path: UI file adjustments --- src/Mod/Path/Gui/DlgSettingsPathColor.ui | 321 ++++++++---------- .../Gui/Resources/preferences/Advanced.ui | 34 +- 2 files changed, 150 insertions(+), 205 deletions(-) diff --git a/src/Mod/Path/Gui/DlgSettingsPathColor.ui b/src/Mod/Path/Gui/DlgSettingsPathColor.ui index c549b2d2e1..a43fc80a68 100644 --- a/src/Mod/Path/Gui/DlgSettingsPathColor.ui +++ b/src/Mod/Path/Gui/DlgSettingsPathColor.ui @@ -23,6 +23,41 @@ Default Path colors + + + + The default line thickness for new shapes + + + px + + + 9 + + + 1 + + + DefaultPathLineWidth + + + Mod/Path + + + + + + + + 182 + 0 + + + + Path highlight color + + + @@ -36,6 +71,39 @@ + + + + The default line color for new shapes + + + + 255 + 255 + 255 + + + + DefaultBBoxNormalColor + + + Mod/Path + + + + + + + + 182 + 0 + + + + Bounding box normal color + + + @@ -56,8 +124,28 @@ - - + + + + The default line color for new shapes + + + + 170 + 0 + 0 + + + + DefaultRapidPathColor + + + Mod/Path + + + + + 182 @@ -65,32 +153,56 @@ - Default pathline width + Probe path color - - + + + + + 182 + 0 + + + + Rapid path color + + + + + - The default line thickness for new shapes + The default line color for new shapes - - px - - - 9 - - - 1 + + + 255 + 125 + 0 + - DefaultPathLineWidth + DefaultHighlightPathColor Mod/Path + + + + + 182 + 0 + + + + Bounding box selection color + + + @@ -124,8 +236,8 @@ - - + + 182 @@ -133,40 +245,7 @@ - Rapid path color - - - - - - - The default line color for new shapes - - - - 170 - 0 - 0 - - - - DefaultRapidPathColor - - - Mod/Path - - - - - - - - 182 - 0 - - - - Probe Path color + Default pathline width @@ -190,103 +269,7 @@ - - - - Machine extents color - - - - - - - DefaultExtentsColor - - - Mod/Path - - - - - - - - 182 - 0 - - - - Path Highlight Color - - - - - - - The default line color for new shapes - - - - 255 - 125 - 0 - - - - DefaultHighlightPathColor - - - Mod/Path - - - - - - - - 182 - 0 - - - - Bounding Box Normal Color - - - - - - The default line color for new shapes - - - - 255 - 255 - 255 - - - - DefaultBBoxNormalColor - - - Mod/Path - - - - - - - - 182 - 0 - - - - Bounding Box Selection Color - - - - The default line color for new shapes @@ -307,39 +290,8 @@ - label_6 - DefaultNormalPathColor - label_9 - DefaultPathLineWidth - label_10 - DefaultPathMarkerColor - label_7 - DefaultRapidPathColor - label - DefaultExtentsColor - label_8 - DefaultProbePathColor - label_11 - DefaultHighlightPathColor - label_13 - DefaultBBoxNormalColor - label_14 - DefaultBBoxSelectionColor - - - - Qt::Horizontal - - - - 7 - 220 - - - - @@ -449,6 +401,19 @@ + + + + Qt::Horizontal + + + + 7 + 220 + + + + diff --git a/src/Mod/Path/Gui/Resources/preferences/Advanced.ui b/src/Mod/Path/Gui/Resources/preferences/Advanced.ui index 813b102196..ffd8d2ea74 100644 --- a/src/Mod/Path/Gui/Resources/preferences/Advanced.ui +++ b/src/Mod/Path/Gui/Resources/preferences/Advanced.ui @@ -6,7 +6,7 @@ 0 0 - 512 + 487 691 @@ -102,43 +102,23 @@ - + 0 0 - Open CAMlib + OpenCAMLib - - - - 0 - 0 - + + + If OpenCAMLib is installed with Python bindings it can be used by some additional 3D operations. NOTE: Enabling OpenCAMLib here requires a restart of FreeCAD to take effect. - - Qt::ScrollBarAlwaysOff - - - Qt::ScrollBarAlwaysOff - - - QAbstractScrollArea::AdjustToContents - - + true - - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> -<html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'DejaVu Sans'; font-size:12pt; font-weight:400; font-style:normal;"> -<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans'; font-size:16pt;">If openCAMlib is installed with its python interface it can be used by some additional 3d operations.</span></p> -<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans'; font-size:16pt;">Changing this value requires a restart of FreeCAD to take effect.</span></p></body></html> -