Gui: Add alignToSelection() icon and add to toolbar

Co-authored-by: Max Wilfinger <6246609+maxwxyz@users.noreply.github.com>
This commit is contained in:
Bas Ruigrok
2024-05-09 18:01:18 +02:00
parent 52b6f4f5ad
commit c985c3ddee
4 changed files with 152 additions and 3 deletions

View File

@@ -4079,16 +4079,16 @@ bool StdRecallWorkingView::isActive()
//===========================================================================
// Std_AlignToSelection
//===========================================================================
DEF_STD_CMD_A(StdCmdAlignToSelection)
StdCmdAlignToSelection::StdCmdAlignToSelection()
: Command("Std_AlignToSelection")
{
sGroup = "Standard-View";
sGroup = "View";
sMenuText = QT_TR_NOOP("Align to selection");
sToolTipText = QT_TR_NOOP("Align the view with the selection");
sWhatsThis = "Std_AlignToSelection";
sPixmap = "align-to-selection";
eType = Alter3DView;
}