Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QTreeView insert item, insert child item...
sitev_ru last edited by
How to add item QTreeView? Add a child item?
Hi, welcome to devnet.
QTreeView is one of the model/view classes. In this approach you don't add items to view instance. You add items to model instance, and it notifies the view of the changes (via various signals like
rowsInsertedand so on).