00001 #ifndef funcGen_H
00002 #define funcGen_H
00003
00004 #include <qvariant.h>
00005 #include <qdialog.h>
00006
00007 class QVBoxLayout;
00008 class QHBoxLayout;
00009 class QGridLayout;
00010 class QButtonGroup;
00011 class QCheckBox;
00012 class QComboBox;
00013 class QFrame;
00014 class QLabel;
00015 class QPushButton;
00016 class QRadioButton;
00017 class QSlider;
00018 class QSpinBox;
00019
00020 class functionGenerator : public QDialog
00021 {
00022 Q_OBJECT
00023
00024 public:
00025 functionGenerator( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
00026 ~functionGenerator() {}
00027
00028 QFrame* Frame3;
00029 QLabel* TextLabel1_3;
00030 QButtonGroup* ui_waveformCh1_2;
00031 QRadioButton* RadioButton1_3;
00032 QRadioButton* RadioButton2_3;
00033 QRadioButton* RadioButton3_3;
00034 QLabel* TextLabel2_2;
00035 QLabel* TextLabel4_2;
00036 QSlider* ui_symetryCh1_2;
00037 QSpinBox* ui_freqCh1_2;
00038 QLabel* TextLabel18_2;
00039 QSpinBox* ui_vCh1_2;
00040 QComboBox* ui_vUnitCh1_2;
00041 QCheckBox* ui_noiseCh1_2;
00042 QFrame* Frame4;
00043 QLabel* TextLabel1_2_2;
00044 QSpinBox* ui_freqCh2_2;
00045 QLabel* TextLabel19_2;
00046 QCheckBox* ui_noiseCh2_2;
00047 QSlider* ui_symetryCh2_2;
00048 QButtonGroup* ui_waveformCh2_2;
00049 QRadioButton* RadioButton1_2_2;
00050 QRadioButton* RadioButton2_2_2;
00051 QRadioButton* RadioButton3_2_2;
00052 QLabel* TextLabel3_2;
00053 QLabel* TextLabel5_2;
00054 QSpinBox* ui_vCh2_2;
00055 QComboBox* ui_vUnitCh2_2;
00056 QPushButton* PushButton1;
00057 QPushButton* PushButton1_3;
00058 QPushButton* PushButton1_2;
00059
00060 QSpinBox *noiseSpin1, *noiseSpin2;
00061
00062 protected:
00063 QHBoxLayout* Layout23;
00064 QHBoxLayout* Layout23_2;
00065 QVBoxLayout* Frame3Layout;
00066 QVBoxLayout* Layout100_2;
00067 QVBoxLayout* ui_waveformCh1_2Layout;
00068 QHBoxLayout* Layout24_2;
00069 QHBoxLayout* Layout97_2;
00070 QHBoxLayout* Layout98_2;
00071 QVBoxLayout* Frame4Layout;
00072 QGridLayout* Layout103_2;
00073 QHBoxLayout* Layout101_2;
00074 QVBoxLayout* ui_waveformCh2_2Layout;
00075 QHBoxLayout* Layout26_2;
00076 QHBoxLayout* Layout102_2;
00077
00078 void loadFileGenerator();
00079 bool modify;
00080
00081 private slots:
00082 void modifySld1(int value);
00083 void modifySld2(int value);
00084 void sendButton();
00085 void saveButton();
00086 void enableButtons();
00087 void enableButtons(int);
00088 void enableButtons(const QString &);
00089 };
00090
00091 #endif // funcGen_H