[Qt-interest] bring a progressdialog in front of a qfiledialog

KC Jones kc at asperasoft.com
Thu Oct 29 17:02:34 CET 2009


What I do in this situation is to subclass QFileDialog and implement
closeEvent().  In my case I'm not doing any heavy lifting in that
context, just presenting an alert.  But the underlying dialog remains
in view.

There was another question here recently by someone wanting to catch a
filtered file selection problem that could be solved with this
approach.  You get you hands on the user input before the dialog is
dismissed and can keep the file dialog from closing if you want.



More information about the Qt-interest-old mailing list