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
here is a possible solution (no clue whether this is the intended one)
QRectF XXX::getCurrrentlyVisibleRegion() const
{
//to receive the currently visible area, map the widgets bounds to the scene
QPointF topLeft = mapToScene (0, 0);
QPointF bottomRight = mapToScene (this->width(), this->height());
return QRectF (topLeft, bottomRight);
}
HTH, Bernhard