00001 00002 #ifndef _QGUI_QUESTION_WINDOW_HH_ 00003 #define _QGUI_QUESTION_WINDOW_HH_ 00004 00005 #include <TGFrame.h> 00006 #include <string> 00007 00014 class QGuiQuestionWindow: public TGTransientFrame 00015 { 00016 public: 00022 QGuiQuestionWindow(const TGWindow *main, const std::string& message, 00023 Bool_t& result); 00024 00026 virtual ~QGuiQuestionWindow(); 00027 00029 void CloseWindow(); /*SIGNAL*/ 00030 00032 void HandleOk(); 00033 00034 private: 00035 Bool_t& fResult; 00037 ClassDef(QGuiQuestionWindow,0) 00038 }; 00039 #endif