Blob Blame Raw
diff -ur BUILD/qcad-2.0.5.0-1-community.src/qcad/src/qc_applicationwindow.cpp qcad-2.0.5.0-1-community.src/qcad/src/qc_applicationwindow.cpp
--- BUILD/qcad-2.0.5.0-1-community.src/qcad/src/qc_applicationwindow.cpp	2008-01-16 22:04:55.000000000 +0200
+++ qcad-2.0.5.0-1-community.src/qcad/src/qc_applicationwindow.cpp	2008-01-16 21:56:16.000000000 +0200
@@ -750,6 +750,9 @@
     action = actionFactory.createAction(RS2::ActionDrawArcParallel, actionHandler);
     action->addTo(subMenu);
     connect(this, SIGNAL(windowsChanged(bool)), action, SLOT(setEnabled(bool)));
+    action = actionFactory.createAction(RS2::ActionDrawArcTangential, actionHandler);
+    action->addTo(subMenu);
+    connect(this, SIGNAL(windowsChanged(bool)), action, SLOT(setEnabled(bool)));
     menu->insertItem(tr("&Arc"), subMenu);
     // Circles:
     subMenu=new QPopupMenu(this);
diff -ur BUILD/qcad-2.0.5.0-1-community.src/qcadguiqt/src/qg_actionfactory.cpp qcad-2.0.5.0-1-community.src/qcadguiqt/src/qg_actionfactory.cpp
--- BUILD/qcad-2.0.5.0-1-community.src/qcadguiqt/src/qg_actionfactory.cpp	2005-11-22 13:52:22.000000000 +0200
+++ qcad-2.0.5.0-1-community.src/qcadguiqt/src/qg_actionfactory.cpp	2008-01-16 20:31:59.000000000 +0200
@@ -45,6 +45,7 @@
 #include "rs_actiondimradial.h"
 #include "rs_actiondrawarc.h"
 #include "rs_actiondrawarc3p.h"
+#include "rs_actiondrawarctangential.h"
 #include "rs_actiondrawcircle.h"
 #include "rs_actiondrawcircle2p.h"
 #include "rs_actiondrawcircle3p.h"
@@ -632,6 +633,12 @@
                 obj, SLOT(slotDrawArcParallel()));
         break;
 
+    case RS2::ActionDrawArcTangential:
+                action = RS_ActionDrawArcTangential::createGUIAction(id, mw);
+        connect(action, SIGNAL(activated()),
+                obj, SLOT(slotDrawArcTangential()));
+        break;
+
     case RS2::ActionDrawEllipseAxis:
 		action = RS_ActionDrawEllipseAxis::createGUIAction(id, mw);
         connect(action, SIGNAL(activated()),