On Tue, 10 Feb 2009 22:45:51 +0100, Markus Feldmann wrote:

> i have an QScrollArea where i inserted a QLabel.
> This QLabel includes an QImage.
>
> I want to zoom/scale into this image.
> How can i do this?

Try one of these approaches:

1. Keep the original image and show a scaled copy in the label, making sure
that you resize the label to the size of the scaled image.

2. Alternatively, call setScaledContents(True) on the label and resize it.

The Image Viewer example takes the second approach.

David
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to