I'm trying to make a Qt TreeView for my application, I'd been using a ListView originally but I think a treeview would suit my needs better however the documentation is almost none existent.
to add a new item to a listview is use
var list = QNewListWidget(nil)
list.AddItem2("Sample")
however I've been looking to change it to a treeview so I can have:
Sample
- Sample child 1
- sample child 2
The documentation almost seems no existent for Go, anyone know how I can do this ?