[PyQt] Pyuic4 QListWidget icon problem

Jan Kaluza hanzz.k at gmail.com
Wed Jul 16 05:16:32 BST 2008

Hello all,
I have pyuic4 version 4.4.2 for Qt 4.4.0 and when I make output.py file 
from widget.ui which contains QListWidget with icons then icons  in 
output.py are defined in __init__ functions but item.setIcon is called 
in retranslatedUi. So this can't work and I have to by hand put all 
icon=Qtgui.QIcon(...) to the retranslateUi function.

Thanks for answer
Jan Kaluza

More information about the PyQt mailing list