title: How to allow scaling with uniform aspect ratio in (Py)Qt?
body: <p>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. </p>
  
  <p>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. :-)</p>
  
  <p>Thanks in advance!</p>