mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 06:55:07 +00:00
VisualBuilder: Move properties window to its own class.
This commit is contained in:
parent
21d4b1c2fc
commit
ec841f3a23
4 changed files with 43 additions and 22 deletions
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()
|
||||
{
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue