Fix incorrect angle value in tool tooltip.
--HG-- branch : release
This commit is contained in:
parent
3db4f4ef6d
commit
ea18a1c2ec
|
@ -390,9 +390,9 @@ QString VToolArc::MakeToolTip() const
|
||||||
.arg(UnitsToStr(qApp->patternUnit(), true), tr("Radius"))
|
.arg(UnitsToStr(qApp->patternUnit(), true), tr("Radius"))
|
||||||
.arg(qApp->fromPixel(arc->GetRadius()))
|
.arg(qApp->fromPixel(arc->GetRadius()))
|
||||||
.arg(tr("Start angle"))
|
.arg(tr("Start angle"))
|
||||||
.arg(qApp->fromPixel(arc->GetStartAngle()))
|
.arg(arc->GetStartAngle())
|
||||||
.arg(tr("End angle"))
|
.arg(tr("End angle"))
|
||||||
.arg(qApp->fromPixel(arc->GetEndAngle()))
|
.arg(arc->GetEndAngle())
|
||||||
.arg(tr("Label"), arc->name());
|
.arg(tr("Label"), arc->name());
|
||||||
return toolTip;
|
return toolTip;
|
||||||
}
|
}
|
||||||
|
|
|
@ -369,9 +369,9 @@ QString VToolArcWithLength::MakeToolTip() const
|
||||||
.arg(UnitsToStr(qApp->patternUnit(), true), tr("Radius"))
|
.arg(UnitsToStr(qApp->patternUnit(), true), tr("Radius"))
|
||||||
.arg(qApp->fromPixel(arc->GetRadius()))
|
.arg(qApp->fromPixel(arc->GetRadius()))
|
||||||
.arg(tr("Start angle"))
|
.arg(tr("Start angle"))
|
||||||
.arg(qApp->fromPixel(arc->GetStartAngle()))
|
.arg(arc->GetStartAngle())
|
||||||
.arg(tr("End angle"))
|
.arg(tr("End angle"))
|
||||||
.arg(qApp->fromPixel(arc->GetEndAngle()))
|
.arg(arc->GetEndAngle())
|
||||||
.arg(tr("Label"), arc->name());
|
.arg(tr("Label"), arc->name());
|
||||||
return toolTip;
|
return toolTip;
|
||||||
}
|
}
|
||||||
|
|
|
@ -278,9 +278,9 @@ QString VToolCutArc::MakeToolTip() const
|
||||||
.arg(UnitsToStr(qApp->patternUnit(), true), arcStr + arcNumber + QChar(QChar::Space) + radiusStr)
|
.arg(UnitsToStr(qApp->patternUnit(), true), arcStr + arcNumber + QChar(QChar::Space) + radiusStr)
|
||||||
.arg(qApp->fromPixel(arc.GetRadius()))
|
.arg(qApp->fromPixel(arc.GetRadius()))
|
||||||
.arg(arcStr + arcNumber + QChar(QChar::Space) + startAngleStr)
|
.arg(arcStr + arcNumber + QChar(QChar::Space) + startAngleStr)
|
||||||
.arg(qApp->fromPixel(arc.GetStartAngle()))
|
.arg(arc.GetStartAngle())
|
||||||
.arg(arcStr + arcNumber + QChar(QChar::Space) + endAngleStr)
|
.arg(arcStr + arcNumber + QChar(QChar::Space) + endAngleStr)
|
||||||
.arg(qApp->fromPixel(arc.GetEndAngle()))
|
.arg(arc.GetEndAngle())
|
||||||
.arg(arcStr + arcNumber + QChar(QChar::Space) + tr("label"), arc.name());
|
.arg(arcStr + arcNumber + QChar(QChar::Space) + tr("label"), arc.name());
|
||||||
return toolTip;
|
return toolTip;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user