![]() |
Prusa Slicer 2.6.0
|
Represents option lines. More...
#include <src/slic3r/GUI/OptionsGroup.hpp>
Inheritance diagram for Slic3r::GUI::Line:
Collaboration diagram for Slic3r::GUI::Line:Public Member Functions | |
| void | append_option (const Option &option) |
| void | append_widget (const widget_t widget) |
| Line (wxString label, wxString tooltip) | |
| Line () | |
| Line (const std::string &opt_key, const wxString &label, const wxString &tooltip) | |
| bool | is_separator () const |
| bool | has_only_option (const std::string &opt_key) const |
| void | clear () |
| const std::vector< widget_t > & | get_extra_widgets () const |
| const std::vector< Option > & | get_options () const |
| bool | set_undo_bitmap (const ScalableBitmap *bmp) |
| bool | set_undo_to_sys_bitmap (const ScalableBitmap *bmp) |
| bool | set_label_colour (const wxColour *clr) |
| bool | set_undo_tooltip (const wxString *tip) |
| bool | set_undo_to_sys_tooltip (const wxString *tip) |
| bool | has_undo_ui () const |
| const wxBitmapBundle & | undo_bitmap () const |
| const wxString * | undo_tooltip () const |
| const wxBitmapBundle & | undo_to_sys_bitmap () const |
| const wxString * | undo_to_sys_tooltip () const |
| const wxColour * | label_color () const |
| const bool | blink () const |
| bool * | get_blink_ptr () |
Public Attributes | |
| wxString | label |
| wxString | label_tooltip |
| std::string | label_path |
| size_t | full_width {0} |
| widget_t | widget {nullptr} |
| std::function< wxWindow *(wxWindow *)> | near_label_widget { nullptr } |
| wxWindow * | near_label_widget_win {nullptr} |
| wxSizer * | widget_sizer {nullptr} |
| wxSizer * | extra_widget_sizer {nullptr} |
Private Attributes | |
| bool | m_is_separator { false } |
| std::vector< Option > | m_options |
| std::vector< widget_t > | m_extra_widgets |
| {std::vector<Option>()}; | |
| UndoValueUI | m_undo_ui |
Represents option lines.
|
inline |
|
inline |
|
inline |
References Slic3r::coNone, and m_options.
References m_options.
Referenced by Slic3r::GUI::FreqChangedParams::FreqChangedParams(), Slic3r::GUI::TabFilament::build(), Slic3r::GUI::TabPrinter::build_extruder_pages(), and Slic3r::GUI::TabPrinter::build_sla().
Here is the caller graph for this function:References m_extra_widgets, and widget.
Referenced by Slic3r::GUI::FreqChangedParams::FreqChangedParams(), Slic3r::GUI::TabPrinter::build_extruder_pages(), Slic3r::GUI::Tab::build_preset_description_line(), and Slic3r::GUI::PhysicalPrinterDialog::build_printhost_settings().
Here is the caller graph for this function:
|
inlineinherited |
References Slic3r::GUI::UndoValueUIManager::UndoValueUI::blink, and Slic3r::GUI::UndoValueUIManager::m_undo_ui.
Referenced by Slic3r::GUI::OG_CustomCtrl::CtrlLine::render().
Here is the caller graph for this function:| void Slic3r::GUI::Line::clear | ( | ) |
References extra_widget_sizer, near_label_widget_win, and widget_sizer.
|
inlineinherited |
References Slic3r::GUI::UndoValueUIManager::UndoValueUI::blink, and Slic3r::GUI::UndoValueUIManager::m_undo_ui.
Referenced by Slic3r::GUI::ConfigOptionsGroup::get_custom_ctrl_with_blinking_ptr().
Here is the caller graph for this function:References m_extra_widgets.
Referenced by Slic3r::GUI::OptionsGroup::activate_line(), Slic3r::GUI::OptionsGroup::append_line(), and Slic3r::GUI::OG_CustomCtrl::get_pos().
Here is the caller graph for this function:References m_options.
Referenced by Slic3r::GUI::OG_CustomCtrl::CtrlLine::CtrlLine(), Slic3r::GUI::OptionsGroup::activate_line(), Slic3r::GUI::OptionsGroup::append_line(), Slic3r::Search::OptionsSearcher::append_preferences_option(), and Slic3r::GUI::OG_CustomCtrl::get_pos().
Here is the caller graph for this function:
|
inline |
|
inlineinherited |
References Slic3r::GUI::UndoValueUIManager::m_undo_ui, and Slic3r::GUI::UndoValueUIManager::UndoValueUI::undo_bitmap.
Referenced by Slic3r::GUI::OG_CustomCtrl::get_pos(), and Slic3r::GUI::OG_CustomCtrl::CtrlLine::render().
Here is the caller graph for this function:
|
inline |
References m_is_separator.
Referenced by Slic3r::GUI::OptionsGroup::activate_line(), and Slic3r::GUI::OG_CustomCtrl::CtrlLine::is_separator().
Here is the caller graph for this function:
|
inlineinherited |
References Slic3r::GUI::UndoValueUIManager::UndoValueUI::label_color, and Slic3r::GUI::UndoValueUIManager::m_undo_ui.
Referenced by Slic3r::GUI::OG_CustomCtrl::CtrlLine::render().
Here is the caller graph for this function:
|
inlineinherited |
References Slic3r::GUI::UndoValueUIManager::m_undo_ui, and Slic3r::GUI::UndoValueUIManager::UndoValueUI::set_label_colour().
Referenced by Slic3r::GUI::Tab::create_line_with_widget(), Slic3r::GUI::Tab::decorate(), and Slic3r::GUI::Tab::update_label_colours().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineinherited |
References Slic3r::GUI::UndoValueUIManager::m_undo_ui, and Slic3r::GUI::UndoValueUIManager::UndoValueUI::set_undo_bitmap().
Referenced by Slic3r::GUI::Tab::create_line_with_widget(), and Slic3r::GUI::Tab::decorate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineinherited |
References Slic3r::GUI::UndoValueUIManager::m_undo_ui, and Slic3r::GUI::UndoValueUIManager::UndoValueUI::set_undo_to_sys_bitmap().
Referenced by Slic3r::GUI::Tab::create_line_with_widget(), and Slic3r::GUI::Tab::decorate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineinherited |
References Slic3r::GUI::UndoValueUIManager::m_undo_ui, and Slic3r::GUI::UndoValueUIManager::UndoValueUI::set_undo_to_sys_tooltip().
Referenced by Slic3r::GUI::Tab::create_line_with_widget(), and Slic3r::GUI::Tab::decorate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineinherited |
References Slic3r::GUI::UndoValueUIManager::m_undo_ui, and Slic3r::GUI::UndoValueUIManager::UndoValueUI::set_undo_tooltip().
Referenced by Slic3r::GUI::Tab::create_line_with_widget(), and Slic3r::GUI::Tab::decorate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineinherited |
References ScalableBitmap::bmp(), Slic3r::GUI::UndoValueUIManager::m_undo_ui, and Slic3r::GUI::UndoValueUIManager::UndoValueUI::undo_bitmap.
Referenced by Slic3r::GUI::OG_CustomCtrl::CtrlLine::render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineinherited |
References ScalableBitmap::bmp(), Slic3r::GUI::UndoValueUIManager::m_undo_ui, and Slic3r::GUI::UndoValueUIManager::UndoValueUI::undo_to_sys_bitmap.
Referenced by Slic3r::GUI::OG_CustomCtrl::CtrlLine::render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineinherited |
References Slic3r::GUI::UndoValueUIManager::m_undo_ui, and Slic3r::GUI::UndoValueUIManager::UndoValueUI::undo_to_sys_tooltip.
|
inlineinherited |
References Slic3r::GUI::UndoValueUIManager::m_undo_ui, and Slic3r::GUI::UndoValueUIManager::UndoValueUI::undo_tooltip.
| wxSizer* Slic3r::GUI::Line::extra_widget_sizer {nullptr} |
| size_t Slic3r::GUI::Line::full_width {0} |
Referenced by Slic3r::GUI::OptionsGroup::activate_line(), Slic3r::GUI::OptionsGroup::append_line(), Slic3r::GUI::TabPrint::build(), Slic3r::GUI::TabFilament::build(), Slic3r::GUI::TabPrinter::build_extruder_pages(), Slic3r::GUI::TabPrinter::build_kinematics_page(), Slic3r::GUI::BedShapePanel::build_panel(), Slic3r::GUI::Tab::build_preset_description_line(), Slic3r::GUI::TabPrinter::build_print_host_upload_group(), Slic3r::GUI::PhysicalPrinterDialog::build_printhost_settings(), Slic3r::GUI::TabSLAPrint::build_sla_support_params(), Slic3r::GUI::BedShapePanel::init_model_panel(), and Slic3r::GUI::BedShapePanel::init_texture_panel().
| wxString Slic3r::GUI::Line::label |
| std::string Slic3r::GUI::Line::label_path |
Referenced by Slic3r::GUI::TabFilament::build(), and Slic3r::GUI::Tab::create_line_with_widget().
| wxString Slic3r::GUI::Line::label_tooltip |
Referenced by Slic3r::GUI::OptionsGroup::activate_line().
|
private |
{std::vector<Option>()};
Referenced by append_widget(), and get_extra_widgets().
|
private |
Referenced by is_separator().
|
private |
Referenced by Line(), append_option(), get_options(), and has_only_option().
|
privateinherited |
Referenced by Slic3r::GUI::UndoValueUIManager::blink(), Slic3r::GUI::UndoValueUIManager::get_blink_ptr(), Slic3r::GUI::UndoValueUIManager::has_undo_ui(), Slic3r::GUI::UndoValueUIManager::label_color(), Slic3r::GUI::UndoValueUIManager::set_label_colour(), Slic3r::GUI::UndoValueUIManager::set_undo_bitmap(), Slic3r::GUI::UndoValueUIManager::set_undo_to_sys_bitmap(), Slic3r::GUI::UndoValueUIManager::set_undo_to_sys_tooltip(), Slic3r::GUI::UndoValueUIManager::set_undo_tooltip(), Slic3r::GUI::UndoValueUIManager::undo_bitmap(), Slic3r::GUI::UndoValueUIManager::undo_to_sys_bitmap(), Slic3r::GUI::UndoValueUIManager::undo_to_sys_tooltip(), and Slic3r::GUI::UndoValueUIManager::undo_tooltip().
| std::function<wxWindow*(wxWindow*)> Slic3r::GUI::Line::near_label_widget { nullptr } |
Referenced by Slic3r::GUI::OptionsGroup::activate_line().
| wxWindow* Slic3r::GUI::Line::near_label_widget_win {nullptr} |
Referenced by Slic3r::GUI::OptionsGroup::activate_line(), clear(), and Slic3r::GUI::OG_CustomCtrl::get_pos().
| widget_t Slic3r::GUI::Line::widget {nullptr} |
Referenced by Slic3r::GUI::OptionsGroup::activate_line(), Slic3r::GUI::OptionsGroup::append_line(), append_widget(), Slic3r::GUI::TabFilament::build(), Slic3r::GUI::TabPrinter::build_extruder_pages(), Slic3r::GUI::TabPrinter::build_print_host_upload_group(), Slic3r::GUI::Tab::create_line_with_widget(), and Slic3r::GUI::OG_CustomCtrl::get_pos().
| wxSizer* Slic3r::GUI::Line::widget_sizer {nullptr} |
Referenced by Slic3r::GUI::OptionsGroup::activate_line(), clear(), and Slic3r::GUI::OG_CustomCtrl::get_pos().