#include <tree_view.hpp>
Public Member Functions | |
tbuilder_tree_view (const config &cfg) | |
twidget * | build () const |
Public Member Functions inherited from gui2::implementation::tbuilder_control | |
tbuilder_control (const config &cfg) | |
virtual twidget * | build (const treplacements &replacements) const override |
void | init_control (tcontrol *control) const |
Public Member Functions inherited from gui2::tbuilder_widget | |
tbuilder_widget (const config &cfg) | |
virtual | ~tbuilder_widget () |
Public Member Functions inherited from reference_counted_object | |
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 | |
tscrollbar_container::tscrollbar_mode | vertical_scrollbar_mode |
tscrollbar_container::tscrollbar_mode | horizontal_scrollbar_mode |
unsigned | indention_step_size |
std::vector< ttree_node > | nodes |
The types of nodes in the tree view. More... | |
Public Attributes inherited from gui2::implementation::tbuilder_control | |
std::string | definition |
Parameters for the control. More... | |
t_string | label |
t_string | tooltip |
t_string | help |
bool | use_tooltip_on_label_overflow |
Public Attributes inherited from gui2::tbuilder_widget | |
std::string | id |
Parameters for the widget. More... | |
std::string | linked_group |
int | debug_border_mode |
unsigned | debug_border_color |
Additional Inherited Members | |
Public Types inherited from gui2::tbuilder_widget | |
typedef std::map< std::string, boost::intrusive_ptr < tbuilder_widget > > | treplacements |
The replacements type is used to define replacement types. More... | |
Protected Member Functions inherited from reference_counted_object | |
void | turn_reference_counting_off () const |
Definition at line 189 of file tree_view.hpp.
|
explicit |
Definition at line 370 of file tree_view.cpp.
References _(), config::child_range(), nodes, and VALIDATE.
|
virtual |
Implements gui2::tbuilder_widget.
Definition at line 388 of file tree_view.cpp.
References gui2::tcontrol::config(), DBG_GUI_G, gui2::implementation::tbuilder_control::definition, gui2::ttree_view::finalize_setup(), horizontal_scrollbar_mode, indention_step_size, gui2::implementation::tbuilder_control::init_control(), gui2::tcontainer_::init_grid(), nodes, gui2::tscrollbar_container::set_horizontal_scrollbar_mode(), gui2::ttree_view::set_indention_step_size(), gui2::tscrollbar_container::set_vertical_scrollbar_mode(), and vertical_scrollbar_mode.
tscrollbar_container::tscrollbar_mode gui2::implementation::tbuilder_tree_view::horizontal_scrollbar_mode |
Definition at line 198 of file tree_view.hpp.
Referenced by build().
unsigned gui2::implementation::tbuilder_tree_view::indention_step_size |
Definition at line 200 of file tree_view.hpp.
Referenced by build().
std::vector<ttree_node> gui2::implementation::tbuilder_tree_view::nodes |
The types of nodes in the tree view.
Since we expect the amount of nodes to remain low it's stored in a vector and not in a map.
Definition at line 208 of file tree_view.hpp.
Referenced by build(), and tbuilder_tree_view().
tscrollbar_container::tscrollbar_mode gui2::implementation::tbuilder_tree_view::vertical_scrollbar_mode |
Definition at line 197 of file tree_view.hpp.
Referenced by build().