def getPixmap(name):
 key = (name + '.png')
 data = pixmapData.pixmapData[key]
 if (isinstance(data, basestring) or isinstance(data, bytes)):
  pixmapData.pixmapData[key] = pickle.loads(data)
 arr = pixmapData.pixmapData[key]
 return QtGui.QPixmap(makeQImage(arr, alpha=True))

def getPixmap ( name ) : key = ( name + '.png' ) data = pixmapData . pixmapData [ key ] if ( isinstance ( data , basestring ) or isinstance ( data , bytes ) ) : pixmapData . pixmapData [ key ] = pickle . loads ( data ) arr = pixmapData . pixmapData [ key ] return QtGui . QPixmap ( makeQImage ( arr , alpha = True ) )
return a qpixmap corresponding to the image file with the given name .