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. import sys from PyQt4.QtGui import * from PyQt4.QtCore import * app = QApplication(sys.argv) dlg = QDialog() dlg.exec_() app.exec_() Again, sorry to bother the list with such a basic question but I've been struggling with this one for a while now. TIA Lee
_______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
