[PyQt] multiple dialog boxes simultaneously
omgtech at gmail.com
Thu Nov 29 09:44:41 GMT 2007
On Thu, 2007-11-29 at 11:51 +0530, Pradnyesh Sawant wrote:
> 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.
More information about the PyQt