QGraphicsView ensureVisible() and centerOn()

Posted by onurozcelik on Stack Overflow See other posts from Stack Overflow or by onurozcelik
Published on 2010-05-25T13:11:46Z Indexed on 2010/05/25 23:21 UTC
Read the original article Hit count: 219

Filed under:
|
|
|
|

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.

© Stack Overflow or respective owner

Related posts about c++

Related posts about qt