1 #ifndef __ACTIONDRAWLINETANGENT2_H__
2 #define __ACTIONDRAWLINETANGENT2_H__
5 #include "actioninterface.h"
9 * This action class can handle user events to draw tangents from circle to
12 * @author James Hammons
13 * @author Andrew Mustun
15 class ActionDrawLineTangent2: public ActionInterface
19 SetCircle1, /**< Choose the startpoint. */
20 SetCircle2 /**< Choose the circle / arc. */
24 ActionDrawLineTangent2(EntityContainer & container, GraphicView & graphicView);
25 ~ActionDrawLineTangent2();
27 virtual void trigger();
28 virtual void mouseMoveEvent(QMouseEvent * e);
29 virtual void mouseReleaseEvent(QMouseEvent * e);
30 virtual void updateMouseButtonHints();
31 //virtual void hideOptions();
32 //virtual void showOptions();
33 virtual void updateMouseCursor();
34 virtual void updateToolBar();
37 /** Closest tangent. */
39 /** 1st chosen entity */
41 /** 2nd chosen entity */
43 /** Data of new tangent */
47 #endif // __ACTIONDRAWLINETANGENT2_H__