[PyQt] multiple dialog boxes simultaneously
Oleg Klimov
omgtech at gmail.com
Thu Nov 29 10:21:06 GMT 2007
> 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.
I'm not sure I've got you right. I think you need timer and some logic
in the dialog. Several dialogs is not a problem at all,
d1 = QDialog()
d2 = QDialog()
d1.show()
d2.show()
application.exec_()
Event loop in the QDialog class is needed only for modal type of
dialogs.
More information about the PyQt
mailing list