[Interest] QMessageBox - Accept/Reject

Konstantin Shegunov kshegunov at gmail.com
Fri Apr 28 20:34:24 CEST 2017


Hi,
Employ like this:

dlg.exec();
if (dlg.clickedButton() == btn)
    qDebug() << "Yes was clicked";

However, why not make use of the standard buttons, which already
include "Yes"/"No"?



More information about the Interest mailing list