0

I'm reimplementing the accept method of a qdialog so that when the ok button is clicked, a QMessageBox will show up on top of the qdialog. The QDialog is a modal window on top of a main window. What's the best way to do this?

demonplus
  • 5,613
  • 12
  • 49
  • 68
Michael
  • 713
  • 10
  • 27
  • Found the solution after some tinkering. The trick is to call the QMessagebox without a parent. – Michael Mar 19 '15 at 20:19
  • you should add your comment as an answer and accept it so that people can see that your question no longer needs an answer. See also http://stackoverflow.com/help/self-answer – Erik Nov 21 '15 at 22:42

0 Answers0