Move Tool options and Group menu to Window section.
--HG-- branch : develop
This commit is contained in:
parent
c2091c6337
commit
deddd8a1ec
|
@ -18,6 +18,7 @@
|
|||
- Two new passmark types: U and Box.
|
||||
- [#969] Fix length to label after soom.
|
||||
- [#725] Improve labels on drawing.
|
||||
- Move Tool options and Group menu to Window section.
|
||||
|
||||
# Version 0.6.2 (unreleased)
|
||||
- [#903] Bug in tool Cut Spline path.
|
||||
|
|
|
@ -4260,24 +4260,22 @@ QT_WARNING_POP
|
|||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void MainWindow::AddDocks()
|
||||
{
|
||||
ui->menuWindow->addSeparator();
|
||||
|
||||
//Add dock
|
||||
actionDockWidgetToolOptions = ui->dockWidgetToolOptions->toggleViewAction();
|
||||
ui->menuPatternPiece->insertAction(ui->actionPattern_properties, actionDockWidgetToolOptions);
|
||||
ui->menuWindow->addAction(actionDockWidgetToolOptions);
|
||||
connect(ui->dockWidgetToolOptions, &QDockWidget::visibilityChanged, this, [this](bool visible)
|
||||
{
|
||||
isDockToolOptionsVisible = visible;
|
||||
});
|
||||
|
||||
actionDockWidgetGroups = ui->dockWidgetGroups->toggleViewAction();
|
||||
ui->menuPatternPiece->insertAction(ui->actionPattern_properties, actionDockWidgetGroups);
|
||||
ui->menuWindow->addAction(actionDockWidgetGroups);
|
||||
connect(ui->dockWidgetGroups, &QDockWidget::visibilityChanged, this, [this](bool visible)
|
||||
{
|
||||
isDockGroupsVisible = visible;
|
||||
});
|
||||
|
||||
separatorAct = new QAction(this);
|
||||
separatorAct->setSeparator(true);
|
||||
ui->menuPatternPiece->insertAction(ui->actionPattern_properties, separatorAct);
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue
Block a user