Re: [PyKDE] Embedding icon inside code

2003-11-10 Thread Detlev Offenbach
Hi Pete, > Pete > > P.S.: Anybody here with an idea, how to make the mainExceptHook dialog > appear translated in test.py? All my attempts failed so far. Have you tried the qApp.translate approach? This way you give it an explicit context for the translation, which should resolve ok during

Re: [PyKDE] Embedding icon inside code

2003-11-10 Thread Hans-Peter Jansen
Hi Derek, On Monday 10 November 2003 05:53, Derek Fountain wrote: > I have some code which requires an icon. The icon is currently in a > PNG file. I want to have this code as reusable as possible, ideally > in a position where I can redistribute just one file. So I'd like a > way of embedding the

Re: [PyKDE] Embedding icon inside code

2003-11-10 Thread Troy Melhase
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sunday 09 November 2003 23:25, Derek Fountain wrote: > > Qt Designer + pyuic can also generate a python sequence for use with > > QPixmap. > > Can you give me a clue how? I'm happy to go with Roland's suggestion, but > if there's a better way... i

Re: [PyKDE] Embedding icon inside code

2003-11-10 Thread Derek Fountain
> Qt Designer + pyuic can also generate a python sequence for use with > QPixmap. Can you give me a clue how? I'm happy to go with Roland's suggestion, but if there's a better way... -- > eatapple core dump ___ PyKDE mailing list[EMAIL PROTECTED]

Re: [PyKDE] Embedding icon inside code

2003-11-10 Thread Troy Melhase
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sunday 09 November 2003 23:03, Roland Schulz wrote: > On Monday 10 November 2003 05:53, Derek Fountain wrote: > > Is that possible, and if so, how do I do it? > You can convert the PNG file to a XPM file (in Unix you can use convert for > this). Yo

Re: [PyKDE] Embedding icon inside code

2003-11-10 Thread Roland Schulz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey, On Monday 10 November 2003 05:53, Derek Fountain wrote: > I have some code which requires an icon. The icon is currently in a PNG > file. I want to have this code as reusable as possible, ideally in a > position where I can redistribute just one

[PyKDE] Embedding icon inside code

2003-11-09 Thread Derek Fountain
I have some code which requires an icon. The icon is currently in a PNG file. I want to have this code as reusable as possible, ideally in a position where I can redistribute just one file. So I'd like a way of embedding the icon pixmap inside the class. Is that possible, and if so, how do I do