Re: QGraphicsView::translate
Is your scene bigger than your view? If not, translating the view won't change anything.
Re: QGraphicsView::translate
I see what you mean by that now. How do I translate the origin of my scene in a view so that it's somewhere other than dead center?
Also - do you know if I can turn off that auto scroll when I add items close to the edge of the view?
Thanks.
Re: QGraphicsView::translate
The view inherits QAbstractScrollArea. Dig out the rest yourself :)
To anchor the scene to something else than the centre of the view (if it is smaller than the view) use the QGraphicsView::alignment property.
Re: QGraphicsView::translate
Thanks. That's a good starting point.