Konrad Hinsen wrote:
> How can I open a second window from within a PyQt application? If I understand 
> the Qt doc correctly, I need to pass the flag WStyle_Dialog, but this doesn't 
> seem to be defined in PyQt.

I think you mean the WType_Dialog, which is accessed from PyQt as
Qt.WType_Dialog.  So a widget constructor with no parent would be called
by:

w = QWidget(None, 'myName', Qt.WType_Dialog)


Doug.

_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.gmd.de/mailman/listinfo/pykde

Reply via email to