1 #ifndef __ACTIONINFOAREA_H__
2 #define __ACTIONINFOAREA_H__
5 #include "actioninterface.h"
11 * This action class can handle user events to measure distances between
14 * @author James Hammons
15 * @author Andrew Mustun
17 class ActionInfoArea: public ActionInterface
24 SetFirstPoint, /**< Setting the 1st point of the polygon. */
25 SetNextPoint /**< Setting a next point. */
29 ActionInfoArea(EntityContainer & container, GraphicView & graphicView);
32 virtual void init(int status = 0);
33 virtual void trigger();
34 virtual void mouseMoveEvent(QMouseEvent * e);
35 virtual void mouseReleaseEvent(QMouseEvent * e);
36 virtual void coordinateEvent(Vector * e);
37 virtual void updateMouseButtonHints();
38 virtual void updateMouseCursor();
39 virtual void updateToolBar();
49 #endif // __ACTIONINFOAREA_H__