QGraphicsView - move rubberband-handling into a private function