PDA

View Full Version : QGraphicsView ensureVisible() and centerOn()



onurozcelik
25th May 2010, 14:07
Hi,
I am going to do pan/scale stuff on QGraphicsView.
So I read the documentation of QGraphicsView and see some utility functions like ensureVisible() and centerOn()
I think I understand what the documentation says but I can' t manage to write a working example.
Could you please write/suggest me an example code to understand the issue.