Re: [PyQt] PyQt4.Gui.QFileDialog

2011-10-31 Thread Vincent Vande Vyvre
Le 31/10/11 10:07, Vincent Vande Vyvre a écrit : Le 31/10/11 09:32, Matteo Boscolo a écrit : Try this after instantiate the application: app.setQuitOnLastWindowClosed(False) and this after closing the dialog: ap

Re: [PyQt] PyQt4.Gui.QFileDialog

2011-10-31 Thread Vincent Vande Vyvre
Le 31/10/11 09:32, Matteo Boscolo a écrit : Try this after instantiate the application: app.setQuitOnLastWindowClosed(False) and this after closing the dialog: app.closeAllWindows() I use this in some case in my

Re: [PyQt] PyQt4.Gui.QFileDialog

2011-10-31 Thread Matteo Boscolo
Try this after instantiate the application: app.setQuitOnLastWindowClosed(False) and this after closing the dialog: app.closeAllWindows() I use this in some case in my com application .. hope it helps Regards, Matteo Il 31/10/2011 09:08, Janwillem ha scritto: Thanks, yes I see, that is unde

Re: [PyQt] PyQt4.Gui.QFileDialog

2011-10-31 Thread Janwillem
Thanks, yes I see, that is under windows (XP on VirtualBox, python 2.7.1 and pyqt4 4.7.2 in my case) but under linux (ubuntu 11.10, python 2.7.2+ and pyqt 4.7.3) it only closes after the sleep has finished (or in case of my practical application, until the data processing finished) So any tips fro

Re: [PyQt] PyQt4.Gui.QFileDialog

2011-10-31 Thread Matteo Boscolo
with this configuration Python 2.6.6 PyQt4 4.7.3 open dialog dialog finished C:\Users\mboscolo\Documents\.bzr.log finished it works perfectly .. after press the opendialog the form is closed and start to print the rest of the debug regards, Matteo Il 31/10/2011 08:07, Janwillem ha scritto: I

[PyQt] PyQt4.Gui.QFileDialog

2011-10-31 Thread Janwillem
I want a small script with just a few filedialogs not a full blown gui application . However when I try the code below the dialog does not disappear after clicking the Open button on the dialog but stays on top until the script exits. What am I doing wrong?? Thanks, Janwillem def open_files(defa