1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:47:35 +00:00

LibGUI: Add GColumnsView

This is a shiny new widget that can display a tree using Miller columns ^:)

In many cases, the columns view can be used as an alternative to tree view,
but it has its own set of limitations:

* It can only display one model column (so it cannot replace a table)
* It takes up a lot of horizontal space, so it's only suitable if the item text
  is fairly short
* It can only display one subtree at a time

But as long as a usecase doesn't suffer from these limitations, a columns view
can be *much* more intuitive than a tree view.
This commit is contained in:
Sergey Bugaev 2020-01-10 19:07:08 +03:00 committed by Andreas Kling
parent 10324f95b0
commit edb61d8bfd
3 changed files with 369 additions and 0 deletions

View file

@ -41,6 +41,7 @@ OBJS = \
GTreeView.o \
GFileSystemModel.o \
GFilePicker.o \
GColumnsView.o \
GSplitter.o \
GSpinBox.o \
GGroupBox.o \