Hello, I want to save all items in a QGraphicsScene to a file. When I load the file, I should be able to use them as QGraphicsItems(as before). I keep my items in a QList like QList<QGraphicsItem *> mItemsOnScreen. I should be able to get back that list when i load the file.

How can I save those items to a file on disk. What kind of a file format should i use? And of course how will i read that file back?

Thanks in advance...