#include <multi_page.hpp>
Public Member Functions | |
tbuilder_multi_page (const config &cfg) | |
twidget * | build () const |
![]() | |
tbuilder_control (const config &cfg) | |
virtual twidget * | build (const treplacements &replacements) const override |
void | init_control (tcontrol *control) const |
![]() | |
tbuilder_widget (const config &cfg) | |
virtual | ~tbuilder_widget () |
![]() | |
reference_counted_object () | |
reference_counted_object (const reference_counted_object &) | |
reference_counted_object & | operator= (const reference_counted_object &) |
virtual | ~reference_counted_object () |
void | add_ref () const |
void | dec_ref () const |
int | refcount () const |
Public Attributes | |
tbuilder_grid_ptr | builder |
std::vector< std::map < std::string, t_string > > | data |
Multi page data. More... | |
![]() | |
std::string | definition |
Parameters for the control. More... | |
t_string | label |
t_string | tooltip |
t_string | help |
bool | use_tooltip_on_label_overflow |
![]() | |
std::string | id |
Parameters for the widget. More... | |
std::string | linked_group |
int | debug_border_mode |
unsigned | debug_border_color |
Additional Inherited Members | |
![]() | |
typedef std::map< std::string, boost::intrusive_ptr < tbuilder_widget > > | treplacements |
The replacements type is used to define replacement types. More... | |
![]() | |
void | turn_reference_counting_off () const |
Definition at line 193 of file multi_page.hpp.
|
explicit |
Definition at line 269 of file multi_page.cpp.
References _(), builder, config::child(), config::child_range(), d, i, and VALIDATE.
|
virtual |
Implements gui2::tbuilder_widget.
Definition at line 304 of file multi_page.cpp.
References builder, gui2::tcontrol::config(), DBG_GUI_G, gui2::implementation::tbuilder_control::definition, gui2::tmulti_page::finalize(), gui2::implementation::tbuilder_control::init_control(), gui2::tcontainer_::init_grid(), and gui2::tmulti_page::set_page_builder().
tbuilder_grid_ptr gui2::implementation::tbuilder_multi_page::builder |
Definition at line 201 of file multi_page.hpp.
Referenced by build(), and tbuilder_multi_page().
std::vector<std::map<std::string, t_string> > gui2::implementation::tbuilder_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 209 of file multi_page.hpp.