Salome HOME
Upgrade to paraview 5.4
[modules/gui.git] / src / SVTK / SVTK_ViewParameterDlg.h
index 3a6f3e8b03ff72e4c30fed3b524a2173a53aa88f..54bd14b254fcdebeee4a4cf74f7ee7f6c55a01f0 100755 (executable)
@@ -1,36 +1,32 @@
-//  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2016  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
+// 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, or (at your option) any later version.
 //
-//  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
 //
+
 //  SALOME VTKViewer : build VTK viewer into Salome desktop
 //  File   : 
 //  Author : 
-//  Module : SALOME
-//  $Header:
-//
+
 #ifndef SVTK_VIEWPARAMETERDLG_H
 #define SVTK_VIEWPARAMETERDLG_H
 
 #include "SVTK.h"
 
-#include "SVTK_DialogBase.h"
+#include <ViewerTools_DialogBase.h>
 
 #include <vtkSmartPointer.h>
 #include <vtkTimeStamp.h>
@@ -49,14 +45,14 @@ class QButtonGroup;
 class vtkCallbackCommand;
 class vtkObject;
 
-class SVTK_EXPORT SVTK_ViewParameterDlg : public SVTK_DialogBase
+class SVTK_EXPORT SVTK_ViewParameterDlg : public ViewerTools_DialogBase
 {
   Q_OBJECT;
 
 public:
   SVTK_ViewParameterDlg(QtxAction* theAction,
-                       SVTK_ViewWindow* theParent,
-                       const char* theName);
+                        SVTK_ViewWindow* theParent,
+                        const char* theName);
 
   ~SVTK_ViewParameterDlg();
   
@@ -106,7 +102,7 @@ protected:
 
   void setEnabled(QFrame* theWidget, const bool theState);
   bool computePoint(const double start[3], const double dir[3], 
-                   const double dist, double result[3]);
+                    const double dist, double result[3]);
   void updateProjection();
   void updateCoordinates();
 
@@ -114,7 +110,7 @@ protected:
 
   //----------------------------------------------------------------------------
   // Priority at which events are processed
-  vtkFloatingPointType myPriority;
+  double myPriority;
 
   // Used to process events
   vtkSmartPointer<vtkCallbackCommand> myEventCallbackCommand;