title: How to update a QLabel to display a QImage
body: <p>I may be misunderstanding how to do this, hopefully somebody can clarify.</p>
  
  <p>I have placed a <code>QLabel</code> on my main window from inside Qt Designer.  Currently, it just displays the letters "<code>TextLabel</code>" when I run the program.  </p>
  
  <p>I have a line edit where I type in the path to an image, which then loads the image as a <code>QImage</code> into memory (I have this working).</p>
  
  <p>Finally, I want to display this <code>QImage</code>.  I was told this can be done by <code>QLabels</code>.  I have done the following, but nothing is happening:</p>
  
  <pre><code>ui.input_label-&gt;setPixmap(QPixmap::fromImage(my_qimage));
  </code></pre>
  
  <p>Why is nothing happening?  How can I display this image?</p>