The repainting of the Render widget is based on QPixmap and QGraphicsView