Improve Cut arc tool tooltip.
Show ids of subarcs. --HG-- branch : release
This commit is contained in:
parent
b352c12afa
commit
7a50ef7f2b
|
@ -262,6 +262,8 @@ QString VToolCutArc::MakeToolTip() const
|
||||||
VArc ar1;
|
VArc ar1;
|
||||||
VArc ar2;
|
VArc ar2;
|
||||||
arc->CutArc(qApp->toPixel(length), ar1, ar2);
|
arc->CutArc(qApp->toPixel(length), ar1, ar2);
|
||||||
|
ar1.setId(m_id + 1);
|
||||||
|
ar2.setId(m_id + 2);
|
||||||
|
|
||||||
auto ArcToolTip = [arcStr, lengthStr, startAngleStr, endAngleStr, radiusStr](QString toolTip, const VArc &arc,
|
auto ArcToolTip = [arcStr, lengthStr, startAngleStr, endAngleStr, radiusStr](QString toolTip, const VArc &arc,
|
||||||
const QString &arcNumber)
|
const QString &arcNumber)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user