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