code: def grabImage(self, index):
          
          # rect = self._rects[index.row()][index.column()]
          rect = self.visualRect(index)
          pixmap = QtGui.QPixmap()
          pixmap = pixmap.grabWidget(self, rect)     
          return pixmap
docs: Gets an image of the item at *index*
  
          :param index: index of an item in the view
          :type index: :qtdoc:`QModelIndex`
          :returns: :qtdoc:`QPixmap`