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)) _______________________________________________ PyKDE mailing list [EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
