Overriding ensureVisible on QGraphicsObject
-
On my
QGraphicsObject
I can call.ensureVisible()
and the view conveniently keeps it visible. However, I would like the view's scrolling to the new coordinates to be a smooth animation.Is this possible? I don't even know if I should override it in
QGraphicsObject
or myQGraphicsView
, because I don't know how the object knows about the view it's part of.Thanks for your help.