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