'Paint the interpolated pixmap image.'

def paintEvent(self, event):

    p = QPainter(self)
    p.setClipRect(event.rect())
    factor = (self.blendingFactor_ ** 2)
    if (self.pixmap1 and (1.0 - factor)):
        p.setOpacity((1.0 - factor))
        p.drawPixmap(QPoint(0, 0), self.pixmap1)
    if (self.pixmap2 and factor):
        p.setOpacity(factor)
        p.drawPixmap(QPoint(0, 0), self.pixmap2)
