[PyKDE] pyuic getting QFrame.HLine wrong?
    Phil Thompson 
    phil at river-bank.demon.co.uk
       
    Thu Dec 20 11:45:21 GMT 2001
    
    
  
Giles Constant wrote:
> 
> Hi there,
> 
> pyuic is generating the following code :
> 
> ----------------
> class foo:
>         def __init__(self):
>                 # snip
>                 self.Line3 = QFrame(self, "Line3")
>                 self.Line3.setProperty("frameShape", QFrame.HLine)
> ----------------
> 
> Surely, the last line should be this? :
> 
>         self.Line3.setProperty("frameShape", QVariant(QFrame.HLine))
> 
> What's going on?
Have you applied all the patches?
If you have then send me the .ui file.
Phil
    
    
More information about the PyQt
mailing list