The Qt Company

TreeView for Qt Quick

Provides a control that can be used to show a tree model in QtQuick.

TreeView provides a QML type to display data from any QAbstractItemModel. It extends TableView with expandable and collapsable nodes, which can be used in either a list or table mode. The former lets the user navigate up and down like in the list, but the left and right arrow keys will expand or collapse the nodes. The latter mode lets the user navigate between the columns as well using the left and right arrow keys.

Several convenience methods are available to map the model index with the item index in the view. Custom delegates can be created, but it is possible to customize the view delegate with several style hints. Row background and foreground colors, alternate background colors, text font, and collapsed/expanded icons can be easily changed without writing a new delegate. 

Examples:

 

Licensing

With your Marketplace purchase, you acquire this particular extension under the Qt Marketplace License Agreement.

Premium extensions by The Qt Company

This extension is provided by The Qt Company. Qt has an ocean of incredible community and partner-created extensions, add-ons, and modules. These components enhance the Qt design and development workflow of your project.

After the library has been purchased, the download link with the build instructions will automatically be given to you.

Support

Contact marketplace@qt.io if you have any questions regarding purchasing or any other questions.

 

$29.00

By clicking button above, I agree Marketplace user terms and conditions and EULA

Reviews
Details
Version:
1.0
Publisher:
The Qt Company
Contact:
marketplace@qt.io
Copyright:
The Qt Company
License:
Qt Marketplace LA
Included in Qt Commercial:
-
Also available:
GPLv3
Platforms:
All platforms supported by Qt
Qt versions:
5.15
Support:
Component support available for Qt commercial license users only
Bug URL:
https://bugreports.qt.io
Source repository:
https://code.qt.io/cgit/qt-extensions/qttreeview.git
Dependencies:
Qt Quick