1 #ifndef __ACTIONINFODIST_H__
2 #define __ACTIONINFODIST_H__
4 #include "actioninterface.h"
8 * This action class can handle user events to measure distances between
11 * @author James Hammons
12 * @author Andrew Mustun
14 class ActionInfoDist: public ActionInterface
21 SetPoint1, /**< Setting the 1st point of the distance. */
22 SetPoint2 /**< Setting the 2nd point of the distance. */
26 ActionInfoDist(EntityContainer & container, GraphicView & graphicView);
29 virtual void init(int status = 0);
30 virtual void trigger();
31 virtual void mouseMoveEvent(QMouseEvent * e);
32 virtual void mouseReleaseEvent(QMouseEvent * e);
33 virtual void coordinateEvent(Vector * e);
34 virtual void updateMouseButtonHints();
35 virtual void updateMouseCursor();
36 virtual void updateToolBar();
43 #endif // __ACTIONINFODIST_H__