Hi,
I want to set QTreeView model from an XML file? I tried with Qt exemples but they are for QTreeWidget, I did not succeed to convert one of exemple to work with QTreeView(with model).
I have an XML file like below.
Qt Code:
<root> <Folder Name="myFolder"> <File Name="myFile" /> </Folder> <Folder Name="mySecondFolder"> <File Name="myFile2" /> <File Name="myFile3" /> <File Name="myFile4" /> </Folder> </root>To copy to clipboard, switch view to plain text mode
Bookmarks