I've loaded an image (QImage) in a frame by means of: frame->image.load(fileName);

I would like to create a copy (if it's possible without saving it) from this image and make some changes in the image and show it again once it has been modified, but I don't know how to do it... because I use paintevent and I think that the paintevent repaint the image all the time, without represented the changes.