I took a look at the source of Qt (v4.5, although I do not expect much difference between v4.4 and v4.5) for QAbstractItemView and QTreeView, and I do not think that they support gradual lazy loading of child nodes.
QAbstractItemView has no concept of trees, so it only calls fetchMore()at the very top index. It causes fetchMore()when:
- Geometry Updated
- Scroll bars move
- Rows are inserted
- Current item changed as a result of autoscroll drag and drop operation
QTreeView fetchMore(), :
- (, , ,
fetchMore() ) - , ,
expandAll() collapseAll()
, QTreeView, fetchMore() .