1 #ifndef __ACTIONDRAWARC3P_H__
2 #define __ACTIONDRAWARC3P_H__
5 #include "actioninterface.h"
9 * This action class can handle user events to draw
10 * arcs with three points given.
12 * @author James Hammons
13 * @author Andrew Mustun
15 class ActionDrawArc3P: public ActionInterface
22 SetPoint1, /**< Setting the 1st point. */
23 SetPoint2, /**< Setting the 2nd point. */
24 SetPoint3 /**< Setting the 3rd point. */
28 ActionDrawArc3P(EntityContainer & container, GraphicView & graphicView);
32 virtual void init(int status = 0);
33 virtual void trigger();
34 void preparePreview();
35 virtual void mouseMoveEvent(QMouseEvent * e);
36 virtual void mouseReleaseEvent(QMouseEvent * e);
37 virtual void coordinateEvent(Vector * e);
38 virtual void commandEvent(CommandEvent * e);
39 virtual QStringList getAvailableCommands();
40 virtual void updateMouseButtonHints();
41 virtual void updateMouseCursor();
42 virtual void updateToolBar();
46 * Arc data defined so far.
63 #endif // __ACTIONDRAWARC3P_H__