You can put a QLabel inside your window.
QLabel has setPixmap method, which allows you to specify QPixmap that is being displayed on a label(it's a bit strange to use QLabel for that purpose, but it's a common way).
QPixmap in turn can be used as paint device for QPainter or converted to QImage for per-pixel access.
Bookmarks