You can also use QPicture or just paint on QPixmap and then copy it to the widget. There is also QPixmap::grabWidget().