fix(nmNum): 修复默认边界名称乱码

develop
lh 1 week ago
parent 39733d2e71
commit 25cb5343ed

Binary file not shown.

@ -5605,6 +5605,21 @@ Please check your input coordinates.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
<context>
<name>nmWxParaPropertyPebi</name>
<message>
<source>RectangleOutline</source>
<translation></translation>
</message>
<message>
<source>CircleOutline</source>
<translation></translation>
</message>
<message>
<source>PolygonOutline</source>
<translation></translation>
</message>
</context>
<context> <context>
<name>nmWxParameterProperty</name> <name>nmWxParameterProperty</name>
<message> <message>

@ -608,7 +608,7 @@ bool nmSubWndUtils::fillNmDockWxs(iSubWnd* pSubWnd)
tr("The rectangular-boundary data could not be created.")); tr("The rectangular-boundary data could not be created."));
} }
Q_ASSERT(pOutlineData); Q_ASSERT(pOutlineData);
// 设置默认边界名称 // 默认名称留空,由界面根据边界类型进行翻译显示。
pOutlineData->setName(""); pOutlineData->setName("");
// 设置边界点 // 设置边界点
pOutlineData->setOutlinePoints(vecBoundaryPoints); pOutlineData->setOutlinePoints(vecBoundaryPoints);
@ -633,7 +633,7 @@ bool nmSubWndUtils::fillNmDockWxs(iSubWnd* pSubWnd)
tr("The circular-boundary data could not be created.")); tr("The circular-boundary data could not be created."));
} }
Q_ASSERT(pOutlineData); Q_ASSERT(pOutlineData);
// 设置默认边界名称 // 默认名称留空,由界面根据边界类型进行翻译显示。
pOutlineData->setName(""); pOutlineData->setName("");
// 设置半径 // 设置半径
pOutlineData->setRadius(dRadius); pOutlineData->setRadius(dRadius);
@ -667,7 +667,7 @@ bool nmSubWndUtils::fillNmDockWxs(iSubWnd* pSubWnd)
tr("The default numerical boundary could not be created.")); tr("The default numerical boundary could not be created."));
} }
Q_ASSERT(pDefaultOutlineData); Q_ASSERT(pDefaultOutlineData);
// 设置默认边界名称 // 默认名称留空,由界面根据边界类型进行翻译显示。
pDefaultOutlineData->setName(""); pDefaultOutlineData->setName("");
// 设置边界点 // 设置边界点
QVector<QPointF> vecPoints; QVector<QPointF> vecPoints;

Loading…
Cancel
Save