Surface: new Extend icon for existing Surface_ExtendFace command

The icon is added to the `.qrc` resource file.

The command is added to the Surface toolbar.
This commit is contained in:
vocx-fc
2020-09-30 02:39:42 -05:00
committed by wmayer
parent 165feeba53
commit 3ec05cefcb
4 changed files with 5771 additions and 1 deletions

View File

@@ -232,6 +232,7 @@ CmdSurfaceExtendFace::CmdSurfaceExtendFace()
sToolTipText = QT_TR_NOOP("Extend face");
sWhatsThis = "Surface_ExtendFace";
sStatusTip = sToolTipText;
sPixmap = "Surface_Extend";
}
void CmdSurfaceExtendFace::activated(int)

View File

@@ -3,6 +3,7 @@
<file>icons/Surface_BezierSurface.svg</file>
<file>icons/Surface_BSplineSurface.svg</file>
<file>icons/Surface_Cut.svg</file>
<file>icons/Surface_Extend.svg</file>
<file>icons/Surface_Filling.svg</file>
<file>icons/Surface_Sections.svg</file>
<file>icons/Surface_Sewing.svg</file>

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 187 KiB

View File

@@ -71,7 +71,8 @@ Gui::ToolBarItem* Workbench::setupToolBars() const
surface->setCommand( "Surface" );
*surface << "Surface_Filling"
<< "Surface_GeomFillSurface"
<< "Surface_Sections";
<< "Surface_Sections"
<< "Surface_ExtendFace";
/* *surface << "Surface_Cut"; */
return root;