Salome HOME
This commit was generated by cvs2git to track changes on a CVS vendor
[modules/visu.git] / src / VISUGUI / VisuGUI_SweepPrefDlg.h
1 //  File      : VisuGUI_SweepPrefDlg.h
2 //  Created   : Wed Aug 01 10:23:06 2001
3 //  Author    : Laurent CORNABE & Hubert ROLLAND 
4 //  Project   : SALOME
5 //  Module    : VISUGUI
6 //  Copyright : PRINCIPIA
7 //  $Header$
8
9 #ifndef VISUGUI_SWEEPPREFDLG_H
10 #define VISUGUI_SWEEPPREFDLG_H
11
12 #include <qdialog.h>
13 #include <qgroupbox.h>
14 #include <qpushbutton.h>
15 #include <qspinbox.h>
16 #include <qlabel.h>
17 #include "QAD_SpinBoxDbl.h"
18
19 class VisuGUI_SweepPrefDlg : public QDialog
20
21     Q_OBJECT
22
23 public:
24     VisuGUI_SweepPrefDlg( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
25     ~VisuGUI_SweepPrefDlg();
26
27     void   setTimeStep( double step );
28     double getTimeStep();
29     void   setNbCycles( int nbc );
30     int    getNbCycles();
31     void   setNbSteps ( int nbs );
32     int    getNbSteps ();
33
34 private:
35     QGroupBox*      TopGroup;
36     QLabel*         TimeLabel;
37     QAD_SpinBoxDbl* TimeSpin;
38     QLabel*         CyclesLabel;
39     QSpinBox*       CyclesSpin;
40     QLabel*         StepsLabel;
41     QSpinBox*       StepsSpin;
42     QGroupBox*      GroupButtons;
43     QPushButton*    buttonOk;
44     QPushButton*    buttonCancel;
45 };
46
47 #endif // VISUGUI_SWEEPPREFDLG_H