PDA

View Full Version : Update QtreeView from DomModel



tescik
25th June 2014, 18:56
Hi

I have a xml file that I imported to a treeview using a QDomDocument (so I have a DomMode based on QAbstractItemModel)
my problem is that after that I get new data so I can update my DomModel but I don't know how to update the corresponding item in the treeview!!
Everything I had found in the forum is updating the data in the other ditrection: from the treeview to the dommodel!
Any ideas about how to proceed?