Skip to content

ATreeView#

Displays a tree model of strings.

Header:#include <AUI/View/ATreeView.h>
CMake:aui_link(my_target PUBLIC aui::views)

Detailed Description#

ATreeView provides view of string-capable ITreeModel objects.

Examples#

examples/ui/views/src/ExampleWindow.cpp

Views Example — All-in-one views building example.

                // tree view
                GroupBox {
                  Label { "Tree view" },
                  [] {   // lambda style inlining
                      return _new<ATreeView>(_new<ATreeModel<AString>>(AVector<ATreeModel<AString>::Item>{
                              {
                                "dir1",
                                {
                                  { "file1" },
                                  { "file2" },