Unsolved QGraphicsScene save to file, and read the file to reload ?
-
QGraphicsScene is very convenient to edit QGraphicsItem.
Is there a good way to save QGraphicsitems to file to make it reloadable to edit again like photoshop ? -
-
Hi
@Pl45m4 solution will allow you to make bitmap images of the scene/items and edit on other programs.However, if you mean to save the scene as a file and later load the same scene, you will need to save it differently for that to be possible.
see here for a sample saving the items.
https://stackoverflow.com/questions/30678877/save-load-items-from-a-qgraphicsscene