I'm working on writing yet another geospatial imagery viewing application. Since I have to deal with large images, I've already created a subclass of QWidget specifically for rendering QImage's. I can readily put that into a QScrollArea without any problems.
I would like to add a compass-rose as an overlay on top of the image displayed within my scroll area. It would have to be rendered in a fixed position (say, in the upper right corner) as the user scrolls around the image. I've tried subclassing QScrollArea, and re-implementing the paintEvent but that paints in the background behind the loaded widget, and so gets obscured by the image.
I've googled extensively, but haven't been able to find anything very informative, much less any examples from which to bootstrap myself. Any help would be greatly appreciated.