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