1 #ifndef RS_ACTIONDRAWLINETANGENT1_H
2 #define RS_ACTIONDRAWLINETANGENT1_H
5 #include "rs_previewactioninterface.h"
12 * This action class can handle user events to draw tangents from points
15 * @author Andrew Mustun
17 class RS_ActionDrawLineTangent1: public RS_PreviewActionInterface
21 SetPoint, /**< Choose the startpoint. */
22 SetCircle /**< Choose the circle / arc. */
26 RS_ActionDrawLineTangent1(RS_EntityContainer & container, GraphicView & graphicView);
27 ~RS_ActionDrawLineTangent1();
29 virtual void trigger();
30 virtual void mouseMoveEvent(QMouseEvent * e);
31 virtual void mouseReleaseEvent(QMouseEvent * e);
32 virtual void coordinateEvent(Vector * e);
33 virtual void updateMouseButtonHints();
34 virtual void updateMouseCursor();
35 virtual void updateToolBar();
38 /** Closest tangent. */
40 /** Chosen startpoint */
44 /** Data of new tangent */