[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] QDataView import missing from pyuic
From:       Phil Thompson <phil () riverbankcomputing ! co ! uk>
Date:       2005-01-22 11:55:06
Message-ID: 200501221155.06586.phil () riverbankcomputing ! co ! uk
[Download RAW message or body]

On Monday 17 January 2005 10:49 am, Hans-Peter Jansen wrote:
> Hi Phil et al.,
>
> after a longer period of absence here, I'm back, playing some PyQt
> games.. While on it, I noticed a problem with pyuic, when using
> QDataViews in designer. It resists in including the right includes:
>
> Traceback (most recent call last):
>   File "form1.py", line 224, in ?
>     w = Form1()
>   File "form1.py", line 26, in __init__
>     self.dataView1 = QDataView(self,"dataView1")
> NameError: global name 'QDataView' is not defined
>
> Manually adding or using the Python: comment trick fixes it, but
> that's surely not intentional..
>
> I tried fixing it with the attached patch, but failed so far :-(.
> May you have an better idea, how to fix this bit..

The patch worked for me - it will be in tonight's snapshot.

Phil

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.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