On Saturday 14 June 2003 12:26, Phil Thompson wrote: > On Saturday 14 June 2003 1:13 am, Wido Depping wrote: > > I have a problem with pyuic shipped with PyQt 3.6. > > If I embed an icon in the ui file and run pyuic, I get the following > > output: > > > > # looks ok > > image0_data = [ > > "22 22 181 2", > > "Qt c None", > > "aV c #d95500", > > ..... > > "QtQtQtQtaLaMaNaOQtQtQtQtQtQtaPaQaRaSQtQtQtQt", > > "QtQtQtQtaTaUaVQtQtQtQtQtQtQtQtaWaXaYQtQtQtQt" > > ] > > > > # the next lines are from __init__() > > # with or without self??? > > # if module is imported i get a traceback that image0 is not defined > > # maybe 'image0 = QPixmap(image0_data)', or other way round? > > self.image0 = QPixmap(image0_data) > > self.aboutMyProgramm.setIconSet(QIconSet(image0)) > > Try the current snapshot.
Ok, that worked. Thanks. Wido _______________________________________________ PyKDE mailing list [EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
