1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 00:17:46 +00:00

LibGUI: Add a MultiView widget, based on FileManager's "DirectoryView"

A MultiView is a combination of ItemView, TableView and ColumnsView
smashed into a single widget. You can switch between the view modes
by calling MultiView::set_view_mode().

Note that MultiView inherits from StackWidget, not AbstractView.
That's purely for practical reasons, although I'm not entirely sure
if there would be some benefit to having it inherit from AbstractView.
This commit is contained in:
Andreas Kling 2020-02-24 20:48:42 +01:00
parent bc64f8c502
commit 1b2b35cc40
4 changed files with 299 additions and 0 deletions

View file

@ -53,6 +53,7 @@ class Model;
class ModelEditingDelegate;
class ModelIndex;
class MouseEvent;
class MultiView;
class PaintEvent;
class Painter;
class ResizeCorner;