Salome HOME
updated copyright message
[modules/gui.git] / src / PV3DViewer / PV3DViewer_ViewWindow.h
1 // Copyright (C) 2023  CEA, EDF
2 //
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License, or (at your option) any later version.
7 //
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 // Lesser General Public License for more details.
12 //
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19
20 #ifndef PV3DVIEWER_VIEWWINDOW_H
21 #define PV3DVIEWER_VIEWWINDOW_H
22
23 #include "PV3DViewer.h"
24
25 #include "SUIT_ViewWindow.h"
26 #include <QMap>
27
28 class SUIT_Desktop;
29 class PV3DViewer_ViewModel;
30 class pqTabbedMultiViewWidget;
31
32 class PV3DVIEWER_EXPORT PV3DViewer_ViewWindow : public SUIT_ViewWindow
33 {
34   Q_OBJECT
35
36 public:
37   PV3DViewer_ViewWindow( SUIT_Desktop*, PV3DViewer_ViewModel* );
38   virtual ~PV3DViewer_ViewWindow();
39
40   pqTabbedMultiViewWidget* getMultiViewManager() const;
41
42   static void removePVMgr();
43
44 private:
45   SUIT_Desktop*             myDesktop;
46   PV3DViewer_ViewModel*     myModel;
47   pqTabbedMultiViewWidget*  myPVMgr;
48 };
49
50 #endif // PV3DVIEWER_VIEWWINDOW_H