Improve Cut arc tool tooltip.

Show ids of subarcs.

--HG--
branch : release
This commit is contained in:
Roman Telezhynskyi 2019-05-29 13:29:57 +03:00
parent b352c12afa
commit 7a50ef7f2b

View File

@ -262,6 +262,8 @@ QString VToolCutArc::MakeToolTip() const
VArc ar1;
VArc 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,
const QString &arcNumber)