[PyKDE] WStyle_Dialog missing in pyqt

Phil Thompson phil at riverbankcomputing.co.uk
Sun Aug 7 13:27:52 BST 2005


On Monday 01 August 2005 1:16 pm, Marco Wahl wrote:
> WStyle_Dialog is defined in Qt 3.3 (http://doc.trolltech.com/3.3/qt.html)
> but not with the pyqt-bindings:
>
> vr12 /work/mw_te> python
> Python 2.2.2 (#1, Feb  7 2005, 15:23:55)
> [GCC 3.3 20030226 (prerelease) (SuSE Linux)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>
> >>> from qt import *
> >>> print 'WStyle_Dialog' in dir(Qt)
>
> 0
>
> This is obviously a bug.
>
> See also the thread
> http://mats.imk.fraunhofer.de/pipermail/pykde/2003-February/004671.html.

It was obsoleted in Qt 3.x. Use WType_Dialog instead.

Phil




More information about the PyQt mailing list