mirror of
https://github.com/RGBCube/serenity
synced 2026-01-18 06:31:00 +00:00
This patch adds the following convenience helper:
auto tab_widget = GUI::TabWidget::construct();
auto my_widget = tab_widget->add_tab<GUI::Widget>("My tab", ...);
The above is equivalent to:
auto tab_widget = GUI::TabWidget::construct();
auto my_widget = GUI::Widget::construct(...);
tab_widget->add_widget("My tab", my_widget);
|
||
|---|---|---|
| .. | ||
| DisplayProperties.cpp | ||
| DisplayProperties.h | ||
| ItemListModel.h | ||
| main.cpp | ||
| Makefile | ||