What's about QGraphicsView::setAlignment() with Qt::AlignCenter?