Public Member Functions | |
QGuiQuestionWindow (const TGWindow *main, const std::string &message, Bool_t &result) | |
ctor | |
virtual | ~QGuiQuestionWindow () |
dtor | |
void | CloseWindow () |
signal triggered when X or Cancel button are pressed | |
void | HandleOk () |
slot function triggered when the Ok button is pressed | |
Private Attributes | |
Bool_t & | fResult |
QGuiQuestionWindow::QGuiQuestionWindow | ( | const TGWindow * | main, | |
const std::string & | message, | |||
Bool_t & | result | |||
) |
ctor
msg | message to be displayed | |
result | filled with user response: false for cancel, true for ok |
References fResult.
Bool_t& QGuiQuestionWindow::fResult [private] |
store respose: true if Ok, false if Cancel or X
Referenced by HandleOk(), and QGuiQuestionWindow().