If you have a QImage wrapped inside a QLabel, is it possible to scale it up or down when you resize the window and maintain the aspect ratio (so the image doesn't become distorted)? I figured out that it can scale using setScaledContents(), and you can set a minimum and maximum size, but the image still loses its aspect.
It would be great if this could be explained using Python (since I don't know c++), but I'll take what I can get. :-)
Thanks in advance!