diff --git a/src/Mod/TechDraw/Gui/CommandExtensionDims.cpp b/src/Mod/TechDraw/Gui/CommandExtensionDims.cpp index c3eab1d0f4..1781a2a0ec 100644 --- a/src/Mod/TechDraw/Gui/CommandExtensionDims.cpp +++ b/src/Mod/TechDraw/Gui/CommandExtensionDims.cpp @@ -156,8 +156,8 @@ CmdTechDrawExtensionInsertSquare::CmdTechDrawExtensionInsertSquare() { sAppModule = "TechDraw"; sGroup = QT_TR_NOOP("TechDraw"); - sMenuText = QT_TR_NOOP("Insert '〼' Prefix"); - sToolTipText = QT_TR_NOOP("Insert a '〼' symbol at the beginning of the dimension text:
\ + sMenuText = QT_TR_NOOP("Insert '□' Prefix"); + sToolTipText = QT_TR_NOOP("Insert a '□' symbol at the beginning of the dimension text:
\ - Select one or more dimensions
\ - Click this tool"); sWhatsThis = "TechDraw_ExtensionInsertSquare"; @@ -168,7 +168,7 @@ CmdTechDrawExtensionInsertSquare::CmdTechDrawExtensionInsertSquare() void CmdTechDrawExtensionInsertSquare::activated(int iMsg) { Q_UNUSED(iMsg); - execInsertPrefixChar(this, "〼"); + execInsertPrefixChar(this, "□"); //□ white square U+25A1 } bool CmdTechDrawExtensionInsertSquare::isActive(void) @@ -269,8 +269,8 @@ void CmdTechDrawExtensionInsertPrefixGroup::activated(int iMsg) case 0: //insert "⌀" as prefix execInsertPrefixChar(this, "⌀"); break; - case 1: //insert "〼" as prefix - execInsertPrefixChar(this, "〼"); + case 1: //insert "□" as prefix + execInsertPrefixChar(this, "□"); break; case 2: //remove prefix characters execRemovePrefixChar(this); @@ -326,9 +326,9 @@ void CmdTechDrawExtensionInsertPrefixGroup::languageChange() - Click this tool")); arc1->setStatusTip(arc1->text()); QAction* arc2 = a[1]; - arc2->setText(QApplication::translate("CmdTechDrawExtensionInsertSquare", "Insert '〼' Prefix")); + arc2->setText(QApplication::translate("CmdTechDrawExtensionInsertSquare", "Insert '□' Prefix")); arc2->setToolTip(QApplication::translate("CmdTechDrawExtensionInsertSquare", -"Insert a '〼' symbol at the beginning of the dimension text:
\ +"Insert a '□' symbol at the beginning of the dimension text:
\ - Select one or more dimensions
\ - Click this tool")); arc2->setStatusTip(arc2->text()); @@ -2178,7 +2178,7 @@ void CmdTechDrawExtensionCreateLengthArc::activated(int iMsg) { float alpha = acos((radVec1 * radVec2) / (radVec1.Length() * radVec2.Length())); float arcLength = alpha * radius / scale; dim->Arbitrary.setValue(true); - formatSpec << "∩ " << arcLength; + formatSpec << "◠ " << arcLength; dim->FormatSpec.setValue(formatSpec.str()); objFeat->refreshCEGeoms(); objFeat->requestPaint(); diff --git a/src/Mod/TechDraw/Gui/Resources/icons/TechDraw_ExtensionInsertSquare.svg b/src/Mod/TechDraw/Gui/Resources/icons/TechDraw_ExtensionInsertSquare.svg index 515cb9942f..0eb17119c8 100644 --- a/src/Mod/TechDraw/Gui/Resources/icons/TechDraw_ExtensionInsertSquare.svg +++ b/src/Mod/TechDraw/Gui/Resources/icons/TechDraw_ExtensionInsertSquare.svg @@ -1,79 +1,35 @@ - - + version="1.1" + viewBox="0 0 8.4666665 8.466667" + height="32" + width="32"> - + id="filter1958" + style="color-interpolation-filters:sRGB"> + mode="exclusion" /> + id="filter1958-7" + style="color-interpolation-filters:sRGB"> + mode="exclusion" /> - @@ -87,79 +43,38 @@ + id="layer1"> + - - - - - - - - - + id="g908" + style="filter:url(#filter1958-7)" + transform="matrix(0.45953633,0,0,0.45953633,0.32783854,160.31576)"> + + + diff --git a/src/Mod/TechDraw/Gui/Resources/icons/TechDraw_ExtensionRemovePrefixChar.svg b/src/Mod/TechDraw/Gui/Resources/icons/TechDraw_ExtensionRemovePrefixChar.svg index 2287375c2e..326e5b5fa8 100644 --- a/src/Mod/TechDraw/Gui/Resources/icons/TechDraw_ExtensionRemovePrefixChar.svg +++ b/src/Mod/TechDraw/Gui/Resources/icons/TechDraw_ExtensionRemovePrefixChar.svg @@ -1,49 +1,113 @@ - - - - - - + +image/svg+xml + + + - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + \ No newline at end of file