title: How to load/display an image onto a PyQT window?
body: <p>I came across the following code to create a PyQT window.</p>
  
  <pre><code>class PrettyWidget(QtGui.QWidget):
  
      def __init__(self):
          super(PrettyWidget, self).__init__()
          self.initUI()
  
      def initUI(self):
          self.setGeometry(600,300,1000,600)
          self.center()
          self.setWindowTitle('Browser')
  
          self.show()    
  
      def center(self):
          qr = self.frameGeometry()
          cp = QtGui.QDesktopWidget().availableGeometry().center()
          qr.moveCenter(cp)
          self.move(qr.topLeft())
  
  def main():
      app = QtGui.QApplication(sys.argv)
      w = PrettyWidget()
      app.exec_()
  
  if __name__ == '__main__':
      main()
  </code></pre>
  
  <p>I would like to insert/embed an image onto this window (say image.jpg with the path known). It should preferably be at the bottom of the window and should not consume the entirety of the window. How can I do that ?</p>