Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Scroll area for a QGraphicsWidget
C-Rex last edited by
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?
msue last edited by
Maybe you should make the graphics view which displays your graphics scene scrollable instead.