What is the benefit of creating a QImage and then immediately converting it to a QPixmap?

For painting: Reimp all needed mouse event handlers and then either using QPainter and draw an the QPixmap or store all lines etc. call update() and do the drawings at the paint event.

EDIT: Just found out, that my browser has a refresh button. Maybe I should use it from time to time...