1 #ifndef __ACTIONDRAWCIRCLE2P_H__
2 #define __ACTIONDRAWCIRCLE2P_H__
5 #include "actioninterface.h"
9 * This action class can handle user events to draw
10 * simple arcs with the center, radius, start- and endangle given.
12 * @author James Hammons
13 * @author Andrew Mustun
15 class ActionDrawCircle2P: public ActionInterface
22 SetPoint1, /**< Setting the 1st point. */
23 SetPoint2 /**< Setting the 2nd point. */
27 ActionDrawCircle2P(EntityContainer & container, GraphicView & graphicView);
28 ~ActionDrawCircle2P();
31 virtual void init(int status = 0);
32 virtual void trigger();
33 void preparePreview();
34 virtual void mouseMoveEvent(QMouseEvent * e);
35 virtual void mouseReleaseEvent(QMouseEvent * e);
36 virtual void coordinateEvent(Vector * e);
37 virtual void commandEvent(CommandEvent * e);
38 virtual QStringList getAvailableCommands();
39 virtual void updateMouseButtonHints();
40 virtual void updateMouseCursor();
41 virtual void updateToolBar();
45 * Circle data defined so far.
58 #endif // __ACTIONDRAWCIRCLE2P_H__