1 #ifndef RS_ACTIONINFODIST2_H
2 #define RS_ACTIONINFODIST2_H
4 #include "rs_previewactioninterface.h"
10 * This action class can handle user events to measure distances between
11 * entities and points.
13 * @author Andrew Mustun
15 class RS_ActionInfoDist2: public RS_PreviewActionInterface
22 SetEntity, /**< Setting the entity. */
23 SetPoint /**< Setting the point of the distance. */
27 RS_ActionInfoDist2(RS_EntityContainer & container, GraphicView & graphicView);
28 ~RS_ActionInfoDist2();
30 virtual void init(int status = 0);
31 virtual void trigger();
32 virtual void mouseMoveEvent(QMouseEvent * e);
33 virtual void mouseReleaseEvent(QMouseEvent * e);
34 virtual void coordinateEvent(Vector * e);
35 virtual void updateMouseButtonHints();
36 virtual void updateMouseCursor();
37 virtual void updateToolBar();