QGEBiasFrame.hh

Go to the documentation of this file.
00001 
00002 #ifndef _QELE_BIAS_FRAME_HH_
00003 #define _QELE_BIAS_FRAME_HH_
00004 
00005 #include "QGuiCompositeFrame.hh"
00006 
00007 class QGuiDropDownList;
00008 class QGuiRadioSelector;
00009 
00017 class QGEBiasFrame: public QGuiCompositeFrame
00018 {
00019 public:
00020    QGEBiasFrame(const TGWindow* parent);
00021    
00022    virtual ~QGEBiasFrame();
00023 
00029    Bool_t SetBias(const std::string& bias);
00030 
00035    void SetBiasPolarity(Bool_t polarity);
00036 
00045    void SetGroundStatus(Bool_t state);
00046 
00047    const std::string& GetBias() const;
00048    
00049    Bool_t GetBiasPolarity() const;
00050    Bool_t GetGroundStatus() const;
00051    
00052    void BiasChanged()     { Emit("BiasChanged()"); } //*SIGNAL*
00053    void PolarityChanged() { Emit("PolarityChanged()"); } //*SIGNAL*
00054    void GroundChanged()   { Emit("GroundChanged()"); } //*SIGNAL* 
00055 
00057    void Lock(Bool_t doLock);
00058 
00059 private:
00060    QGuiDropDownList* fBiasWidget;
00061    QGuiRadioSelector* fPolarityWidget;
00062    QGuiRadioSelector* fGroundWidget;
00063    
00064    ClassDef(QGEBiasFrame,0)
00065 };
00066 #endif

Generated on Tue Nov 16 10:49:54 2010 for CUORE Software by  doxygen 1.5.6