Salome HOME
42a03c2aa556625496c8e6ec18779537c149029d
[modules/gui.git] / src / RegistryDisplay / IntervalWindow.hxx
1 //  SALOME RegistryDisplay : GUI for Registry server implementation
2 //
3 //  Copyright (C) 2003  CEA/DEN, EDF R&D
4 //
5 //
6 //
7 //  File   : IntervalWindow.hxx
8 //  Author : Oksana TCHEBANOVA
9 //  Module : SALOME
10
11 #ifndef IntervalWindow_HeaderFile
12 #define IntervalWindow_HeaderFile
13
14 # include <qwidget.h>
15 # include <qdialog.h>
16 # include <qpushbutton.h>
17 # include <qspinbox.h>
18
19 #ifndef WNT
20 using namespace std;
21 #endif
22
23 class IntervalWindow : public QDialog
24 {
25 public:
26   IntervalWindow( QWidget* parent = 0 );
27   ~IntervalWindow();
28   
29   QPushButton* Ok();
30   QPushButton* Cancel();
31
32   int getValue();
33   void setValue( int );
34
35 private:
36   QSpinBox* mySpinBox;
37   QPushButton* myButtonOk;
38   QPushButton* myButtonCancel;
39 };
40
41 #endif