Draws the pixmap for this widget.
        
        :param      event | <QPaintEvent>

def paintEvent(self, event):
        """
        Draws the pixmap for this widget.
        
        :param      event | <QPaintEvent>
        """
        pixmap = self.currentPixmap()
        rect   = self.currentPixmapRect()
        
        with XPainter(self) as painter:
            painter.drawPixmap(rect.x(), rect.y(), pixmap)