Salome HOME
To adjust to new SalomeApp_DataOwner, which now holds SALOME_InteractiveObject
[modules/gui.git] / src / OCCViewer / OCCViewer_ViewManager.h
1 #ifndef OCCVIEWER_VIEWMANAGER_H
2 #define OCCVIEWER_VIEWMANAGER_H
3
4 #include "OCCViewer_ViewModel.h"
5
6 #include "SUIT_ViewManager.h"
7
8 class SUIT_Desktop;
9
10 class OCCVIEWER_EXPORT OCCViewer_ViewManager : public SUIT_ViewManager
11 {
12   Q_OBJECT
13
14 public:
15   OCCViewer_ViewManager( SUIT_Study* study, SUIT_Desktop* theDesktop, bool DisplayTrihedron = true );
16   ~OCCViewer_ViewManager();
17
18   OCCViewer_Viewer* getOCCViewer() { return (OCCViewer_Viewer*) myViewModel; }
19
20   virtual void      contextMenuPopup( QPopupMenu* );
21
22 protected:
23   void              setViewName(SUIT_ViewWindow* theView);
24
25 protected:
26   static  int       myMaxId;
27   int               myId;
28 };
29
30 #endif