1 #ifndef __ACTIONINFODIST2_H__
2 #define __ACTIONINFODIST2_H__
4 #include "actioninterface.h"
10 * This action class can handle user events to measure distances between
11 * entities and points.
13 * @author James Hammons
14 * @author Andrew Mustun
16 class ActionInfoDist2: public ActionInterface
23 SetEntity, /**< Setting the entity. */
24 SetPoint /**< Setting the point of the distance. */
28 ActionInfoDist2(EntityContainer & container, GraphicView & graphicView);
31 virtual void init(int status = 0);
32 virtual void trigger();
33 virtual void mouseMoveEvent(QMouseEvent * e);
34 virtual void mouseReleaseEvent(QMouseEvent * e);
35 virtual void coordinateEvent(Vector * e);
36 virtual void updateMouseButtonHints();
37 virtual void updateMouseCursor();
38 virtual void updateToolBar();
45 #endif // __ACTIONINFODIST2_H__