Re: [PyKDE] .. a bit of progress ...

2006-09-16 Thread Dave S
On Saturday 16 September 2006 10:55, Sebastian Kügler wrote: > Hi Dave, > > On Saturday 16 September 2006 11:22, Dave S wrote: > > A bit of progress but still stuck ... > > > > backgnd_png = self.config.get('files','background') > > print backgnd_png > > image = QImage.load(

Re: [PyKDE] .. a bit of progress ...

2006-09-16 Thread Sebastian Kügler
Hi Dave, On Saturday 16 September 2006 11:22, Dave S wrote: > A bit of progress but still stuck ... > > backgnd_png = self.config.get('files','background') > print backgnd_png > image = QImage.load(backgnd_png) Try image=QImage() image.load(backgnd_png)

Re: [PyKDE] .. a bit of progress ...

2006-09-16 Thread Dave S
On Friday 15 September 2006 22:19, Dave S wrote: > Hi all, > > I need to add a large company logo as the backdrop to my QTable. Googling I > managed to work out that I need something like ... > > m = QImage(file ??) > self.table1.setPaletteBackgroundPixmap(Qpixmap(m.scale(max W, max H, > Qimage.Sca