Qt 5.9 | Qt Quick Controls | Qt Quick Controls Examples | Qt Quick Controls - File System Browser Example

Qt 5.9.2 Reference Documentation

# Qt Quick Controls - File System Browser Example

This example project demonstrates the usage of TreeView from Qt Quick Controls - a control to display a tree representation of items from a model derived from the QAbstractItemModel class.

The example displays the home path data given by the QFileSystemModel model.

Files:

- filesystembrowser/main.qml
- filesystembrowser/main.cpp
- filesystembrowser/filesystembrowser.pro
- filesystembrowser/qml.qrc