New tool arc(curve) intersect axis.
--HG-- branch : develop
This commit is contained in:
parent
68f25ddf36
commit
a5e980e369
|
@ -952,6 +952,7 @@ void MainWindow::InitToolButtons()
|
||||||
connect(ui->toolButtonArcCutPoint, &QToolButton::clicked, this, &MainWindow::ToolCutArc);
|
connect(ui->toolButtonArcCutPoint, &QToolButton::clicked, this, &MainWindow::ToolCutArc);
|
||||||
connect(ui->toolButtonLineIntersectAxis, &QToolButton::clicked, this, &MainWindow::ToolLineIntersectAxis);
|
connect(ui->toolButtonLineIntersectAxis, &QToolButton::clicked, this, &MainWindow::ToolLineIntersectAxis);
|
||||||
connect(ui->toolButtonCurveIntersectAxis, &QToolButton::clicked, this, &MainWindow::ToolCurveIntersectAxis);
|
connect(ui->toolButtonCurveIntersectAxis, &QToolButton::clicked, this, &MainWindow::ToolCurveIntersectAxis);
|
||||||
|
connect(ui->toolButtonArcIntersectAxis, &QToolButton::clicked, this, &MainWindow::ToolCurveIntersectAxis);
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
|
@ -1098,6 +1099,7 @@ void MainWindow::CancelTool()
|
||||||
break;
|
break;
|
||||||
case Tool::CurveIntersectAxis:
|
case Tool::CurveIntersectAxis:
|
||||||
ui->toolButtonCurveIntersectAxis->setChecked(false);
|
ui->toolButtonCurveIntersectAxis->setChecked(false);
|
||||||
|
ui->toolButtonArcIntersectAxis->setChecked(false);
|
||||||
currentScene->setFocus(Qt::OtherFocusReason);
|
currentScene->setFocus(Qt::OtherFocusReason);
|
||||||
currentScene->clearSelection();
|
currentScene->clearSelection();
|
||||||
break;
|
break;
|
||||||
|
@ -1806,6 +1808,7 @@ void MainWindow::SetEnableTool(bool enable)
|
||||||
ui->toolButtonArcCutPoint->setEnabled(drawTools);
|
ui->toolButtonArcCutPoint->setEnabled(drawTools);
|
||||||
ui->toolButtonLineIntersectAxis->setEnabled(drawTools);
|
ui->toolButtonLineIntersectAxis->setEnabled(drawTools);
|
||||||
ui->toolButtonCurveIntersectAxis->setEnabled(drawTools);
|
ui->toolButtonCurveIntersectAxis->setEnabled(drawTools);
|
||||||
|
ui->toolButtonArcIntersectAxis->setEnabled(drawTools);
|
||||||
|
|
||||||
//Modeling Tools
|
//Modeling Tools
|
||||||
ui->toolButtonUnionDetails->setEnabled(modelingTools);
|
ui->toolButtonUnionDetails->setEnabled(modelingTools);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user