[PyKDE] image bug re-introduced

Phil Thompson phil at river-bank.demon.co.uk
Wed Apr 30 08:34:00 BST 2003


On Tuesday 29 April 2003 10:51 pm, Kaleb Pederson wrote:
> Here's a section of a pyuic generated file:
>
> # Form implementation generated from reading ui file 'MainInterface.ui'
> #
> # Created: Tue Apr 29 14:40:12 2003
> #      by: The PyQt User Interface Compiler (pyuic) 3.6
> ...
>          # in the constructor
>          self.image0 = QPixmap(image0_data)
>          self.image1 = QPixmap(image1_data)
>          self.image2 = QPixmap(image2_data)
>
> ...
>          self.fileNewAction = QAction(self,"fileNewAction")
>          self.fileNewAction.setIconSet(QIconSet(image1))
>          self.fileOpenAction = QAction(self,"fileOpenAction")
>          self.fileOpenAction.setIconSet(QIconSet(image2))

Damn - I had to change the original fix because it broke something else.

Can everybody who has been affected by this in the past, or who is using 
images in Qt Designer and wants to make sure I don't break things for you 
now, send me a .ui file so that I have a decent set of test cases.

Thanks,
Phil




More information about the PyQt mailing list