Salome HOME
*** empty log message ***
[modules/gui.git] / src / Plot2d / Plot2d_ViewManager.h
1 #ifndef PLOT2D_VIEWMANAGER_H
2 #define PLOT2D_VIEWMANAGER_H
3
4 #include "Plot2d.h"
5
6 #include "Plot2d_ViewWindow.h"
7
8 #include "SUIT_Desktop.h"
9 #include "SUIT_ViewWindow.h"
10 #include "SUIT_ViewManager.h"
11
12 class SUIT_Desktop;
13
14 class PLOT2D_EXPORT Plot2d_ViewManager : public SUIT_ViewManager
15 {
16   Q_OBJECT
17
18 public:
19   Plot2d_ViewManager( SUIT_Study*, SUIT_Desktop* );
20   ~Plot2d_ViewManager();
21
22   Plot2d_Viewer*     getPlot2dModel() { return (Plot2d_Viewer*)myViewModel; };
23
24 protected:
25   void         setViewName(SUIT_ViewWindow* theView);
26   bool         insertView(SUIT_ViewWindow* theView);
27
28 public slots:
29   void         createView();
30
31
32 protected:
33   static  int  myMaxId;
34   int          myId;
35 };
36
37 #endif