]> SALOME platform Git repositories - modules/hydro.git/blob - src/HYDROGUI/HYDROGUI_Operation.h
Salome HOME
Compilation by CMake.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_Operation.h
1
2 #ifndef HYDROGUI_OPERATION_HEADER
3 #define HYDROGUI_OPERATION_HEADER
4
5 #include <HYDROGUI.h>
6 #include <SUIT_Operation.h>
7
8 class HYDROGUI_Module;
9 class HYDROGUI_InputPanel;
10 class SUIT_SelectionMgr;
11
12 class HYDROGUI_Operation : public SUIT_Operation
13 {
14   Q_OBJECT
15
16 public:
17   HYDROGUI_Operation( HYDROGUI_Module* theModule );
18   virtual ~HYDROGUI_Operation();
19
20   HYDROGUI_InputPanel* inputPanel() const;
21   SUIT_SelectionMgr* selectionMgr() const;
22
23 protected:
24   virtual void startOperation();
25   virtual HYDROGUI_InputPanel* createInputPanel() const = 0;
26
27 protected slots:
28   virtual void OnSelectionDone();
29
30 private:
31   HYDROGUI_Module* myModule;
32   HYDROGUI_InputPanel* myPanel;
33 };
34
35 #endif