[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyKDE] Opening windows
From: Doug Bell <dougb () bellz ! org>
Date: 2003-02-27 0:30:41
[Download RAW message or body]
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 PyKDE@mats.gmd.de
http://mats.gmd.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic