title: How to insert a QImage into an NxN grid layout in PyQt4?
body: <p>I have a 4x4 grid in a grid layout in PyQt4:</p>
  
  <pre><code>self.grid = QtGui.QGridLayout()
          pos = [(0, 0), (0, 1), (0, 2),(0, 3),
                 (1, 0), (1, 1), (1, 2), (1, 3),
                 (2, 0), (2, 1), (2, 2), (2, 3),
                 (3, 0), (3, 1), (3, 2), (3, 3)]
  
          for position in pos:
              button = QtGui.QPushButton('button 1')
              self.grid.addWidget(button, position[0], position[1])
  
          self.setLayout(self.grid)
          self.move(300, 150)
          self.show()
  </code></pre>
  
  <p>What I need is to replace the <code>QPushButton</code>s with grids that contain images, so that it forms a 4X4 grid of images. Towards that, I know that I will have to use <code>QImage</code> but am not exactly sure how! Could anyone please help me out?</p>
  
  <p>Thanks</p>