Model-View and trees
Unsolved
General and Desktop
-
While model for listvIew is clear (we have rows, each row has column) how create model for tree control? For example - how to put in model filesystem subdirectory? And two kinds : first - we want fill all nodes, second - lazy in the fly - we want read directory when tree node is expanding.
Is https://doc.qt.io/qt-5/modelview.html is section 3.1 TreeView.