I\'ve been pulling my hair out with this one for hours. There\'s a thread here about it, but nothing seems to be working. QGraphicsView::rect() will return the width and hei
Just map the pixel-based viewport rectangle to the scene using the view:
graphicsView->mapToScene(graphicsView->viewport()->geometry()).boundingRect()
Bye, Marcel