]> SALOME platform Git repositories - modules/shaper.git/blob - src/PartSet/PartSet_Module.h
Salome HOME
Merge branch 'master' of newgeom:newgeom
[modules/shaper.git] / src / PartSet / PartSet_Module.h
1 #ifndef PartSet_Module_H
2 #define PartSet_Module_H
3
4 #include "PartSet.h"
5
6 #include <XGUI_Module.h>
7 #include <XGUI_Command.h>
8
9 #include <QObject>
10
11 class PARTSET_EXPORT PartSet_Module: public QObject, public XGUI_Module
12 {
13 Q_OBJECT
14   std::string modulePlugin();
15
16 public:
17   PartSet_Module(XGUI_Workshop* theWshop);
18   virtual ~PartSet_Module();
19
20   virtual void createFeatures();
21   virtual void featureCreated(XGUI_Command* theFeature);
22
23 public slots:
24   void onFeatureTriggered();
25   void onBeforeOperationStart();
26   void onOperationStopped();
27   void onVisualizePreview(bool isDisplay);
28
29 private:
30   XGUI_Workshop* myWorkshop;
31 };
32
33 #endif