mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:58:11 +00:00
LibGUI: Expand GModelIndex a bit, adding internal data and model pointers.
This will be useful for implementing more complicated models.
This commit is contained in:
parent
12ec55ee74
commit
d02238af48
10 changed files with 94 additions and 34 deletions
|
@ -11,6 +11,7 @@
|
|||
#include <LibGUI/GInputBox.h>
|
||||
#include <LibGUI/GMessageBox.h>
|
||||
#include <LibGUI/GProgressBar.h>
|
||||
#include <LibGUI/GTreeView.h>
|
||||
#include <unistd.h>
|
||||
#include <signal.h>
|
||||
#include <stdio.h>
|
||||
|
@ -48,7 +49,12 @@ int main(int argc, char** argv)
|
|||
|
||||
auto* location_textbox = new GTextEditor(GTextEditor::SingleLine, location_toolbar);
|
||||
|
||||
auto* directory_view = new DirectoryView(widget);
|
||||
// FIXME: Implement an actual GSplitter widget.
|
||||
auto* splitter = new GWidget(widget);
|
||||
splitter->set_layout(make<GBoxLayout>(Orientation::Horizontal));
|
||||
auto* tree_view = new GTreeView(splitter);
|
||||
auto* directory_view = new DirectoryView(splitter);
|
||||
|
||||
auto* statusbar = new GStatusBar(widget);
|
||||
|
||||
auto* progressbar = new GProgressBar(statusbar);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue