From b405de05dfc192c7753f2564bb292dc76c206b98 Mon Sep 17 00:00:00 2001 From: Chris Hennes Date: Mon, 28 Mar 2022 10:14:30 -0500 Subject: [PATCH] Sketcher: PR4556 Step 3: sort QGridLayout by row-col --- .../Sketcher/Gui/ConstraintSettingsDialog.ui | 52 +-- src/Mod/Sketcher/Gui/SketchMirrorDialog.ui | 22 +- .../Sketcher/Gui/SketcherSettingsColors.ui | 436 +++++++++--------- .../Sketcher/Gui/TaskSketcherValidation.ui | 130 +++--- 4 files changed, 320 insertions(+), 320 deletions(-) diff --git a/src/Mod/Sketcher/Gui/ConstraintSettingsDialog.ui b/src/Mod/Sketcher/Gui/ConstraintSettingsDialog.ui index 340305ed43..a6ec62404a 100644 --- a/src/Mod/Sketcher/Gui/ConstraintSettingsDialog.ui +++ b/src/Mod/Sketcher/Gui/ConstraintSettingsDialog.ui @@ -35,31 +35,6 @@ List control - - - - - 0 - 0 - - - - Internal alignments will be hidden - - - Hide internal alignment - - - true - - - HideInternalAlignment - - - Mod/Sketcher - - - @@ -85,7 +60,32 @@ - + + + + + 0 + 0 + + + + Internal alignments will be hidden + + + Hide internal alignment + + + true + + + HideInternalAlignment + + + Mod/Sketcher + + + + diff --git a/src/Mod/Sketcher/Gui/SketchMirrorDialog.ui b/src/Mod/Sketcher/Gui/SketchMirrorDialog.ui index e1e5ab2036..0b46c3f993 100644 --- a/src/Mod/Sketcher/Gui/SketchMirrorDialog.ui +++ b/src/Mod/Sketcher/Gui/SketchMirrorDialog.ui @@ -47,16 +47,6 @@ - - - - Qt::Horizontal - - - QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - @@ -70,7 +60,17 @@ - + + + + Qt::Horizontal + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + diff --git a/src/Mod/Sketcher/Gui/SketcherSettingsColors.ui b/src/Mod/Sketcher/Gui/SketcherSettingsColors.ui index b15ad0c8cc..ddf7005ffc 100644 --- a/src/Mod/Sketcher/Gui/SketcherSettingsColors.ui +++ b/src/Mod/Sketcher/Gui/SketcherSettingsColors.ui @@ -22,8 +22,8 @@ - - + + 240 @@ -31,7 +31,7 @@ - Coordinate text + Creating line @@ -55,29 +55,21 @@ - - - - Color of crosshair cursor. -(The one you get when creating a new sketch element.) + + + + Qt::Horizontal - - - 255 - 255 - 255 - + + + 40 + 20 + - - CursorCrosshairColor - - - View - - + - - + + 240 @@ -85,7 +77,7 @@ - Creating line + Coordinate text @@ -116,20 +108,28 @@ - - - - Qt::Horizontal + + + + Color of crosshair cursor. +(The one you get when creating a new sketch element.) - - - 40 - 20 - + + + 255 + 255 + 255 + - + + CursorCrosshairColor + + + View + + - + @@ -142,16 +142,16 @@ - - + + - 240 + 120 0 - Internal alignment edge + Constrained @@ -168,6 +168,52 @@ + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + Edge + + + + + + + + 0 + 0 + + + + Color of fully constrained edge color in edit mode + + + + 128 + 208 + 160 + + + + FullyConstraintElementColor + + + View + + + @@ -194,10 +240,36 @@ - - + + - Edge + Vertex + + + + + + + + 0 + 0 + + + + Color of fully constrained vertex color in edit mode + + + + 255 + 149 + 128 + + + + FullyConstraintConstructionPointColor + + + View @@ -227,10 +299,10 @@ - - + + - Vertex + Construction geometry @@ -260,39 +332,6 @@ - - - - Construction geometry - - - - - - - - 0 - 0 - - - - Color of edges of internal alignment geometry - - - - 178 - 178 - 127 - - - - InternalAlignedGeoColor - - - View - - - @@ -319,29 +358,16 @@ - - - - - 0 - 0 - + + + + + 240 + 0 + - - Color of fully constrained edge color in edit mode - - - - 128 - 208 - 160 - - - - FullyConstraintElementColor - - - View + + Internal alignment edge @@ -371,6 +397,39 @@ + + + + + 0 + 0 + + + + Color of edges of internal alignment geometry + + + + 178 + 178 + 127 + + + + InternalAlignedGeoColor + + + View + + + + + + + External geometry + + + @@ -397,76 +456,10 @@ - - - - External geometry - - - - - - - - 0 - 0 - - - - Color of fully constrained vertex color in edit mode - - - - 255 - 149 - 128 - - - - FullyConstraintConstructionPointColor - - - View - - - - - - - - 120 - 0 - - - - Constrained - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - + - - - - Invalid Sketch - - - @@ -506,6 +499,26 @@ + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + Invalid Sketch + + + @@ -532,20 +545,7 @@ - - - - Qt::Horizontal - - - - 40 - 20 - - - - - + @@ -725,23 +725,16 @@ - - - - Color of vertices + + + + + 240 + 0 + - - - 255 - 255 - 255 - - - - SketchVertexColor - - - View + + Edge @@ -765,26 +758,6 @@ - - - - Vertex - - - - - - - - 240 - 0 - - - - Edge - - - @@ -798,7 +771,34 @@ - + + + + Vertex + + + + + + + Color of vertices + + + + 255 + 255 + 255 + + + + SketchVertexColor + + + View + + + + diff --git a/src/Mod/Sketcher/Gui/TaskSketcherValidation.ui b/src/Mod/Sketcher/Gui/TaskSketcherValidation.ui index 7190708227..4cb0ca39f4 100644 --- a/src/Mod/Sketcher/Gui/TaskSketcherValidation.ui +++ b/src/Mod/Sketcher/Gui/TaskSketcherValidation.ui @@ -14,29 +14,32 @@ Sketcher validation - - + + - Reversed external geometry + Open and non-manifold vertexes - + + + 6 + + + 6 + + + 6 + + + 6 + - + - Finds reversed external geometries + Highlights open and non-manifold vertexes that could lead to error if sketch is used to generate solids +This is purely based on topological shape of the sketch and not on its geometry/constrain set. - Find - - - - - - - Fixes found reversed external geometries by swapping their endpoints - - - Swap endpoints in constraints + Highlight troublesome vertexes @@ -52,7 +55,21 @@ Missing coincidences - + + + + Tolerance: + + + + + + + Defines the X/Y tolerance inside which missing coincidences are searched. + + + + If checked, construction geometries are ignored in the search @@ -76,13 +93,6 @@ This is done by analyzing the sketch geometries and constraints - - - - Tolerance: - - - @@ -90,14 +100,7 @@ This is done by analyzing the sketch geometries and constraints - - - - Defines the X/Y tolerance inside which missing coincidences are searched. - - - - + @@ -139,38 +142,6 @@ This is done by analyzing the sketch geometries and constraints - - - - Open and non-manifold vertexes - - - - 6 - - - 6 - - - 6 - - - 6 - - - - - Highlights open and non-manifold vertexes that could lead to error if sketch is used to generate solids -This is purely based on topological shape of the sketch and not on its geometry/constrain set. - - - Highlight troublesome vertexes - - - - - - @@ -200,6 +171,35 @@ This is purely based on topological shape of the sketch and not on its geometry/ + + + + Reversed external geometry + + + + + + Finds reversed external geometries + + + Find + + + + + + + Fixes found reversed external geometries by swapping their endpoints + + + Swap endpoints in constraints + + + + + +