The example is found in the Qt Assistant. I'm trying to use a Tree View with an XML file as my model. I tried to search through these forums to see if something like this has been talked about, but you're not allowed to search for xml and "xml" as a tag has been used four times when I was searching.

Anyway, the example is read-only. What I'll be wanting to do is either just add comments to elements or to create brand new elements in the xml. I'm new to using Model/View stuff (I've always just used the much easier to use TreeWidget and such before), but I was wondering if someone has made an XML model that is read/write, some helpful tips/code snippets, or links to tutorials who can walk me through this problem.

Thanks.