From dde0fa75fae5e6a690559b3275940fb824c71175 Mon Sep 17 00:00:00 2001 From: wandererfan Date: Mon, 29 May 2023 10:06:53 -0400 Subject: [PATCH] [TD]remove html escape sequences from tooltip --- .../TechDraw/Gui/DlgPrefsTechDrawAdvanced.ui | 4 ++-- src/Mod/TechDraw/Gui/DlgPrefsTechDrawColors.ui | 8 +++++--- .../TechDraw/Gui/DlgPrefsTechDrawDimensions.ui | 16 ++++++++++------ .../TechDraw/Gui/TaskSurfaceFinishSymbols.ui | 18 +++++++++--------- 4 files changed, 26 insertions(+), 20 deletions(-) diff --git a/src/Mod/TechDraw/Gui/DlgPrefsTechDrawAdvanced.ui b/src/Mod/TechDraw/Gui/DlgPrefsTechDrawAdvanced.ui index a87da8b7c9..5bf49d9ee2 100644 --- a/src/Mod/TechDraw/Gui/DlgPrefsTechDrawAdvanced.ui +++ b/src/Mod/TechDraw/Gui/DlgPrefsTechDrawAdvanced.ui @@ -6,7 +6,7 @@ 0 0 - 444 + 474 416 @@ -571,7 +571,7 @@ can be a performance penalty in complex models. - <html><head/><body><p>The number of times FreeCAD should try to remove overlapping edges returned by the Hidden Line Removal algorithm. A value of 0 indicates no scrubbing, 1 indicates a single pass and 2 indicates a second pass should be performed. Values above 2 are generally not productive. Each pass adds to the time required to produce the drawing.</p></body></html> + The number of times FreeCAD should try to remove overlapping edges returned by the Hidden Line Removal algorithm. A value of 0 indicates no scrubbing, 1 indicates a single pass and 2 indicates a second pass should be performed. Values above 2 are generally not productive. Each pass adds to the time required to produce the drawing. Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter diff --git a/src/Mod/TechDraw/Gui/DlgPrefsTechDrawColors.ui b/src/Mod/TechDraw/Gui/DlgPrefsTechDrawColors.ui index 6b75ad33fc..f344e14b46 100644 --- a/src/Mod/TechDraw/Gui/DlgPrefsTechDrawColors.ui +++ b/src/Mod/TechDraw/Gui/DlgPrefsTechDrawColors.ui @@ -7,7 +7,7 @@ 0 0 440 - 400 + 448 @@ -177,7 +177,7 @@ - <html><head/><body><p>Check this to use light text and lines on dark backgrounds. Set Page Color to a dark color. Transparent or light color faces are recommended with this option.</p></body></html> + Check this to use light text and lines on dark backgrounds. Set Page Color to a dark color. Transparent or light color faces are recommended with this option. Light on dark @@ -617,7 +617,9 @@ - <html><head/><body><p>If checked FreeCAD will use a single colour for all text and lines. If unchecked FreeCAD will attempt to use lighter versions of preferred colours.</p><p><br/></p><p><br/></p></body></html> + If checked FreeCAD will use a single colour for all text and lines. If unchecked FreeCAD will attempt to use lighter versions of preferred colours. + + Monochrome diff --git a/src/Mod/TechDraw/Gui/DlgPrefsTechDrawDimensions.ui b/src/Mod/TechDraw/Gui/DlgPrefsTechDrawDimensions.ui index f64d0e683a..d9b2b082a1 100644 --- a/src/Mod/TechDraw/Gui/DlgPrefsTechDrawDimensions.ui +++ b/src/Mod/TechDraw/Gui/DlgPrefsTechDrawDimensions.ui @@ -7,7 +7,7 @@ 0 0 440 - 498 + 508 @@ -493,7 +493,7 @@ Multiplier of 'Font Size' - <html><head/><body><p>Leave blank for automatic dimension format. Use %f, %g or %w specifiers to override.</p></body></html> + Leave blank for automatic dimension format. Use %f, %g or %w specifiers to override. Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter @@ -524,7 +524,9 @@ Multiplier of 'Font Size' - <html><head/><body><p>Controls the size of gap between dimension point and start of extension line for ISO dimensions. Value * linewidth is the gap. Normally, no gap is used. If using a gap, the recommended value 8.</p></body></html> + Controls the size of gap between dimension point and start of extension line for ISO dimensions. +Value * linewidth is the gap. +Normally, no gap is used. If using a gap, the recommended value 8. Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter @@ -543,7 +545,8 @@ Multiplier of 'Font Size' - <html><head/><body><p>Controls the size of gap between dimension point and start of extension line for ASME dimensions. Value * linewidth is the gap. Normally, no gap is used. If a gap is used, the recommended value is 6.</p></body></html> + Controls the size of gap between dimension point and start of extension line for ASME dimensions. Value * linewidth is the gap. +Normally, no gap is used. If a gap is used, the recommended value is 6. Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter @@ -577,13 +580,14 @@ Multiplier of 'Font Size' - <html><head/><body><p>Controls the size of spacing between dimension line and dimension text. Value * linewidth is the line spacing.</p></body></html> + Controls the size of spacing between dimension line and dimension text. + Value * linewidth is the line spacing. Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - + 0.000000000000000 LineSpacingFactorISO diff --git a/src/Mod/TechDraw/Gui/TaskSurfaceFinishSymbols.ui b/src/Mod/TechDraw/Gui/TaskSurfaceFinishSymbols.ui index 634ee20812..736852eb71 100644 --- a/src/Mod/TechDraw/Gui/TaskSurfaceFinishSymbols.ui +++ b/src/Mod/TechDraw/Gui/TaskSurfaceFinishSymbols.ui @@ -31,7 +31,7 @@ - <html><head/><body><p>Material removal prohibited, whole part</p></body></html> + Material removal prohibited, whole part @@ -41,7 +41,7 @@ - <html><head/><body><p>Any method allowed, whole part</p></body></html> + Any method allowed, whole part @@ -51,7 +51,7 @@ - <html><head/><body><p>Material removal required, whole part</p></body></html> + Material removal required, whole part @@ -61,7 +61,7 @@ - <html><head/><body><p>Material removal required</p></body></html> + Material removal required @@ -71,7 +71,7 @@ - <html><head/><body><p>Material removal prohibited</p></body></html> + Material removal prohibited @@ -81,7 +81,7 @@ - <html><head/><body><p>Any method allowed</p></body></html> + Any method allowed @@ -102,7 +102,7 @@ - <html><head/><body><p>Rotation angle</p></body></html> + Rotation angle 0 @@ -112,7 +112,7 @@ - <html><head/><body><p>Use ISO standard</p></body></html> + Use ISO standard ISO @@ -125,7 +125,7 @@ - <html><head/><body><p>Use ASME standard</p></body></html> + Use ASME standard ASME