00001 00002 #ifndef _Q_GUI_RUN_START_WINDOW_HH_ 00003 #define _Q_GUI_RUN_START_WINDOW_HH_ 00004 00005 #include <TGFrame.h> 00006 00007 class TGTextEntry; 00008 class TGTextEdit; 00009 class TGTextButton; 00010 class TGButtonGroup; 00011 class QGUIDataCollector; 00012 class QGuiComboBox; 00013 00019 class QGuiRunStartWindow: public TGTransientFrame 00020 { 00021 public: 00023 QGuiRunStartWindow(const TGWindow* main, Int_t w, Int_t h, 00024 QGUIDataCollector& runInfo); 00025 00027 virtual ~QGuiRunStartWindow(); 00028 00030 void CloseWindow(); /*SIGNAL*/ 00031 00033 void HandleRun(); 00034 00036 void HandleBasket(); 00037 00042 void HandleRunType(Int_t id); 00044 void HandleCancel(); 00045 00047 void HandleStart(); 00048 00049 private: 00050 00051 QGUIDataCollector& fRunInfo; 00052 TGTextEntry *fRunDisplay; 00053 TGTextEntry *fBasketDisplay; 00054 TGTextEntry *fBasketDescription; 00055 TGTextButton *fRunButton; 00056 TGTextButton *fBasketButton; 00057 TGButtonGroup *fRunTypeGroup; 00058 TGTextEntry *fMasterShifterDisplay; 00059 QGuiComboBox *fShifterSelector1; 00060 QGuiComboBox *fShifterSelector2; 00061 TGTextButton *fStartButton; 00062 TGTextButton *fCancelButton; 00063 TGTextEdit *fCommentsBox; 00066 void CreateFrames(); 00067 00069 void MakeConnections(); 00070 00072 void UpdateDisplay(); 00073 00075 std::string GetComments(); 00076 00077 ClassDef(QGuiRunStartWindow, 0) 00078 }; 00079 #endif