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"? _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest