1 #ifndef RS_ACTIONINFODIST_H
2 #define RS_ACTIONINFODIST_H
4 #include "rs_previewactioninterface.h"
8 * This action class can handle user events to measure distances between
11 * @author Andrew Mustun
13 class RS_ActionInfoDist: public RS_PreviewActionInterface
20 SetPoint1, /**< Setting the 1st point of the distance. */
21 SetPoint2 /**< Setting the 2nd point of the distance. */
25 RS_ActionInfoDist(RS_EntityContainer & container, GraphicView & graphicView);
28 virtual void init(int status = 0);
29 virtual void trigger();
30 virtual void mouseMoveEvent(QMouseEvent * e);
31 virtual void mouseReleaseEvent(QMouseEvent * e);
32 virtual void coordinateEvent(Vector * e);
33 virtual void updateMouseButtonHints();
34 virtual void updateMouseCursor();
35 virtual void updateToolBar();