[PyQt] Modal Dialogs? Basic howto help please.
leej at sowhatresearch.com
Tue Jun 17 17:52:41 BST 2008
Sorry, this is probably a stupid question but how do I make a dialog modal if I create an application without a main window?
As an example of my problem, the following creates a dialog but it isn't modal.
from PyQt4.QtGui import *
from PyQt4.QtCore import *
app = QApplication(sys.argv)
dlg = QDialog()
Again, sorry to bother the list with such a basic question but I've been struggling with this one for a while now.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt