Salome HOME
Merge from V6_main_20120808 08Aug12
[modules/gui.git] / src / OCCViewer / OCCViewer_CreateRestoreViewDlg.h
index 1a08d04eaaa96b1b185d922e0c3476c2413530c2..13378b04097f61e5696363cdea795c1606f42ad9 100755 (executable)
@@ -1,30 +1,30 @@
-//  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
 //
-//  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+// Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
 //
-//  This library is free software; you can redistribute it and/or
-//  modify it under the terms of the GNU Lesser General Public
-//  License as published by the Free Software Foundation; either
-//  version 2.1 of the License.
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License.
 //
-//  This library is distributed in the hope that it will be useful,
-//  but WITHOUT ANY WARRANTY; without even the implied warranty of
-//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-//  Lesser General Public License for more details.
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
 //
-//  You should have received a copy of the GNU Lesser General Public
-//  License along with this library; if not, write to the Free Software
-//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
-//  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+
 #ifndef OCCVIEWER_CREATERESTOREVIEWDLG_H
 #define OCCVIEWER_CREATERESTOREVIEWDLG_H
 
 #include "OCCViewer.h"
 
-#include "OCCViewer_ViewModel.h"
 #include "OCCViewer_ViewWindow.h"
 
 #include <QtxDialog.h>
@@ -43,32 +43,32 @@ class QListWidgetItem;
 
 class OCCVIEWER_EXPORT OCCViewer_CreateRestoreViewDlg : public QDialog
 {
-       Q_OBJECT
+        Q_OBJECT
 
 public:
-       OCCViewer_CreateRestoreViewDlg( QWidget*, OCCViewer_Viewer* );
-       virtual ~OCCViewer_CreateRestoreViewDlg();
+        OCCViewer_CreateRestoreViewDlg( QWidget*, OCCViewer_ViewWindow* );
+        virtual ~OCCViewer_CreateRestoreViewDlg();
 
-       const viewAspectList&         parameters() const;
-       viewAspect                    currentItem() const;
-       virtual bool                  eventFilter( QObject*, QEvent* );
+        const viewAspectList&         parameters() const;
+        viewAspect                    currentItem() const;
+        virtual bool                  eventFilter( QObject*, QEvent* );
 
 public slots:
-       void                          OKpressed();
-       void                          clearList();
-       void                          editItemText( QListWidgetItem* );
-       void                          changeImage( QListWidgetItem* );
-       void                          deleteSelectedItems();
+        void                          OKpressed();
+        void                          clearList();
+        void                          editItemText( QListWidgetItem* );
+        void                          changeImage( QListWidgetItem* );
+        void                          deleteSelectedItems();
 
 signals:
-       void                          dlgOk();
+        void                          dlgOk();
 
 private:
-       int                           myKeyFlag;
-       QListWidget*                  myListBox;
-       OCCViewer_ViewPort3d*         myCurViewPort;
-       viewAspect                    myCurrentItem;
-       viewAspectList                myParametersMap;
+        int                           myKeyFlag;
+        QListWidget*                  myListBox;
+        OCCViewer_ViewPort3d*         myCurViewPort;
+        viewAspect                    myCurrentItem;
+        viewAspectList                myParametersMap;
 };
 
 #ifdef WIN32