![]() |
Prusa Slicer 2.6.0
|
#include <src/slic3r/GUI/Search.hpp>
Collaboration diagram for Slic3r::Search::OptionsSearcher:Public Attributes | |
| OptionViewParameters | view_params |
| SearchDialog * | search_dialog { nullptr } |
Private Member Functions | |
| void | append_options (DynamicPrintConfig *config, Preset::Type type) |
| void | sort_options () |
| void | sort_found () |
| size_t | options_size () const |
| size_t | found_size () const |
Private Attributes | |
| std::string | search_line |
| std::map< std::string, GroupAndCategory > | groups_and_categories |
| PrinterTechnology | printer_technology {ptAny} |
| ConfigOptionMode | mode { comUndef } |
| std::vector< Option > | options {} |
| std::vector< Option > | preferences_options {} |
| std::vector< FoundOption > | found {} |
| Slic3r::Search::OptionsSearcher::OptionsSearcher | ( | ) |
| Slic3r::Search::OptionsSearcher::~OptionsSearcher | ( | ) |
| void Slic3r::Search::OptionsSearcher::add_key | ( | const std::string & | opt_key, |
| Preset::Type | type, | ||
| const wxString & | group, | ||
| const wxString & | category | ||
| ) |
References Slic3r::Search::get_key(), and groups_and_categories.
Referenced by Slic3r::GUI::TabPrinter::create_bed_shape_widget().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
References _, Slic3r::Search::GroupAndCategory::category, Slic3r::coBools, Slic3r::coFloats, Slic3r::coFloatsOrPercents, Slic3r::coInts, Slic3r::coPercents, Slic3r::coPoints, Slic3r::coStrings, Slic3r::ConfigOptionDef::full_label, Slic3r::Search::get_key(), Slic3r::Search::GroupAndCategory::group, groups_and_categories, Slic3r::PresetCollection::is_independent_from_extruder_number_option(), Slic3r::DynamicConfig::keys(), L, Slic3r::ConfigOptionDef::label, Slic3r::ConfigOptionDef::mode, mode, Slic3r::ConfigBase::option(), Slic3r::ConfigBase::option_def(), options, Slic3r::GUI::Tab::translate_category(), Slic3r::ConfigOption::type(), Slic3r::Preset::TYPE_FILAMENT, and boost::nowide::widen().
Referenced by check_and_update().
Here is the call graph for this function:
Here is the caller graph for this function:References _, Slic3r::Search::GroupAndCategory::category, Slic3r::Search::get_key(), Slic3r::GUI::Line::get_options(), Slic3r::Search::GroupAndCategory::group, groups_and_categories, Slic3r::GUI::Line::label, preferences_options, Slic3r::Preset::TYPE_PREFERENCES, and boost::nowide::widen().
Referenced by append_preferences_options().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::Search::OptionsSearcher::append_preferences_options | ( | const std::vector< GUI::Line > & | opt_lines | ) |
References append_preferences_option().
Here is the call graph for this function:| void Slic3r::Search::OptionsSearcher::check_and_update | ( | PrinterTechnology | pt_in, |
| ConfigOptionMode | mode_in, | ||
| std::vector< InputInfo > | input_values | ||
| ) |
References append_options(), mode, options, preferences_options, printer_technology, search(), search_line, and sort_options().
Here is the call graph for this function:| void Slic3r::Search::OptionsSearcher::dlg_msw_rescale | ( | ) |
References Slic3r::Search::SearchDialog::msw_rescale(), and search_dialog.
Here is the call graph for this function:| void Slic3r::Search::OptionsSearcher::dlg_sys_color_changed | ( | ) |
References Slic3r::Search::SearchDialog::on_sys_color_changed(), and search_dialog.
Here is the call graph for this function:
|
inline |
References found.
Referenced by Slic3r::Search::SearchDialog::update_list().
Here is the caller graph for this function:
|
inlineprivate |
|
inline |
References groups_and_categories.
Referenced by Slic3r::GUI::TabPrinter::create_bed_shape_widget().
Here is the caller graph for this function:| Option Slic3r::Search::OptionsSearcher::get_option | ( | const std::string & | opt_key, |
| const wxString & | label, | ||
| Preset::Type | type | ||
| ) | const |
References Slic3r::Search::GroupAndCategory::category, Slic3r::Search::create_option(), Slic3r::Search::get_key(), Slic3r::Search::GroupAndCategory::group, groups_and_categories, options, and boost::nowide::widen().
Here is the call graph for this function:| const Option & Slic3r::Search::OptionsSearcher::get_option | ( | const std::string & | opt_key, |
| Preset::Type | type | ||
| ) | const |
References Slic3r::Search::get_key(), options, and boost::nowide::widen().
Here is the call graph for this function:References found, and options.
Referenced by Slic3r::GUI::DiffPresetDialog::update_tree(), and Slic3r::GUI::UnsavedChangesDialog::update_tree().
Here is the caller graph for this function:
|
inlinenoexcept |
|
inlineprivate |
| bool Slic3r::Search::OptionsSearcher::search | ( | ) |
References search(), and search_line.
Referenced by check_and_update(), Slic3r::Search::SearchDialog::OnCheck(), Slic3r::Search::SearchDialog::OnInputText(), search(), and search().
Here is the call graph for this function:
Here is the caller graph for this function:| bool Slic3r::Search::OptionsSearcher::search | ( | const std::string & | search, |
| bool | force = false |
||
| ) |
References Slic3r::append(), Slic3r::Search::Option::category, Slic3r::Search::OptionViewParameters::category, Slic3r::Search::Option::category_local, ImGui::ColorMarkerEnd, ImGui::ColorMarkerStart, Slic3r::Search::OptionViewParameters::english, found, Slic3r::Search::fuzzy_match(), Slic3r::Search::Option::group, Slic3r::Search::Option::group_local, Slic3r::Search::Option::key, L, Slic3r::Search::Option::label, Slic3r::Search::Option::label_local, Slic3r::Search::mark_string(), Slic3r::Search::marker_by_type(), boost::nowide::narrow(), options, printer_technology, search(), search_line, sort_found(), Slic3r::Search::Option::type, view_params, and boost::nowide::widen().
Here is the call graph for this function:
|
inline |
References search_line.
Referenced by Slic3r::Search::SearchDialog::Popup().
Here is the caller graph for this function:| void Slic3r::Search::OptionsSearcher::show_dialog | ( | ) |
References em_unit(), Slic3r::Search::SearchDialog::Popup(), and search_dialog.
Here is the call graph for this function:
|
inline |
References found_size().
Referenced by Slic3r::GUI::Plater::search_string_getter().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprivate |
|
inlineprivate |
References options.
Referenced by check_and_update(), and sort_options_by_label().
Here is the caller graph for this function:
|
inline |
References options.
Referenced by Slic3r::GUI::DiffPresetDialog::update_tree(), and Slic3r::GUI::UnsavedChangesDialog::update_tree().
Here is the caller graph for this function:
|
inline |
References sort_options().
Referenced by Slic3r::GUI::DiffPresetDialog::update_tree(), and Slic3r::GUI::UnsavedChangesDialog::update_tree().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Referenced by found_options(), found_size(), get_option(), operator[](), search(), and sort_found().
|
private |
Referenced by add_key(), append_options(), append_preferences_option(), get_group_and_category(), and get_option().
|
private |
Referenced by append_options(), and check_and_update().
|
private |
Referenced by append_options(), check_and_update(), get_option(), get_option(), get_option(), options_size(), search(), sort_options(), and sort_options_by_key().
|
private |
Referenced by append_preferences_option(), and check_and_update().
|
private |
Referenced by check_and_update(), and search().
| SearchDialog* Slic3r::Search::OptionsSearcher::search_dialog { nullptr } |
Referenced by dlg_msw_rescale(), dlg_sys_color_changed(), and show_dialog().
|
private |
Referenced by check_and_update(), search(), search(), and search_string().
| OptionViewParameters Slic3r::Search::OptionsSearcher::view_params |