A QGraphicsScene is a class from the Qt toolkit that provides a surface for managing a large number of 2D graphical items.


A QGraphicsView is a class from the Qt toolkit which provides a widget for displaying the contents of a QGraphicsScene.

Default necessary scroll


"If i set a pixmap to a qgraphicsscene that is larger that the window it will add scrollbars so is it possible to get what is displayed in the qgraphicsview"

from question  

Getting the visible area of a QGraphicsScene in QGraphicsView

"By default when you scale a qgraphicsscene larger than the qgraphicsview in which it is displayed it will show the necessary scroll bars"

from question  

How to resize a QGraphicsView after QGraphicsView::Scale



I have done a similar thing to use a qgraphicsscene qgraphicsview to display items in a model;despite it s name qgraphicsview isn t part of the model view framework so i implemented a custom view class which drew the model data on the qgraphicsscene

from question  

Beginning Qt Model / View with Nested Object Collections

Generaly qgraphicsscene better using with connection qgraphicsview

from question  

Understanding QGraphicsScene in Qt

Back to Home
Data comes from Stack Exchange with CC-BY-SA-4.0