[PyQt] multiple dialog boxes simultaneously
spradml at gmail.com
Thu Nov 29 10:07:54 GMT 2007
On 12:44, 29 Nov, Oleg Klimov wrote:
> On Thu, 2007-11-29 at 11:51 +0530, Pradnyesh Sawant wrote:
> > Hello,
> > I want to have multiple dialog boxes simultaneously. So I have a function,
> > which is the target for threading.Thread, and which creates a new dialog.
> > But I'm getting the following error:
> > ASSERT failure in QWidget: "Widgets must be created in the GUI thread.",
> Just like it says, you should use Qt from single thread.
> There are many ways of doing things simultaneously without
> multithreading. Several dialogs doesn't seem to require threads at all.
> Just create them and they'll work, event-based.
Thanks a lot for your reply. However, I'm still confused. I'll put my
requirements more concisely, and could someone kindly suggest to me the
approach that I should take to code it...
Basically, I want a dialog box to come up every 15 minutes. It should take
a text input from me, and close when I press the ok/cancel button. It
should, on the other hand, stay there itself till I press one of the
It's a rather simple task, but I don't understand as to how do I get all
the dialogs to stay open at the same time.
Thanks for all the help in advance!
> PyQt mailing list PyQt at riverbankcomputing.com
Nothing clarifies your ideas like trying to write them down. --Montaigne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20071129/5d905eaa/attachment.bin
More information about the PyQt