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 buttons. 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! > > > Oleg > > > _______________________________________________ > PyQt mailing list [email protected] > http://www.riverbankcomputing.com/mailman/listinfo/pyqt -- warm regards, Pradnyesh Sawant -- Nothing clarifies your ideas like trying to write them down. --Montaigne
signature.asc
Description: Digital signature
_______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
