I have a QGraphicsView, and I would like to use a .tif image as a background for it. I am assuming I have to rewrite the drawBackground() function, but how would I rewrite it?
I do not want to add the image as a QGraphicsPixmapItem to my QGraphicsScene and then set the image to (0,0) and scale it so it takes up my QGraphicsView background. I would like to do all this inside the QGraphicsView class.
Bookmarks