QTreeView insert item, insert 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
dataChanged
,modelReset
,rowsInserted
and so on).