mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
25 lines
663 B
C++
25 lines
663 B
C++
#include "VBPropertiesWindow.h"
|
|
#include <LibGUI/GBoxLayout.h>
|
|
#include <LibGUI/GTableView.h>
|
|
#include <LibGUI/GTextBox.h>
|
|
#include <LibGUI/GWidget.h>
|
|
|
|
VBPropertiesWindow::VBPropertiesWindow()
|
|
{
|
|
set_title("Properties");
|
|
set_rect(780, 200, 240, 280);
|
|
|
|
auto* widget = new GWidget;
|
|
widget->set_fill_with_background_color(true);
|
|
widget->set_layout(make<GBoxLayout>(Orientation::Vertical));
|
|
widget->layout()->set_margins({ 2, 2, 2, 2 });
|
|
set_main_widget(widget);
|
|
|
|
m_table_view = new GTableView(widget);
|
|
m_table_view->set_headers_visible(false);
|
|
m_table_view->set_editable(true);
|
|
}
|
|
|
|
VBPropertiesWindow::~VBPropertiesWindow()
|
|
{
|
|
}
|