X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSVTK%2FSVTK_ViewParameterDlg.h;h=54bd14b254fcdebeee4a4cf74f7ee7f6c55a01f0;hb=refs%2Fheads%2Fngr%2Fpython3_dev_pv5.4;hp=3a6f3e8b03ff72e4c30fed3b524a2173a53aa88f;hpb=1c889394b028b786898a995d38c07c8f3d564837;p=modules%2Fgui.git diff --git a/src/SVTK/SVTK_ViewParameterDlg.h b/src/SVTK/SVTK_ViewParameterDlg.h index 3a6f3e8b0..54bd14b25 100755 --- a/src/SVTK/SVTK_ViewParameterDlg.h +++ b/src/SVTK/SVTK_ViewParameterDlg.h @@ -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 #include #include @@ -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 myEventCallbackCommand;