• Main Page
  • Related Pages
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

gui/adcwidget.h (r4864/r927)

Go to the documentation of this file.
00001 #ifndef AdcWidget_H
00002 #define AdcWidget_H
00003 
00004 #include "subwidget.h"
00005 #include <QSpinBox>
00006 
00007 #include "ui_adcwidget.h"
00008 
00009 #include "nxyter/MainAdc.h"
00010 
00011 
00012 
00013 class AdcWidget : public SubWidget , public Ui::AdcWidget {
00014    Q_OBJECT
00015 
00016    enum { NumRegs = 35 };
00017 
00018    protected:
00019       nxyter::MainAdc* fAdc;
00020       QSpinBox*  fRegSpins[NumRegs];
00021       uint32_t  fClockDelay;
00022 
00023       void getOnlyDelayRegs();
00024       void displayClockDelay(uint32_t sr_init, uint32_t bufg_select);
00025 
00026    public:
00027       AdcWidget(QWidget* parent, nxyter::MainAdc* adc);
00028 
00029       virtual bool getSubConfig();
00030       virtual bool setSubConfig();
00031       virtual bool setSubToDefault();
00032       virtual bool fillCmdFile(FILE* f);
00033 
00034    public slots:
00035       void regChanged(int);
00036 
00037       void setClockDelay();
00038 };
00039 
00040 #endif

Generated on Tue Dec 10 2013 04:52:22 for ROCsoft by  doxygen 1.7.1