]> Shamusworld >> Repos - architektonas/blob - src/actions/rs_actionselectall.h
Initial import
[architektonas] / src / actions / rs_actionselectall.h
1 #ifndef RS_ACTIONSELECTALL_H
2 #define RS_ACTIONSELECTALL_H
3
4 #include "rs_actioninterface.h"
5
6
7 /**
8  * This action class can handle user events to select all entities.
9  *
10  * @author Andrew Mustun
11  */
12 class RS_ActionSelectAll : public RS_ActionInterface {
13         //Q_OBJECT
14 public:
15     RS_ActionSelectAll(RS_EntityContainer& container,
16                        RS_GraphicView& graphicView,
17                        bool select);
18     ~RS_ActionSelectAll() {}
19
20         static QAction* createGUIAction(RS2::ActionType type, QObject* parent);
21
22         virtual RS2::ActionType rtti() {
23                 return RS2::ActionSelectAll;
24         }
25
26     void init(int status);
27     virtual void trigger();
28
29 protected:
30     bool select;
31 };
32
33 #endif