]> Shamusworld >> Repos - architektonas/blob - src/actions/rs_actionmodifyentity.h
Major refactoring of actions: Moved implementation from header files
[architektonas] / src / actions / rs_actionmodifyentity.h
1 #ifndef RS_ACTIONMODIFYENTITY_H
2 #define RS_ACTIONMODIFYENTITY_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_ActionModifyEntity: public RS_ActionInterface
14 {
15         //Q_OBJECT
16         public:
17                 RS_ActionModifyEntity(RS_EntityContainer & container, RS_GraphicView & graphicView);
18                 ~RS_ActionModifyEntity();
19
20                 virtual void trigger();
21                 virtual void mouseReleaseEvent(QMouseEvent * e);
22                 virtual void updateMouseCursor();
23
24         private:
25                 RS_Entity * en;
26 };
27
28 #endif