This is the Qt Example for a "Simple Tree Model" but converted to using a QML TreeView instead of a QTreeView widget. It is using a QAbstractItemModel to represent the tree model.
This project is a coursework assignment. It is NOT intended for production environments. Feel free to use it as a small utility tool, but do not rely on it for critical tasks. There are no guarantees ...