for really simple dialogs use Box Class :
Box::info("your message");
or
Box::warning("your message");
or
if (Box::okCancel("continue?", DialogButton::Cancel) == DialogButton::Ok) { // pressed OK ...
or one of the other static methods ( infoOnce
, yesNo
, yesNoCancel
, yesAllNoAllCancel
, ...)
Carlos Heuberger
source share