My problem is like this:

I load an image with QGraphicsView and QGraphicsScene. The dimension of the image is 2000x3000. I can move this image with finger from the touch screen. But when I approach the edge of the image, the white background will show. So how can I anchor the image when I approach the edge?