title: How to add a text on image(Python GUI PyQt5)
body: <p>how to add a text on image? It may place top right top left bottom right bottom left or center it does no matter?</p>
  
  <pre><code>class Example(QWidget):
  
      def __init__(self):
         super().__init__()
  
      self.im = QPixmap("./images.png")
      self.label = QLabel()
      # self.label.setText("sdsdsd")
      # self.label.setStyleSheet("color:black")
  
      self.label.setPixmap(self.im)
  
      self.grid = QGridLayout()
      self.grid.addWidget(self.label,1,1)
      self.setLayout(self.grid)
  
      self.setGeometry(50,50,320,200)
      self.setWindowTitle("\n")
      self.show()
  
  if name == '__main__':
      app = QApplication(sys.argv)
      ex = Example()
      sys.exit(app.exec_())
  </code></pre>
  
  <p>here is what i did but i could not a text on image. How can solve this? I googled many times but I did not find any solutions regarding this issue.</p>