Solved Save qlabel picture, modify and reload to qlabel
-
Hi!
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.
-
@Kutyus What about http://doc.qt.io/qt-5/qpicture.html#save ?
-
@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 :)
Thanks