The Value variable holds the position of the scroll bar. It varies from 0 to 99. The below code is present inside the HScrollbar value change event:
QRectF sceneRect = plotScene->itemsBoundingRect();
plotScene->setSceneRect((value * ((sceneRect.width())/100)),0,600 ,350);
If the ScrollBar position is 0, then the QGraphicsView should hold the QGraphicsScene data from
the left edge of the GraphicsScene to the width of the view area.
If the ScrollBar position is 99, then the QGraphicsView should hold the QGraphicsScene data from the right edge of the GraphicsScene to the width of the view area.
Same kind of behavior, i am expecting for all scale levels. But it is not happening.