[Interest] Prevent QGraphicsView calling fitInView() after addItem()

Patrick Stinson patrickkidd at gmail.com
Fri Apr 7 06:43:46 CEST 2017


Hi there!

It appears that the default behavior for QGraphicsView is to call fitInView() to center all the items in the scene when a new item is added. Is there a way to prevent this? I don’t see anything in the docs.

Thanks!
-P


More information about the Interest mailing list