[PySide] wait for QFileDialog to close

Frank Rueter | OHUfx frank at ohufx.com
Tue Dec 10 21:32:16 CET 2013

I'm not quite clear on what you are doing, but can you use the QDialog's 
signals to trigger the file processing only after the dialog has 
finished it's purpose?
I.e. QDialog.finished() or QDialog.accepted()

On 11/12/13 09:17, Janwillem van Dijk wrote:
> Hi, I have a PySide script that uses 
> QFileDialog.getExistingDirectory(). After clicking the Open button the 
> script proceeds with a lengthy part that processes a files list and 
> writes to a QPlainTextEdit. Unfortunately the QFileDialog widget does 
> only disappear after this processing is finished, hiding the 
> QPlainTextEdit.
> How can I make that the QFileDialog widget is gone before the 
> processing starts?
> Cheers, Janwillem
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/pyside

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20131211/9d638968/attachment.html>

More information about the PySide mailing list