[Qt-interest] Making convenience dialogs window modal

Acenes acenes at gmx.net
Tue Jan 27 15:10:53 CET 2009


I need to display the convenience dialogs QColorDialog, QFontDialog and 
QInputDialog to run window modal, instead of application modal. The reason 
is that the application has multiple unparented windows at same time, and 
using one of these dialogs should not block all the other windows but only 
the one it belongs to.

However these classes have only static methods, and theire construtors are 
private so I also cant even subclass them.

Is there any other way I could achive this, except hacking or cloning the qt 
source? 





More information about the Qt-interest-old mailing list