VBPropertiesWindow.cpp 612 B

123456789101112131415161718192021222324
  1. #include "VBPropertiesWindow.h"
  2. #include <LibGUI/GWidget.h>
  3. #include <LibGUI/GBoxLayout.h>
  4. #include <LibGUI/GTableView.h>
  5. #include <LibGUI/GTextBox.h>
  6. VBPropertiesWindow::VBPropertiesWindow()
  7. {
  8. set_title("Properties");
  9. set_rect(780, 200, 240, 280);
  10. auto* widget = new GWidget;
  11. widget->set_fill_with_background_color(true);
  12. widget->set_layout(make<GBoxLayout>(Orientation::Vertical));
  13. set_main_widget(widget);
  14. m_table_view = new GTableView(widget);
  15. m_table_view->set_headers_visible(false);
  16. m_table_view->set_editable(true);
  17. }
  18. VBPropertiesWindow::~VBPropertiesWindow()
  19. {
  20. }