An example for the TreeView 控件。
警告: 從 Qt 5.12 起棄用 Qt Quick Controls 1 模塊。使用最新 Qt Quick Controls 模塊代替。
This example project demonstrates the usage of TreeView from Qt Quick Controls 1 - a control to display a tree representation of items from a model derived from the QAbstractItemModel 類。
The example displays the home path data given by the QFileSystemModel model.