TreeView in QT from XML file
-
@QtisHard
Just Google forQTreeView XML
. I see an old example at https://www.qtcentre.org/threads/44877-Convert-XML-to-QTreeView, or there is https://stackoverflow.com/questions/70229349/python-pyqt-how-to-insert-a-xml-file-in-qtreewidget-without-the-last-child. It is perhaps easier as per the second item to go viaQTreeWidget
withQTreeWidgetItem
s than aQStandardItemModel
.