TreeView in QT from XML file
Unsolved
C++ Gurus
-
wrote on 14 Aug 2022, 07:39 last edited byThis post is deleted!
-
wrote on 14 Aug 2022, 08:49 last edited by
@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
.
1/2