1 // SMESH SMESHGUI : GUI for SMESH component
3 // Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License.
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // Lesser General Public License for more details.
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 // See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
24 // File : SMESHGUI_aParameterDlg.h
25 // Author : Nicolas REJNERI
29 #ifndef SMESHGUI_aParameterDlg_H
30 #define SMESHGUI_aParameterDlg_H
41 //=================================================================================
42 // class : SMESHGUI_aParameterDlg
44 //=================================================================================
45 class SMESHGUI_aParameterDlg : public QDialog
50 SMESHGUI_aParameterDlg( QWidget* parent = 0,
51 QString title = QString::null,
52 QString label = QString::null,
53 const double bottom = -1E6,
54 const double top = +1E6,
55 const int decimals = 3,
57 SMESHGUI_aParameterDlg( QWidget* parent = 0,
58 QString title = QString::null,
59 QString label = QString::null,
64 ~SMESHGUI_aParameterDlg();
66 void setValue( const double val );
67 void setValue( const int val );
72 void init( bool isDouble );
75 SMESHGUI* mySMESHGUI ;
77 QPushButton* myButtonOk;
78 QPushButton* myButtonCancel;
81 QAD_SpinBoxDbl* myDblSpin;
84 #endif // SMESHGUI_aParameterDlg.h