If your scene is smaller than the view then fitInView is a no-op.
Actually quite the contrary, you can't have it NOT in the view 
_ui->graphicsView->ensureVisible(0,0,_ui->graphicsView->size().width(), _ui->graphicsView->size().height(), 0, 0);
_ui->graphicsView->fitInView(0,0,_ui->graphicsView->size().width(), _ui->graphicsView->size().height());
_ui->graphicsView->ensureVisible(0,0,_ui->graphicsView->size().width(), _ui->graphicsView->size().height(), 0, 0);
_ui->graphicsView->fitInView(0,0,_ui->graphicsView->size().width(), _ui->graphicsView->size().height());
To copy to clipboard, switch view to plain text mode
Try using QGraphicsView::centerOn() and give the center position of your desired rect.
Bookmarks