![]() |
Prusa Slicer 2.6.0
|
#include <src/slic3r/GUI/Tab.hpp>
Collaboration diagram for Slic3r::GUI::Page:Public Member Functions | |
| Page (wxWindow *parent, const wxString &title, int iconID) | |
| ~Page () | |
| wxBoxSizer * | vsizer () const |
| wxWindow * | parent () const |
| const wxString & | title () const |
| size_t | iconID () const |
| void | set_config (DynamicPrintConfig *config_in) |
| void | reload_config () |
| void | update_visibility (ConfigOptionMode mode, bool update_contolls_visibility) |
| void | activate (ConfigOptionMode mode, std::function< void()> throw_if_canceled) |
| void | clear () |
| void | msw_rescale () |
| void | sys_color_changed () |
| void | refresh () |
| Field * | get_field (const t_config_option_key &opt_key, int opt_index=-1) const |
| Line * | get_line (const t_config_option_key &opt_key) |
| bool | set_value (const t_config_option_key &opt_key, const boost::any &value) |
| ConfigOptionsGroupShp | new_optgroup (const wxString &title, int noncommon_label_width=-1) |
| const ConfigOptionsGroupShp | get_optgroup (const wxString &title) const |
| bool | set_item_colour (const wxColour *clr) |
| const wxColour | get_item_colour () |
| bool | get_show () const |
Public Attributes | |
| bool | m_is_modified_values { false } |
| bool | m_is_nonsys_values { true } |
| std::vector< ConfigOptionsGroupShp > | m_optgroups |
| DynamicPrintConfig * | m_config |
Protected Attributes | |
| const wxColour * | m_item_color |
Private Attributes | |
| wxWindow * | m_parent |
| wxString | m_title |
| size_t | m_iconID |
| wxBoxSizer * | m_vsizer |
| bool | m_show = true |
| Slic3r::GUI::Page::Page | ( | wxWindow * | parent, |
| const wxString & | title, | ||
| int | iconID | ||
| ) |
References m_item_color, m_vsizer, and parent().
Here is the call graph for this function:
|
inline |
| void Slic3r::GUI::Page::activate | ( | ConfigOptionMode | mode, |
| std::function< void()> | throw_if_canceled | ||
| ) |
References m_optgroups, and m_vsizer.
| void Slic3r::GUI::Page::clear | ( | ) |
References m_optgroups.
| Field * Slic3r::GUI::Page::get_field | ( | const t_config_option_key & | opt_key, |
| int | opt_index = -1 |
||
| ) | const |
References m_optgroups.
|
inline |
References m_item_color.
| Line * Slic3r::GUI::Page::get_line | ( | const t_config_option_key & | opt_key | ) |
References m_optgroups.
| const ConfigOptionsGroupShp Slic3r::GUI::Page::get_optgroup | ( | const wxString & | title | ) | const |
References m_optgroups, and title().
Here is the call graph for this function:
|
inline |
References m_show.
| void Slic3r::GUI::Page::msw_rescale | ( | ) |
References m_optgroups.
| ConfigOptionsGroupShp Slic3r::GUI::Page::new_optgroup | ( | const wxString & | title, |
| int | noncommon_label_width = -1 |
||
| ) |
config_ have to be "right"
This function will be called from OptionGroup. Using of CallAfter is redundant. And in some cases it causes update() function to be recalled again wxTheApp->CallAfter([this, opt_key, value]() {
});
References m_config, m_optgroups, m_parent, m_title, parent(), and title().
Referenced by Slic3r::GUI::TabPrinter::build_print_host_upload_group().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References m_parent.
Referenced by Page(), and new_optgroup().
Here is the caller graph for this function:| void Slic3r::GUI::Page::refresh | ( | ) |
References m_optgroups.
| void Slic3r::GUI::Page::reload_config | ( | ) |
References m_optgroups.
|
inline |
|
inline |
References m_item_color.
| bool Slic3r::GUI::Page::set_value | ( | const t_config_option_key & | opt_key, |
| const boost::any & | value | ||
| ) |
References m_optgroups.
| void Slic3r::GUI::Page::sys_color_changed | ( | ) |
References m_optgroups.
|
inline |
References m_title.
Referenced by get_optgroup(), new_optgroup(), and Slic3r::GUI::TabSLAPrint::update_description_lines().
Here is the caller graph for this function:| void Slic3r::GUI::Page::update_visibility | ( | ConfigOptionMode | mode, |
| bool | update_contolls_visibility | ||
| ) |
References m_optgroups, and m_show.
|
inline |
| DynamicPrintConfig* Slic3r::GUI::Page::m_config |
Referenced by new_optgroup(), and set_config().
|
private |
Referenced by iconID().
| bool Slic3r::GUI::Page::m_is_modified_values { false } |
Referenced by Slic3r::GUI::Tab::tree_sel_change_delayed().
| bool Slic3r::GUI::Page::m_is_nonsys_values { true } |
Referenced by Slic3r::GUI::Tab::tree_sel_change_delayed().
|
protected |
Referenced by Page(), get_item_colour(), and set_item_colour().
| std::vector<ConfigOptionsGroupShp> Slic3r::GUI::Page::m_optgroups |
|
private |
Referenced by new_optgroup(), and parent().
|
private |
Referenced by get_show(), and update_visibility().
|
private |
Referenced by new_optgroup(), and title().
|
private |
Referenced by Page(), activate(), and vsizer().