Hello,

I am trying to save out a xml file of my qgraphicsscene and was wondering if there is a clean way to get a list of top level items aka items that do not have a prent.

I know that I can keep track of a list myself, I can parse through all objects, but aren't these things stored in the qgraphicsitem as a tree or something? I would think there would be a quick/fast way to get all top level items.

Thank you