1 #ifndef RS_ACTIONINFOAREA_H
2 #define RS_ACTIONINFOAREA_H
4 #include "rs_infoarea.h"
5 #include "rs_previewactioninterface.h"
11 * This action class can handle user events to measure distances between
14 * @author Andrew Mustun
16 class RS_ActionInfoArea: public RS_PreviewActionInterface
23 SetFirstPoint, /**< Setting the 1st point of the polygon. */
24 SetNextPoint /**< Setting a next point. */
28 RS_ActionInfoArea(RS_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();
43 RS_Entity * currentLine;
44 RS_Entity * closingLine;