Added ToolTip for editing SplinePath.
--HG-- branch : feature
This commit is contained in:
parent
2cf2275365
commit
a362731040
|
@ -48,6 +48,7 @@ VisToolSplinePath::~VisToolSplinePath()
|
||||||
{
|
{
|
||||||
qDeleteAll(ctrlPoints);
|
qDeleteAll(ctrlPoints);
|
||||||
qDeleteAll(points);
|
qDeleteAll(points);
|
||||||
|
emit ToolTip("");
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
|
@ -99,6 +100,11 @@ void VisToolSplinePath::RefreshGeometry()
|
||||||
Visualization::toolTip = tr("<b>Curved path</b>: select three or more points, "
|
Visualization::toolTip = tr("<b>Curved path</b>: select three or more points, "
|
||||||
"<b>Enter</b> - finish creation");
|
"<b>Enter</b> - finish creation");
|
||||||
}
|
}
|
||||||
|
if (mode == Mode::Show)
|
||||||
|
{
|
||||||
|
Visualization::toolTip = tr("Use <b>Shift</b> for sticking angle!");
|
||||||
|
emit ToolTip(Visualization::toolTip);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user