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
Supported Qt versions:
5.15.0
5.15.1
5.15.2
5.15.3
No Qt 6 support yet
Support:
Component support available for Qt commercial license users only
Bug URL:
https://bugreports.qt.io/browse/QTEXT
Source repository:
https://code.qt.io/cgit/qt-extensions/qttreeview.git
Dependencies:
Qt Quick
Customer Reviews
1.0 Based on 1 Reviews
Write a Review

Thank you for submitting a review!

Your input is very much appreciated. Share it with your friends so they can enjoy it too!

Filter Reviews:
M
04/21/2021
Michelle
Canada Canada
I recommend this product
Frustrating

Version 1 of TreeView is deprecated, version 2 is now a $30 addon now. So I bought it and installed it, but it doesn't work. And there is no support (unless you purchase a commercial version of Qt). So I wasted $30. I can't afford to throw away money on an open source (free) project...

05/10/2021
Qt Marketplace

Thank you for reaching out! It seems you have a use-case we don't do in our validation of the module, and from your description, we could not tell why it isn't working. Therefore we're kindly asking you to create a bug report under https://bugreports.qt.io/browse/QTEXT and provide more information so we can solve this issue. Thanks in advance.