How to anchor QGraphicsView to a special point on a scene?
I want a center of a view is anchored to the scene point (0,0).
But as said in docummentation:
If the whole scene is visible in the view, (i.e., there are no visible scroll bars,) the view's alignment will decide where the scene will be rendered in the view.
And if I set agnment to Qt::AlignCenter view becomes anchored to the scene center.
Is it possibe to do?
I need something like QGraphicsView::centerOn that always put the point in to the view center.