[PyKDE] PyQt4, my approach was wrong before or now?

sole at esrf.fr sole at esrf.fr
Sun Mar 5 14:42:27 GMT 2006


Quoting Gerard Vermeulen <gerard.vermeulen at grenoble.cnrs.fr>:

> On Sun, 05 Mar 2006 14:41:10 +0100
> "V. Armando Sole" <sole at esrf.fr> wrote:
> 
> > Hi!
> > 
> > In order to be able to use the same code with PyQt3 and PyQt4, I had 
> > written a small Qt4.py  wrapper to simplify simple cases.
> > 
> > from PyQt4.QtCore import *
> > from PyQt4.QtGui import *
> 
> There are two namespaces Qt: one in QtCore and one in QtGui.
> Qt.Vertical is part of QtCore, but this gets wiped out
> by your import: from PyQt4.QtGui import *
> 


So, the fact it was working till the 20060218-snapshot was merely accidental and
now it has been corrected.

I'll have to think about an alternative approach.

Thanks,

Armando



-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/




More information about the PyQt mailing list