QGuiRunStopWindow.hh

Go to the documentation of this file.
00001 
00002 #ifndef _Q_GUI_RUN_STOP_WINDOW_HH_
00003 #define _Q_GUI_RUN_STOP_WINDOW_HH_
00004 
00005 #include <TGFrame.h>
00006 
00007 class TGTextEdit;
00008 class TGTextButton;
00009 class TGTextEntry;
00010 class TGButtonGroup;
00011 class QGUIDataCollector;
00012 class QGuiComboBox;
00013 
00019 class QGuiRunStopWindow: public TGTransientFrame
00020 {
00021 public:
00023    QGuiRunStopWindow(const TGWindow* main, Int_t w, Int_t h,
00024                      QGUIDataCollector& runInfo);
00025 
00027    virtual ~QGuiRunStopWindow();
00028    
00030    void CloseWindow(); /*SIGNAL*/
00031    
00033    void HandleCancel();
00034    
00036    void HandleStop();
00037    
00042    void HandleStopStatus(Int_t id);
00043 
00044 private:
00045    
00046    QGUIDataCollector& fRunInfo; 
00047    TGTextButton *fStopButton; 
00048    TGTextButton *fCancelButton; 
00049    TGTextEdit *fCommentsBox; 
00050    TGTextEntry *fMasterShifterDisplay; 
00051    TGButtonGroup *fStopStatusGroup; 
00052    QGuiComboBox *fShifterSelector1; 
00053    QGuiComboBox *fShifterSelector2; 
00055    int fStopStatus; 
00058    void CreateFrames();
00059 
00061    void MakeConnections();
00062 
00064    std::string GetComments();
00065 
00066    ClassDef(QGuiRunStopWindow, 0)
00067 };
00068 #endif

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