Qt Quick Controls 1 - File System Browser Example

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.

范例工程 @ code.qt.io