QGraphicsView scale to contents
Hi, I have a GraphicsView which contains a buncha pixmaps and has a fixed maximal size.. meaning the scrollbars are turned off.. I would like to know if there is a flag or an easy way to tell the view to automatically scale the content when it is shrinked so that the entire scene is still visible ??
Is "fitInView":http://qt-project.org/doc/qt-4.8/qgraphicsview.html#fitInView what you are looking for ?