I'm fairly new to Qt and therefor try to find out how things are working. Especially for QTreeView this seems to be quite difficult: the documentation and the example that come from Qt are (at least for me) more or less cryptic. I'd guess one will understand this documentation only when one already knows how it works.
So: could someone give an example or an link to an example which is beginner-suitable and demonstrates the usage of QTreeView? Means which demonstrates how to add a node and some child nodes to it?
Thanks!
Maybe this mini example can help you.
But to understand it you have to grasp the Model-View concept. The idea is that you don't add to the view, you add to the model and the view updates itself.