Try this -
Use QGraphicsView::setSceneRect to set the scene area and then show the view in full screen.
Try this -
Use QGraphicsView::setSceneRect to set the scene area and then show the view in full screen.
Thanks again aamer. But it sets scene to say some 3/4th fullscreen and shows scrollbars if it is bigger. I tried setting scrollbars off but even then screen is 3/4th but navigation happens within that and not extending to fullscreen. Please let me know if anything can be done with this.
Please let me know if anybody has solution for this.
myScene->setSceneRect(myScene->itemsBoundingRect());
myView->setSceneRect(myScene->sceneRect());
Aruz (26th August 2012)
Bookmarks