Salome HOME
Implementation of the "21046: EDF 1610 GUI: To be able to change the width of the...
[modules/geom.git] / src / GEOMToolsGUI / GEOMToolsGUI_NbIsosDlg.h
index 3e7548464236090632160f0cfc20023800456ef5..afd34467c37d2979d540bf4c00159c620cd8c571 100644 (file)
@@ -1,35 +1,35 @@
-//  GEOM GEOMGUI : GUI for Geometry component
+// Copyright (C) 2007-2011  CEA/DEN, EDF R&D, OPEN CASCADE
 //
-//  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 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 
-// 
-// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// 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 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
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
-//  File   : GEOMToolsGUI_NbIsosDlg.h
-//  Author : 
-//  Module : GEOM
-//  $Header: 
 
+// GEOM GEOMGUI : GUI for Geometry component
+// File   : GEOMToolsGUI_NbIsosDlg.h
+// Author : OCC Team
+//
 #ifndef GEOMTOOLSGUI_NBISOSDLG_H
 #define GEOMTOOLSGUI_NBISOSDLG_H
 
-#include <qdialog.h>
+#include "GEOM_ToolsGUI.hxx"
+
+#include <QDialog>
 
 class QSpinBox;
 
@@ -37,28 +37,30 @@ class QSpinBox;
 // class    : GEOMToolsGUI_NbIsosDlg
 // purpose  :
 //=================================================================================
-class GEOMToolsGUI_NbIsosDlg : public QDialog
+class GEOMTOOLSGUI_EXPORT GEOMToolsGUI_NbIsosDlg : public QDialog
 { 
-    Q_OBJECT
+  Q_OBJECT
 
 public:
-    GEOMToolsGUI_NbIsosDlg( QWidget* parent );
-    ~GEOMToolsGUI_NbIsosDlg();
+  GEOMToolsGUI_NbIsosDlg( QWidget* );
+  ~GEOMToolsGUI_NbIsosDlg();
     
-    int       getU() const;
-    int       getV() const;
-
-    void      setU( const int );
-    void      setV( const int );
-
+  int       getU() const;
+  int       getV() const;
+  
+  void      setU( const int );
+  void      setV( const int );
+  
 private slots:
-    void ClickOnHelp();
+  void      ClickOnHelp();
 
 private:
-    QSpinBox* SpinBoxU;
-    QSpinBox* SpinBoxV;
-    QString   myHelpFileName;
+ void       keyPressEvent( QKeyEvent* );
 
+private:
+ QSpinBox*  SpinBoxU;
+ QSpinBox*  SpinBoxV;
+ QString    myHelpFileName;
 };
 
 #endif // GEOMTOOLSGUI_NBISOSDLG_H