00001 00002 #include <qwidget.h> 00003 00004 class QCheckBox; 00005 class QwtSlider; 00006 class QLabel; 00007 class plotSpectrum; 00008 00009 class Spectrum : public QWidget 00010 { 00011 Q_OBJECT 00012 00013 public: 00014 Spectrum(QWidget *parent, const char *name); 00015 ~Spectrum() {} 00016 00017 private: 00018 QCheckBox *cb1,*cb2; 00019 QwtSlider *sldZoom; 00020 QLabel *labelZoomVal; 00021 double zoomVal; 00022 QPushButton *pb1,*pb2,*pb3,*pb4,*pb5,*pb6,*pb7,*pb8,*pb9,*pb10, 00023 *pb11,*pb12,*pb13,*pb14,*pb15,*pb16,*pb17,*pb18,*pb19,*pb20; 00024 plotSpectrum *graphic; 00025 00026 private slots: 00027 void modifyZoom(double value); 00028 void intChecked(); 00029 void frequencyClicked(); 00030 00031 };