For a rectangular selection you can use the rubber band selection mode of the graphics scene. For an irregular shape just draw a item over all other things in your scene, add some handlers that the user can modify the shape and then use the shape of that item to extract the new image.