Save qlabel picture, modify and reload to qlabel
I have a qlabel, and I make a qpicture with the qpainter and setting this picture to qlabel, is working fine.
I would like to modify the picture, I would like to save the actual, because there are several versions, but I do not know how.
Thanks in advance.
@jsulm I not need a file, I need QPixmap or QPicture object.
QPicture pic1; QPicture pic2 = pic1;
Ok, I solve the problem, change the QPicture to QPixmap, and it is copyable with the copy() method :)