]> Shamusworld >> Repos - architektonas/blob - src/actions/rs_actionlayersfreezeall.h
Initial import
[architektonas] / src / actions / rs_actionlayersfreezeall.h
1 #ifndef RS_ACTIONLAYERSFREEZEALL_H
2 #define RS_ACTIONLAYERSFREEZEALL_H
3
4 #include "rs_actioninterface.h"
5
6 /**
7  * This action class can handle user events to edit layers.
8  *
9  * @author Andrew Mustun
10  */
11 class RS_ActionLayersFreezeAll: public RS_ActionInterface
12 {
13         //Q_OBJECT
14         public:
15                 RS_ActionLayersFreezeAll(bool freeze, RS_EntityContainer & container,
16                         RS_GraphicView & graphicView);
17                 ~RS_ActionLayersFreezeAll() {}
18
19                 static QAction * createGUIAction(RS2::ActionType type, QObject* /*parent*/);
20
21                 virtual void init(int status = 0);
22                 virtual void trigger();
23
24         private:
25                 bool freeze;
26 };
27
28 #endif