[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] Error with pyuic?
From:       Wido Depping <wido.depping () tu-clausthal ! de>
Date:       2003-06-14 19:03:04
[Download RAW message or body]

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    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic