QGEControlFrame.hh

Go to the documentation of this file.
00001 
00002 #ifndef _QELE_CONTROL_FRAME_HH_
00003 #define _QELE_CONTROL_FRAME_HH_
00004 
00005 #include "QGuiCompositeFrame.hh"
00006 
00007 #include <string>
00008 #include <map>
00009 #include <vector>
00010 
00011 class QGEChannelFrame;
00012 class QGuiCompositeFrame;
00013 class QGUINumberSelector;
00014 class TGTextView;
00015 class TGTextButton;
00016 
00024 class QGEControlFrame: public QGuiCompositeFrame
00025 {
00026 public:
00027    
00028    QGEControlFrame(const TGWindow* parent);
00029 
00030    virtual ~QGEControlFrame();
00031 
00032    void QuitClicked() { Emit("QuitClicked()"); } //*SIGNAL*
00033    void SelectBasketClicked() { Emit("SelectBasketClicked()"); } //*SIGNAL*
00034 
00035    void SetChannels(const std::vector<int>& channels);
00036 
00037    void UpdateDisplayedChannel();
00038 
00039    void ApplyToHardware();
00040 
00041    void Lock(Bool_t doLock);
00042 
00043 private:
00044    std::map<UInt_t,QGEChannelFrame*> fChannels;
00045 
00046    QGEChannelFrame* fDisplayedFrame;
00047 
00048    QGuiCompositeFrame *fChannelFrame;
00049    QGuiCompositeFrame *fChSelectorFrame;
00050    QGuiCompositeFrame *fChDisplayFrame;
00051    QGUINumberSelector* fChannelSelector;
00052 
00053    TGTextView* fDescriptionFrame;
00054 
00055    TGTextButton *fBasketButton;
00056    TGTextButton *fLoadButton;
00057    TGTextButton *fSaveButton;
00058    TGTextButton *fQuitButton;
00059    
00060    void DisplayChannel(UInt_t lg);
00061 
00062    ClassDef(QGEControlFrame,0)
00063 };
00064 
00065 #endif

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