Well, I found the time to generate a simple test case (using today's snapshot 
of PyQt4). The .ui file is attached. Running pyuic4 on it produces the  
erroneous code. In particular, the icon for the list widget is a local 
variable initialized in the setupUI function, but used in the retranslateUI 
function. Thus when retranslateUI is called it raises an exception.

Hope that clears it up for you.

Kovid.

On Saturday 24 May 2008 12:42:18 Andreas Pakulat wrote:
>
> I hope you don't expect anybody to read through all that code to find
> the actual problem ;) I suggest to create a much smaller sample, for
> example just having a single QListWidget with just one item in it that
> has a pixmap set.
>
> Andreas



-- 
_____________________________________

Kovid Goyal  MC 452-48
California Institute of Technology
1200 E California Blvd
Pasadena, CA 91125

cell  : +01 626 390 8699
office: +01 626 395 6595 (449 Lauritsen)
email : [EMAIL PROTECTED]
web   : http://www.kovidgoyal.net
_____________________________________

Attachment: test.py
Description: application/python

Attachment: test.ui
Description: application/designer

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to