QMLTreeView icon indicating copy to clipboard operation
QMLTreeView copied to clipboard

QML TreeView with custom folder list model in C++

QMLTreeView

QMl TreeView with custom folder list model in C++

This application is to demonstrate the use of exposing custom model to QML to be used with the QML TreeView component.

Example Usage in QML:

 TreeView {
        anchors.fill: parent
        TableViewColumn {
            role: "display" //this will show the folder/file name from the model
        }
        model: sandBoxModel
    }

alt tag