QGuiEleMain.hh

Go to the documentation of this file.
00001 
00002 #ifndef _QGUI_ELE_MAIN_HH_
00003 #define _QGUI_ELE_MAIN_HH_
00004 
00005 #include <TGFrame.h>
00006 #include <vector>
00007 
00008 class QGEControlFrame;
00009 
00017 class QGuiEleMain: public TGMainFrame
00018 {
00019 public:
00020    QGuiEleMain();
00021    virtual ~QGuiEleMain();
00022 
00023    void CleanExit();
00024    
00025    void Closed() {Emit("Closed()"); } //*SIGNAL*
00026 
00031    void UpdateBasket();
00032 
00033 private:
00034    size_t fSettingsBasket;
00035    std::vector<int> fChannels; 
00036    QGEControlFrame *fControlFrame;
00037 
00044    void Init();
00045    
00047    void CreateWindow();
00048 
00053    int SelectBasket() const;
00054 
00060    int PromptForBasket() const;
00065    int ReadBasketFromFile() const;
00066    
00068    void UpdateActiveChannels();
00069 
00070    ClassDef(QGuiEleMain,0)
00071 };
00072 #endif

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