Salome HOME
NRI : First integration.
[modules/visu.git] / src / VISUGUI / VisuGUI_NonIsometricDlg.h
1 //  File      : VisuGUI_NonIsometricDlg.h
2 //  Created   : Thu Dec 18 12:01:00 2002
3 //  Author    : Vasily Rusyaev 
4 //  Project   : SALOME PRO
5 //  Module    : SALOMEGUI
6 //  Copyright : Open CASCADE 
7 //  $Header$ 
8
9 #ifndef VisuGUI_NONISOMETRICDLG_H
10 #define VisuGUI_NONISOMETRICDLG_H
11
12 #include <qdialog.h>
13 class QLabel;
14 class QAD_SpinBoxDbl;
15 class QComboBox;
16
17 class VisuGUI_NonIsometricDlg : public QDialog
18
19   Q_OBJECT
20     
21  public:
22   VisuGUI_NonIsometricDlg( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
23   ~VisuGUI_NonIsometricDlg();
24   
25  private:
26   
27   QComboBox* m_cbXfunction;
28   QAD_SpinBoxDbl* m_sbXcoeff;
29   QLabel* m_lXFunction;
30
31   QComboBox* m_cbYfunction;
32   QAD_SpinBoxDbl* m_sbYcoeff;
33   QLabel* m_lYFunction;
34   
35   QComboBox* m_cbZfunction;
36   QAD_SpinBoxDbl* m_sbZcoeff;
37   QLabel* m_lZFunction;
38
39   //Populates combobox and makes all needed connects
40   void FillComboBox(QComboBox* cb);
41
42   void FunctionChanged( const QComboBox* cbox);
43
44   private slots:
45     void onClickApply();
46     void onClickReset();
47     void onClickOk();
48     void onFunctionChanged();
49 };
50
51 #endif // VisuGUI_NONISOMETRICDLG_H