title: How to enable auto resize for Qlabel in accordance with Window size change in Qt5?
body: <p>I am beginning with a Qt5 programming. I am working on an image crop application. the Qlabel which is holding the loaded image is of a fixed size. I need the Qlabel to auto resize in accordance with the main window size changes</p>
  
  <p>Default screen<br>
  <img src="https://i.stack.imgur.com/ZerAX.jpg" alt=""></p>
  
  <p>resized screen<br>
  <img src="https://i.stack.imgur.com/QpUxe.jpg" alt=""></p>