1
Fork 0
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:
Andreas Kling 2019-04-11 22:03:55 +02:00
parent 21d4b1c2fc
commit ec841f3a23
4 changed files with 43 additions and 22 deletions

View 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()
{
}