]> Shamusworld >> Repos - architektonas/blob - src/actions/rs_actioninfoinside.h
Refactoring: Moved RS_GraphicView to GraphicView.
[architektonas] / src / actions / rs_actioninfoinside.h
1 #ifndef RS_ACTIONINFOINSIDE_H
2 #define RS_ACTIONINFOINSIDE_H
3
4 #include "rs_actioninterface.h"
5
6 /**
7  * This action class can handle user events for checking if
8  * a given point is inside or outside the selected contour.
9  *
10  * @author Andrew Mustun
11  */
12 class RS_ActionInfoInside: public RS_ActionInterface
13 {
14         public:
15                 RS_ActionInfoInside(RS_EntityContainer & container, GraphicView & graphicView);
16                 ~RS_ActionInfoInside();
17
18                 virtual void trigger();
19                 virtual void mouseMoveEvent(QMouseEvent * e);
20                 virtual void mouseReleaseEvent(QMouseEvent * e);
21                 virtual void updateMouseButtonHints();
22                 virtual void updateMouseCursor();
23                 virtual void updateToolBar();
24
25         private:
26                 Vector pt;
27                 RS_EntityContainer * contour;
28 };
29
30 #endif