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