]> SALOME platform Git repositories - modules/shaper.git/blob - src/PartSet/PartSet_Module.h
Salome HOME
refs #30 - Sketch base GUI: create, draw lines
[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 onOperationStarted();
26   void onOperationStopped(ModuleBase_Operation* theOperation);
27
28 private:
29   void visualizePreview(bool isDisplay);
30
31 private:
32   XGUI_Workshop* myWorkshop;
33 };
34
35 #endif