qt4 - how to Fit QGraphicsScene in a QGraphicsView -
i want to fit qgraphicsscene in qgraphicsview different dimensions, such shrink or expand according size of view, , there should no scrollbar.
scaling view bellow doing required:
view->scale(framewidth / scenewidth, frameheight / sceneheight);
Comments
Post a Comment