From a5e980e3691f357b9251749ecd49d0aa8eda9397 Mon Sep 17 00:00:00 2001 From: dismine Date: Thu, 23 Oct 2014 11:44:57 +0300 Subject: [PATCH] New tool arc(curve) intersect axis. --HG-- branch : develop --- src/app/mainwindow.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/mainwindow.cpp b/src/app/mainwindow.cpp index fcefbb624..83a6ae935 100644 --- a/src/app/mainwindow.cpp +++ b/src/app/mainwindow.cpp @@ -952,6 +952,7 @@ void MainWindow::InitToolButtons() connect(ui->toolButtonArcCutPoint, &QToolButton::clicked, this, &MainWindow::ToolCutArc); connect(ui->toolButtonLineIntersectAxis, &QToolButton::clicked, this, &MainWindow::ToolLineIntersectAxis); connect(ui->toolButtonCurveIntersectAxis, &QToolButton::clicked, this, &MainWindow::ToolCurveIntersectAxis); + connect(ui->toolButtonArcIntersectAxis, &QToolButton::clicked, this, &MainWindow::ToolCurveIntersectAxis); } //--------------------------------------------------------------------------------------------------------------------- @@ -1098,6 +1099,7 @@ void MainWindow::CancelTool() break; case Tool::CurveIntersectAxis: ui->toolButtonCurveIntersectAxis->setChecked(false); + ui->toolButtonArcIntersectAxis->setChecked(false); currentScene->setFocus(Qt::OtherFocusReason); currentScene->clearSelection(); break; @@ -1806,6 +1808,7 @@ void MainWindow::SetEnableTool(bool enable) ui->toolButtonArcCutPoint->setEnabled(drawTools); ui->toolButtonLineIntersectAxis->setEnabled(drawTools); ui->toolButtonCurveIntersectAxis->setEnabled(drawTools); + ui->toolButtonArcIntersectAxis->setEnabled(drawTools); //Modeling Tools ui->toolButtonUnionDetails->setEnabled(modelingTools);