Try if QGraphicsItem::ensureVisible helps you