1 #ifndef __ACTIONDRAWLINETANGENT1_H__
2 #define __ACTIONDRAWLINETANGENT1_H__
5 #include "actioninterface.h"
12 * This action class can handle user events to draw tangents from points
15 * @author James Hammons
16 * @author Andrew Mustun
18 class ActionDrawLineTangent1: public ActionInterface
22 SetPoint, /**< Choose the startpoint. */
23 SetCircle /**< Choose the circle / arc. */
27 ActionDrawLineTangent1(EntityContainer & container, GraphicView & graphicView);
28 ~ActionDrawLineTangent1();
30 virtual void trigger();
31 virtual void mouseMoveEvent(QMouseEvent * e);
32 virtual void mouseReleaseEvent(QMouseEvent * e);
33 virtual void coordinateEvent(Vector * e);
34 virtual void updateMouseButtonHints();
35 virtual void updateMouseCursor();
36 virtual void updateToolBar();
39 /** Closest tangent. */
41 /** Chosen startpoint */
45 /** Data of new tangent */
49 #endif // __ACTIONDRAWLINETANGENT1_H__