[PyKDE] Qt designer static images and pyQt
Phil Thompson
phil at river-bank.demon.co.uk
Wed Nov 6 09:13:01 GMT 2002
On Tuesday 05 November 2002 11:40 pm, Amir Michail wrote:
> Hi,
>
> I was wondering what the standard way of
> including static images is in a pyQt application.
>
> I have tried including a static image in a dialog
> designed by Qt designer and then using the -embed
> option in pyuic (pyQt 3.1). However, this resulted in several problems:
>
> * it generated incorrect code (there's a missing str on a QString
> comparison with a python string)
> * even after fixing this, only the first 1/3 or so of the image appeared
> correctly; the rest was garbled
Can you send me an example .ui file?
If you use a significantly smaller or larger image, is it still 1/3 that is
ok?
Phil
More information about the PyQt
mailing list