]> Shamusworld >> Repos - architektonas/blob - src/actions/rs_actionselectsingle.h
Last checkin before major refactor...
[architektonas] / src / actions / rs_actionselectsingle.h
1 #ifndef RS_ACTIONSELECTSINGLE_H
2 #define RS_ACTIONSELECTSINGLE_H
3
4 #include "rs_actioninterface.h"
5
6 class RS_Entity;
7
8 /**
9  * This action class can handle user events to select entities.
10  *
11  * @author Andrew Mustun
12  */
13 class RS_ActionSelectSingle: public RS_ActionInterface
14 {
15         public:
16                 RS_ActionSelectSingle(RS_EntityContainer & container, GraphicView & graphicView);
17                 ~RS_ActionSelectSingle();
18
19                 virtual RS2::ActionType rtti();
20                 virtual void trigger();
21                 virtual void keyPressEvent(QKeyEvent * e);
22                 virtual void mouseReleaseEvent(QMouseEvent * e);
23                 virtual void updateMouseCursor();
24
25         private:
26                 RS_Entity * en;
27 };
28
29 #endif