I think you need to re-thinking your item management, since you seems to not use graphics features as usual way.
QGraphicsView is a view of a QGraphicsScene.
When unsing QGraphicsItem::setPos, you are positionning item in the scene as data regarless of the view portion of the scene displayed in the view.
So the point(0,0) is the center of the scene, whatever shows the view.
To put your item at topleft corner of the view, you can use QGraphicsView::mapToScene to convert pixel coordinates of the viewport to scene coordinates. see the-graphics-view-coordinate-system
But if you dont move the view, every item will be at same position!
But this still not explain why your sceneRect grows in y-axis...
Bookmarks