Scroll area for a QGraphicsWidget
I'm working with QGraphicsWidgets within a QGraphicsScene. I'm trying to embed multiple graphics widgets withing a parent graphics widget. I'm managing the widgets using a QGraphicsAnchorLayout.
The problem I have is the total of the children graphics widgets are bigger than the viewable area of the parent graphics widget. The parent widget is appropriately sized within the scene, but I'm looking to add scrolling to its contents. I would just use a QScrollArea in the widget and wrap it in a QGraphicsProxy widget, but I as far as I know I can only use standard widgets within the QScrollArea not graphics widgets. Does this functionality exist within a graphics widget and how would I accomplish it?
Maybe you should make the graphics view which displays your graphics scene scrollable instead.