Loader(Panel &, WidgetMap &);
private:
- Layout &get_layout();
Widget &get_last_widget();
template<typename T>
void arrangement();
static TypeRegistry<Loader::AddChildType, Loader &> widget_registry;
static bool widget_registry_init_done;
- Panel(const Panel &);
- Panel &operator=(const Panel &);
public:
Panel();
virtual ~Panel();
const char *get_class() const override { return "panel"; }
- void set_layout(Layout *);
- Layout *get_layout() { return layout; }
+ Layout &get_or_create_layout();
protected:
void autosize_special(const Part &, Geometry &) const override;