Surface, MeshPart: update CurveOnMesh command tooltip and task panel

* Add new icon `MeshPart_CurveOnMesh`, which is the same as
the `Surface_CurveOnMesh` icon but in green color.
The surface icon is used in the Surface Workbench, while the MeshPart
version is currently not used.
* Make the tooltip of the command shorter; the longer instructions
are added in the `TaskCurveOnMesh` task panel.
This commit is contained in:
vocx-fc
2020-10-12 23:54:10 -05:00
committed by Yorik van Havre
parent 0f5d6ea096
commit 36f103d74c
5 changed files with 2332 additions and 25 deletions

View File

@@ -198,15 +198,8 @@ CmdSurfaceCurveOnMesh::CmdSurfaceCurveOnMesh()
sAppModule = "MeshPart";
sGroup = QT_TR_NOOP("Surface");
sMenuText = QT_TR_NOOP("Curve on mesh...");
sToolTipText = QT_TR_NOOP("Creates an approximated curve on top of the selected mesh.\n"
"Press 'Start', then pick points on the mesh; "
"when enough points have been set,\n"
"right-click and choose 'Create'.\n"
"\n"
"This command only works with a 'mesh' object, "
"not a regular face or surface.\n"
"To convert an object to a mesh "
"use the tools of the Mesh Workbench.");
sToolTipText = QT_TR_NOOP("Creates an approximated curve on top of a mesh.\n"
"This command only works with a 'mesh' object.");
sWhatsThis = "Surface_CurveOnMesh";
sStatusTip = sToolTipText;
sPixmap = "Surface_CurveOnMesh";