Salome HOME
*** empty log message ***
[modules/geom.git] / src / GEOMBase / GEOMBase_aParameterDlg.h
index 8dc1773f7015978af67821314122bb0fb639e5e3..16ea0649bdec9fbf984566e31eed18a53fe702a6 100644 (file)
@@ -1,40 +1,37 @@
-//  GEOM GEOMGUI : GUI for Geometry component
+// GEOM GEOMGUI : GUI for Geometry component
 //
-//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
+// Copyright (C) 2003  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
 //
+// File   : GEOMBase_aParameterDlg.h
+// Author : Lucien PIGNOLONI
 //
-//
-//  File   : GEOMBase_aParameterDlg.h
-//  Author : Lucien PIGNOLONI
-//  Module : GEOM
-//  $Header$
 
-#ifndef GEOMBase_aParameterDLG_H
-#define GEOMBase_aParameterDLG_H
+#ifndef GEOMBASE_APARAMETERDLG_H
+#define GEOMBASE_APARAMETERDLG_H
 
 #include "GEOM_GEOMBase.hxx"
 
-#include <qdialog.h>
+#include <QDialog>
 
 class QPushButton;
-class QtxDblSpinBox;
+class QtxDoubleSpinBox;
 
 //=================================================================================
 // class    : GEOMBase_aParameterDlg
@@ -45,7 +42,7 @@ class GEOMBASE_EXPORT GEOMBase_aParameterDlg : public QDialog
     Q_OBJECT
 
 public:
-    GEOMBase_aParameterDlg(const char* aValue1 = "25", const char* aTitle1 = "Value :", QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0, const double bottom = -1E6, const double top = +1E6, const int decimals = 6);
+    GEOMBase_aParameterDlg(const char* aValue1 = "25", const char* aTitle1 = "Value :", QWidget* parent = 0, const char* name = 0, bool modal = FALSE, Qt::WindowFlags fl = 0, const double bottom = -1E6, const double top = +1E6, const int decimals = 6);
     ~GEOMBase_aParameterDlg();
 
     void setValue(double val);
@@ -54,8 +51,8 @@ public:
 private:
     QPushButton* myButtonOk;
     QPushButton* myButtonCancel;
-    QtxDblSpinBox* mySpinBox;
+    QtxDoubleSpinBox* mySpinBox;
 
 };
 
-#endif // GEOMBase_aParameterDlg.h
+#endif // GEOMBASE_APARAMETERDLG_H