koilin
1st August 2012, 10:34
I have a QMessageBox, when I did the
QMessageBox myBox = new QMessageBox();
myBox.setStandardButtons(NoButton);
myBox.exec();
the dialog's close button(on the upright corner of the dialog) will turn to be disable.
How to enable the close button?
QMessageBox myBox = new QMessageBox();
myBox.setStandardButtons(NoButton);
myBox.exec();
the dialog's close button(on the upright corner of the dialog) will turn to be disable.
How to enable the close button?