title: How to set image on QPushButton?
body: <p>I want to set an image on <code>QPushButton</code>, and the size of <code>QPushButton</code> should depend on the size of the image. I am able to do this when using <code>QLabel</code>, but not with <code>QPushButton</code>.</p>
  
  <p>So, if anyone has a solution, then please help me out.</p>