View Full Version : workaround for messagebox modality bug
mortoray
17th October 2010, 09:27
Is there a quick way to set the modality of all QMessageBox objects? The docs say WindowsModal is the default with a parent, but in testing this appears not to be correct -- they are always ApplicationModal. I need to call setModality every time -- which is a bit inconvenient since I can't use the "question",etc. static members then.
gboelter
17th October 2010, 12:07
Is there a quick way to set the modality of all QMessageBox objects?
Sure, write your own Class, let it inherit from QMessageBox and then use something like MessageBox instead QMessageBox.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.