#include <multi_page.hpp>
Public Member Functions | |
builder_multi_page (const config &cfg) | |
virtual widget * | build () const override |
![]() | |
builder_styled_widget (const config &cfg) | |
virtual widget * | build (const replacements_map &replacements) const override |
![]() | |
builder_widget (const config &cfg) | |
virtual | ~builder_widget () |
Public Attributes | |
std::map< std::string, builder_grid_const_ptr > | builders |
std::vector< std::map< std::string, t_string > > | data |
Multi page data. More... | |
![]() | |
std::string | definition |
Parameters for the styled_widget. More... | |
t_string | label_string |
t_string | tooltip |
t_string | help |
bool | use_tooltip_on_label_overflow |
bool | use_markup |
![]() | |
std::string | id |
Parameters for the widget. More... | |
std::string | linked_group |
int | debug_border_mode |
color_t | debug_border_color |
Additional Inherited Members | |
![]() | |
typedef std::map< std::string, std::shared_ptr< builder_widget > > | replacements_map |
The replacements type is used to define replacement types. More... | |
Definition at line 254 of file multi_page.hpp.
|
explicit |
Definition at line 188 of file multi_page.cpp.
References _(), builders, config::child(), config::child_range(), d, data, i, and VALIDATE.
|
overridevirtual |
Implements gui2::builder_widget.
Definition at line 226 of file multi_page.cpp.
References builders, gui2::styled_widget::cast_config_to(), data, DBG_GUI_G, gui2::implementation::builder_styled_widget::definition, gui2::multi_page::finalize(), gui2::container_base::init_grid(), and gui2::multi_page::set_page_builders().
std::map<std::string, builder_grid_const_ptr> gui2::implementation::builder_multi_page::builders |
Definition at line 262 of file multi_page.hpp.
Referenced by build(), and builder_multi_page().
std::vector<std::map<std::string, t_string> > gui2::implementation::builder_multi_page::data |
Multi page data.
Contains a vector with the data to set in every cell, it's used to serialize the data in the config, so the config is no longer required.
Definition at line 270 of file multi_page.hpp.
Referenced by build(), and builder_multi_page().