mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-07 00:56:14 +00:00
VisualBuilder: Move properties window to its own class.
This commit is contained in:
21
Applications/VisualBuilder/VBPropertiesWindow.cpp
Normal file
21
Applications/VisualBuilder/VBPropertiesWindow.cpp
Normal file
@@ -0,0 +1,21 @@
|
||||
#include "VBPropertiesWindow.h"
|
||||
#include <LibGUI/GWidget.h>
|
||||
#include <LibGUI/GBoxLayout.h>
|
||||
#include <LibGUI/GTableView.h>
|
||||
|
||||
VBPropertiesWindow::VBPropertiesWindow()
|
||||
{
|
||||
set_title("Properties");
|
||||
set_rect(780, 200, 200, 280);
|
||||
|
||||
auto* widget = new GWidget;
|
||||
widget->set_fill_with_background_color(true);
|
||||
widget->set_layout(make<GBoxLayout>(Orientation::Vertical));
|
||||
set_main_widget(widget);
|
||||
|
||||
m_table_view = new GTableView(widget);
|
||||
}
|
||||
|
||||
VBPropertiesWindow::~VBPropertiesWindow()
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user