[TD]allow showing units on individual dimensions
This commit is contained in:
@@ -548,19 +548,6 @@ void QGIDatumLabel::setToleranceString()
|
||||
updateFrameRect();
|
||||
}
|
||||
|
||||
void QGIDatumLabel::setUnitString(QString text)
|
||||
{
|
||||
prepareGeometryChange();
|
||||
if (text.isEmpty()) {
|
||||
m_unitText->hide();
|
||||
}
|
||||
else {
|
||||
m_unitText->setPlainText(text);
|
||||
m_unitText->show();
|
||||
}
|
||||
updateFrameRect();
|
||||
}
|
||||
|
||||
|
||||
int QGIDatumLabel::getPrecision()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user