[Qt-interest] QProgressDialog and Cancel and Window Flags

Alex Strickland sscc at mweb.co.za
Thu Feb 10 08:51:05 CET 2011


Hi

I have disabled the cancel button on my progress dialog but the window 
has a question mark and cross in the top right. If you press the cross 
then it closes the dialog and acts like a cancel. I see you can pass 
Qt::WindowFlags to the constructor, but I can't figure out if there is a 
combo that will disable the cross?

I'm using Qt 4.7 and Windows.

Thanks
-- 
Alex



More information about the Qt-interest-old mailing list