Re: [PyQt] modeless dialog - repeated windows

2011-07-26 Thread Susana Sanchez Exposito
Thank you very much!, The solution is easier than I thought :-) 2011/7/25 Baz Walter baz...@ftml.net On 25/07/11 12:20, Susana Sanchez Exposito wrote: I would like if the user selects the option to open the modeless dialog and this dialog is opened yet, this dialog would be focused

[PyQt] modeless dialog - repeated windows

2011-07-25 Thread Susana Sanchez Exposito
Hello all, I am working on an application where I used a modeless dialog. Since it is a modeless dialog, after opening this modeless dialog the user can go to the main window and select again the option that opens a window of the same modeless dialog. I would like if the user selects the

Re: [PyQt] modeless dialog - repeated windows

2011-07-25 Thread Baz Walter
On 25/07/11 12:20, Susana Sanchez Exposito wrote: I would like if the user selects the option to open the modeless dialog and this dialog is opened yet, this dialog would be focused instead of opening another window of the same modeless dialog. import sys from PyQt4 import QtGui, QtCore