#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/libslic3r/Preset.hpp>
Public Types | |
| enum class | LoadAndSelect { Never , Always , OnlyIfModified } |
| typedef std::deque< Preset >::iterator | Iterator |
| typedef std::deque< Preset >::const_iterator | ConstIterator |
| typedef std::function< void(Preset *preset, std::string sync_info)> | SyncFunc |
Public Member Functions | |
| PrinterPresetCollection (Preset::Type type, const std::vector< std::string > &keys, const Slic3r::StaticPrintConfig &defaults, const std::string &default_name="Default Printer") | |
| const Preset & | default_preset_for (const DynamicPrintConfig &config) const override |
| const Preset * | find_system_preset_by_model_and_variant (const std::string &model_id, const std::string &variant) const |
| const Preset * | find_custom_preset_by_model_and_variant (const std::string &model_id, const std::string &variant) const |
| bool | only_default_printers () const |
| Iterator | lbegin () |
| bool | validate_preset (const std::string &name, std::string &inherit) |
| Iterator | begin () |
| ConstIterator | begin () const |
| ConstIterator | cbegin () const |
| Iterator | end () |
| ConstIterator | end () const |
| ConstIterator | cend () const |
| Iterator | erase (Iterator it) |
| void | set_sync_func (SyncFunc func) |
| void | lock () |
| void | unlock () |
| void | reset (bool delete_files) |
| Preset::Type | type () const |
| std::string | name () const |
| std::string | section_name () const |
| const std::deque< Preset > & | operator() () const |
| void | add_default_preset (const std::vector< std::string > &keys, const Slic3r::StaticPrintConfig &defaults, const std::string &preset_name) |
| void | load_presets (const std::string &dir_path, const std::string &subdir, PresetsConfigSubstitutions &substitutions, ForwardCompatibilitySubstitutionRule rule, std::function< void(Preset &)> preset_loaded_fn=nullptr, const PresetOrigin &load_origin=PresetOrigin(), bool read_only=false) |
| void | update_user_presets_directory (const std::string &dir_path, const std::string &type) |
| void | save_user_presets (const std::string &dir_path, const std::string &type, std::map< std::string, std::string > &need_to_delete_list) |
| bool | load_user_preset (std::string name, std::map< std::string, std::string > preset_values, PresetsConfigSubstitutions &substitutions, ForwardCompatibilitySubstitutionRule rule, const PresetOrigin &load_origin=PresetOrigin(PresetOrigin::Kind::User)) |
| void | update_after_user_presets_loaded () |
| std::vector< LegacyUserFilamentPreset > | legacy_user_filament_presets (const std::map< std::string, std::vector< std::string > > &printers_by_parent) |
| void | apply_legacy_user_filament_presets (const std::vector< LegacyUserFilamentPreset > &written) |
| int | get_user_presets (PresetBundle *preset_bundle, std::vector< Preset > &result_presets) |
| void | set_sync_info_and_save (std::string name, std::string setting_id, std::string syncinfo, long long update_time, const std::string &user_id) |
| bool | need_sync (std::string name, std::string setting_id, long long update_time) |
| Preset * | get_preset_differed_for_save (Preset &preset) |
| int | get_differed_values_to_update (Preset &preset, std::map< std::string, std::string > &key_values) |
| void | load_project_embedded_presets (std::vector< Preset * > &project_presets, const std::string &type, PresetsConfigSubstitutions &substitutions, ForwardCompatibilitySubstitutionRule rule) |
| std::vector< Preset * > | get_project_embedded_presets () |
| bool | reset_project_embedded_presets () |
| Preset & | load_preset (const std::string &path, const std::string &name, const DynamicPrintConfig &config, bool select=true, Semver file_version=Semver()) |
| Preset & | load_preset (const std::string &path, const std::string &name, DynamicPrintConfig &&config, bool select=true, Semver file_version=Semver()) |
| bool | clone_presets (std::vector< Preset const * > const &presets, std::vector< std::string > &failures, std::function< void(Preset &, Preset::Type &)> modifier, bool force_rewritten=false) |
| bool | clone_presets_for_printer (std::vector< Preset const * > const &templates, std::vector< std::string > &failures, std::string const &printer, std::function< std::string(std::string)> create_filament_id, bool force_rewritten=false) |
| bool | clone_presets_for_filament (Preset const *const &preset, std::vector< std::string > &failures, std::string const &filament_name, std::string const &filament_id, const DynamicConfig &dynamic_config, const std::string &compatible_printers, bool force_rewritten=false) |
| std::map< std::string, std::vector< Preset const * > > | get_filament_presets () const |
| std::pair< Preset *, bool > | load_external_preset (const std::string &path, const std::string &name, const std::string &original_name, const DynamicPrintConfig &config, const std::set< std::string > &different_settings_list, LoadAndSelect select=LoadAndSelect::Always, const Semver file_version=Semver(), const std::string filament_id=std::string()) |
| void | save_current_preset (const std::string &new_name, bool detach=false, bool save_to_project=false, Preset *_curr_preset=nullptr) |
| std::string | add_detached_preset (const std::string &name_base, DynamicPrintConfig config, const std::string &filament_id=std::string()) |
| bool | delete_current_preset () |
| bool | delete_preset (const std::string &name, bool force=false) |
| void | check_and_fix_syncinfo (Preset &preset, const std::string &user_id) |
| void | set_default_suppressed (bool default_suppressed) |
| bool | is_default_suppressed () const |
| Preset & | select_preset (size_t idx) |
| Preset & | get_selected_preset () |
| const Preset & | get_selected_preset () const |
| size_t | get_selected_idx () const |
| std::string | get_selected_preset_name () const |
| const Preset * | get_selected_preset_parent () const |
| const Preset * | get_preset_parent (const Preset &child) const |
| const Preset * | get_preset_base (const Preset &child) const |
| Preset & | get_edited_preset () |
| const Preset & | get_edited_preset () const |
| const Preset & | get_selected_preset_base () const |
| PresetWithVendorProfile | get_preset_with_vendor_profile (const Preset &preset) const |
| PresetWithVendorProfile | get_edited_preset_with_vendor_profile () const |
| const std::string & | get_preset_name_by_alias (const std::string &alias) const |
| const std::string * | get_preset_name_renamed (const std::string &old_name) const |
| bool | is_alias_exist (const std::string &alias, Preset *preset=nullptr) |
| void | set_printer_hold_alias (const std::string &alias, Preset &preset, bool remove=false) |
| const std::deque< Preset > & | get_presets () const |
| size_t | get_idx_selected () |
| Preset & | default_preset (size_t idx=0) |
| const Preset & | default_preset (size_t idx=0) const |
| Preset & | preset (size_t idx, bool real=false) |
| const Preset & | preset (size_t idx) const |
| void | discard_current_changes () |
| Preset * | find_preset (const std::string &name, bool first_visible_if_not_found=false, bool real=false, bool only_from_library=false) |
| const Preset * | find_preset (const std::string &name, bool first_visible_if_not_found=false) const |
| Preset * | find_preset2 (const std::string &name, bool auto_match=true) |
| const Preset * | find_preset2 (const std::string &name, bool auto_match=true) const |
| size_t | first_visible_idx () const |
| size_t | first_visible_idx_by_type (const std::string &filament_type) const |
| std::string | filament_id_by_type (const std::string &filament_type) const |
| template<typename PreferedCondition> | |
| size_t | first_compatible_idx (PreferedCondition prefered_condition) const |
| size_t | first_compatible_idx () const |
| std::vector< std::string > | diameters_of_selected_printer () |
| Preset & | first_visible () |
| const Preset & | first_visible () const |
| Preset & | first_compatible () |
| template<typename PreferedCondition> | |
| Preset & | first_compatible (PreferedCondition prefered_condition) |
| const Preset & | first_compatible () const |
| size_t | size () const |
| bool | has_defaults_only () const |
| int | error_count () const |
| template<typename PreferedCondition> | |
| void | update_compatible (const PresetWithVendorProfile &active_printer, const PresetWithVendorProfile *active_print, PresetSelectCompatibleType select_other_if_incompatible, PreferedCondition prefered_condition) |
| void | update_compatible (const PresetWithVendorProfile &active_printer, const PresetWithVendorProfile *active_print, PresetSelectCompatibleType select_other_if_incompatible) |
| size_t | num_visible () const |
| bool | current_is_dirty () const |
| std::vector< std::string > | current_dirty_options (const bool deep_compare=false) const |
| std::vector< std::string > | current_different_from_parent_options (const bool deep_compare=false) const |
| bool | saved_is_dirty () const |
| void | update_saved_preset_from_current_preset () |
| std::vector< std::string > | system_preset_names () const |
| bool | update_dirty () |
| bool | select_preset_by_name (const std::string &name, bool force) |
| bool | is_base_preset (const Preset &preset) const |
| std::string | path_from_name (const std::string &new_name, bool detach=false) const |
| std::string | path_for_preset (const Preset &preset) const |
| std::string | get_preset_alias (Preset &preset, bool force=false) |
| size_t | num_default_presets () |
Static Public Member Functions | |
| static bool | write_legacy_user_filament_preset (const LegacyUserFilamentPreset &legacy) |
| static const std::string & | get_suffix_modified () |
| static bool | is_dirty (const Preset *edited, const Preset *reference) |
| static std::vector< std::string > | dirty_options (const Preset *edited, const Preset *reference, const bool deep_compare=false) |
| static std::vector< std::string > | dirty_options_without_option_list (const Preset *edited, const Preset *reference, const std::set< std::string > &option_ignore_list, const bool deep_compare=false) |
Public Attributes | |
| SyncFunc | sync_func { nullptr } |
Protected Member Functions | |
| void | update_vendor_ptrs_after_copy (const VendorMap &vendors) |
| bool | select_preset_by_name_strict (const std::string &name) |
| std::vector< std::vector< std::string > > | merge_presets (const std::vector< PresetCollection * > &others, const VendorMap &new_vendors) |
| void | update_map_alias_to_profile_name () |
| void | update_map_system_profile_renamed () |
| void | update_library_profile_excluded_from () |
| void | set_custom_preset_alias (Preset &preset) |
Private Member Functions | |
| PrinterPresetCollection ()=default | |
| PrinterPresetCollection (const PrinterPresetCollection &other)=delete | |
| PrinterPresetCollection & | operator= (const PrinterPresetCollection &other)=default |
| UserPresetLoad | resolve_user_preset (const boost::filesystem::path &file, const std::string &canonical_name, const PresetOrigin &load_origin, ForwardCompatibilitySubstitutionRule substitution_rule, const std::string &extruder_id_name, const std::string &extruder_variant_name, std::set< std::string > *key_set1, std::set< std::string > *key_set2, bool read_only) const |
| void | commit_user_preset (UserPresetLoad &&loaded, std::deque< Preset > &presets_loaded, PresetsConfigSubstitutions &substitutions, const std::function< void(Preset &)> &preset_loaded_fn, bool read_only) |
| std::string | canonical_preset_name (const std::string &name, const PresetOrigin &load_origin=PresetOrigin()) const |
| Preset & | append_preset (std::string &&path, const std::string &name, DynamicPrintConfig &&config) |
| void | sort_presets () |
| std::deque< Preset >::iterator | find_preset_internal (const std::string &name, bool from_orca_lib_only=false) |
| std::deque< Preset >::const_iterator | find_preset_internal (const std::string &name) const |
| std::deque< Preset >::iterator | find_preset_renamed (const std::string &name) |
| std::deque< Preset >::const_iterator | find_preset_renamed (const std::string &name) const |
| size_t | update_compatible_internal (const PresetWithVendorProfile &active_printer, const PresetWithVendorProfile *active_print, PresetSelectCompatibleType unselect_if_incompatible) |
Static Private Member Functions | |
| static bool | filament_preset_less (const Preset &a, const Preset &b) |
Private Attributes | |
| Preset::Type | m_type |
| std::deque< Preset > | m_presets |
| std::map< std::string, std::vector< std::string > > | m_map_alias_to_profile_name |
| std::unordered_map< std::string, std::unordered_set< std::string > > | m_printer_hold_alias |
| std::map< std::string, std::string > | m_map_system_profile_renamed |
| Preset | m_edited_preset |
| Preset | m_saved_preset |
| size_t | m_idx_selected |
| bool | m_default_suppressed = true |
| size_t | m_num_default_presets = 0 |
| std::string | m_dir_path |
| std::recursive_mutex | m_mutex |
| int | m_errors = 0 |
Friends | |
| class | PresetBundle |
|
inherited |
|
inherited |
|
inherited |
|
stronginherited |
|
inline |
References Slic3r::PresetCollection::PresetCollection(), and Slic3r::PresetCollection::type().
Referenced by PrinterPresetCollection(), and operator=().
|
privatedefault |
|
privatedelete |
|
inherited |
References Slic3r::StaticConfig::keys(), m_num_default_presets, m_presets, Slic3r::Preset, and type().
Referenced by PresetCollection().
|
inherited |
References Slic3r::Preset::config, Slic3r::Preset::filament_id, find_preset_internal(), lock(), m_idx_selected, m_presets, m_type, Slic3r::Semver::parse(), path_for_preset(), preset(), Slic3r::Preset::TYPE_FILAMENT, Slic3r::Preset::TYPE_PRINT, Slic3r::Preset::TYPE_PRINTER, and unlock().
|
privateinherited |
References lock(), m_presets, m_type, name(), preset(), and unlock().
Referenced by Slic3r::PresetBundle::commit_vendor_preset().
|
inherited |
References find_preset_internal(), lock(), m_edited_preset, m_idx_selected, m_presets, m_saved_preset, and unlock().
|
inlineinherited |
References m_num_default_presets, and m_presets.
Referenced by Slic3r::MachineObject::check_ams_filament_valid(), Slic3r::GUI::ExtrusionCalibration::get_bed_type_incompatible(), Slic3r::PresetBundle::get_current_project_embedded_presets(), Slic3r::GUI::get_default_name(), Slic3r::GUI::CalibrationPresetPage::get_print_preset(), Slic3r::GUI::CalibrationPresetPage::get_printer_preset(), Slic3r::GUI::get_printer_preset(), Slic3r::PresetBundle::get_similar_printer_preset(), Slic3r::GUI::ExtrusionCalibration::on_click_cali(), Slic3r::GUI::ExtrusionCalibration::on_click_save(), Slic3r::GUI::AMSMaterialsSetting::on_select_reset(), Slic3r::GUI::Plater::post_process_string_object_exception(), Slic3r::GUI::sCheckFilamentInfo(), Slic3r::MachineObject::setting_id_to_type(), Slic3r::GUI::ExtrusionCalibration::update_combobox_filaments(), and Slic3r::GUI::ExtrusionCalibration::update_filament_info().
|
inlineinherited |
References m_num_default_presets, and m_presets.
|
privateinherited |
References Slic3r::PresetOrigin::Auto, Slic3r::PresetOrigin::bundle_id, Slic3r::get_preset_canonical_name(), Slic3r::PresetOrigin::is_bundle(), Slic3r::PresetOrigin::kind, and name().
Referenced by load_presets(), load_user_preset(), select_preset_by_name(), select_preset_by_name_strict(), set_sync_info_and_save(), and validate_preset().
|
inlineinherited |
References m_num_default_presets, and m_presets.
Referenced by Slic3r::PrinterPresetCollection::find_custom_preset_by_model_and_variant(), and Slic3r::PrinterPresetCollection::find_system_preset_by_model_and_variant().
|
inlineinherited |
References m_presets.
Referenced by Slic3r::PrinterPresetCollection::find_custom_preset_by_model_and_variant(), and Slic3r::PrinterPresetCollection::find_system_preset_by_model_and_variant().
|
inherited |
References find_preset2(), Slic3r::Preset::inherits(), preset(), and Slic3r::Preset::setting_id.
|
inherited |
References find_preset(), find_preset_internal(), get_edited_preset(), lock(), m_presets, m_type, Slic3r::Preset::name, path_for_preset(), preset(), Slic3r::Preset::save(), select_preset_by_name(), set_custom_preset_alias(), Slic3r::Preset::TYPE_FILAMENT, Slic3r::Preset::TYPE_PRINT, Slic3r::Preset::TYPE_PRINTER, and unlock().
Referenced by clone_presets_for_filament(), and clone_presets_for_printer().
|
inherited |
References clone_presets(), preset(), type(), and Slic3r::Preset::TYPE_FILAMENT.
Referenced by Slic3r::GUI::CreatePresetForPrinterDialog::create_dialog_buttons().
|
inherited |
References clone_presets(), preset(), type(), Slic3r::Preset::TYPE_FILAMENT, and Slic3r::ConfigOptionVector< T >::values.
Referenced by Slic3r::GUI::CreatePrinterPresetDialog::create_page2_dialog_buttons().
|
privateinherited |
References Slic3r::append(), Slic3r::Preset::get_type_string(), m_errors, m_type, preset(), Slic3r::remove_preset_files(), and set_custom_preset_alias().
|
inlineinherited |
References dirty_options(), get_edited_preset(), and get_selected_preset_parent().
|
inlineinherited |
References dirty_options(), get_edited_preset(), and get_selected_preset().
Referenced by Slic3r::collect_dirty_settings_keys(), and Slic3r::PresetBundle::reload_local_bundle().
|
inlineinherited |
References get_edited_preset(), get_selected_preset(), and is_dirty().
Referenced by Slic3r::GUI::Tab::select_preset(), and update_dirty().
|
inlineinherited |
References m_num_default_presets, and m_presets.
Referenced by default_preset_for(), Slic3r::PrinterPresetCollection::default_preset_for(), get_selected_preset_parent(), load_preset(), load_project_embedded_presets(), load_user_preset(), resolve_user_preset(), and Slic3r::CLI::run().
|
inlineinherited |
References m_num_default_presets, and m_presets.
|
overridevirtual |
Reimplemented from Slic3r::PresetCollection.
References Slic3r::PresetCollection::default_preset(), Slic3r::DynamicConfig::opt(), Slic3r::ptFFF, and Slic3r::ConfigOptionSingle< T >::value.
Referenced by Slic3r::CLI::run().
|
inherited |
References Slic3r::Preset::can_overwrite(), get_preset_base(), get_selected_preset(), Slic3r::Preset::is_system, lock(), m_idx_selected, m_presets, Slic3r::Preset::name, Slic3r::Preset::remove_files(), select_preset(), and unlock().
|
inherited |
References find_preset(), find_preset_internal(), lock(), m_presets, Slic3r::Preset::name, name(), preset(), set_printer_hold_alias(), and unlock().
Referenced by Slic3r::GUI::delete_filament_preset_by_name(), save_user_presets(), Slic3r::GUI::Tab::select_preset(), and Slic3r::PresetBundle::update_subscribed_presets().
|
inherited |
References m_edited_preset, m_presets, and preset().
|
staticinherited |
References Slic3r::Preset::config, Slic3r::deep_diff(), Slic3r::DynamicConfig::diff(), Slic3r::ConfigOptionResolver::has(), and Slic3r::optional_keys.
Referenced by current_different_from_parent_options(), current_dirty_options(), get_differed_values_to_update(), get_preset_differed_for_save(), Slic3r::PresetBundle::reload_local_bundle(), and Slic3r::GUI::DiffPresetDialog::update_tree().
|
staticinherited |
References Slic3r::Preset::config, Slic3r::deep_diff(), Slic3r::DynamicConfig::diff(), Slic3r::ConfigOptionResolver::has(), and Slic3r::optional_keys.
|
inlineinherited |
References m_edited_preset, m_idx_selected, and m_presets.
Referenced by Slic3r::GUI::GUI_App::check_and_keep_current_preset_changes(), Slic3r::GUI::delete_filament_preset_by_name(), and Slic3r::GUI::Tab::select_preset().
|
inlineinherited |
References m_presets.
Referenced by Slic3r::MachineObject::check_ams_filament_valid(), Slic3r::GUI::ExtrusionCalibration::get_bed_type_incompatible(), Slic3r::PresetBundle::get_current_project_embedded_presets(), Slic3r::GUI::get_default_name(), Slic3r::GUI::CalibrationPresetPage::get_print_preset(), Slic3r::GUI::CalibrationPresetPage::get_printer_preset(), Slic3r::GUI::get_printer_preset(), Slic3r::PresetBundle::get_similar_printer_preset(), is_alias_exist(), Slic3r::GUI::ExtrusionCalibration::on_click_cali(), Slic3r::GUI::ExtrusionCalibration::on_click_save(), Slic3r::GUI::AMSMaterialsSetting::on_select_reset(), Slic3r::GUI::Plater::post_process_string_object_exception(), Slic3r::GUI::sCheckFilamentInfo(), Slic3r::MachineObject::setting_id_to_type(), Slic3r::GUI::ExtrusionCalibration::update_combobox_filaments(), Slic3r::GUI::ExtrusionCalibration::update_filament_info(), and Slic3r::warn_ambiguous_filament_id_match().
|
inlineinherited |
|
inlineinherited |
References m_errors.
Referenced by Slic3r::PresetBundle::reload_local_bundle().
|
inherited |
References Slic3r::Preset::filament_id, Slic3r::filament_type(), first_visible_idx_by_type(), and preset().
Referenced by Slic3r::CrealityPrintAgent::match_filament_preset().
|
inlinestaticprivateinherited |
References GENERIC_PREFIX, and Slic3r::Preset::name.
Referenced by merge_presets(), and sort_presets().
| const Preset * Slic3r::PrinterPresetCollection::find_custom_preset_by_model_and_variant | ( | const std::string & | model_id, |
| const std::string & | variant ) const |
References Slic3r::PresetCollection::cbegin(), Slic3r::PresetCollection::cend(), and Slic3r::PresetCollection::preset().
Referenced by Slic3r::GUI::CreatePrinterPresetDialog::load_system_and_user_presets_with_curr_model().
|
inlineinherited |
References PresetCollection(), find_preset(), and name().
|
inherited |
References find_preset(), find_preset_internal(), first_visible(), Slic3r::get_preset_canonical_name(), get_preset_name_renamed(), m_presets, name(), and preset().
Referenced by Slic3r::anonymous_namespace{PluginHostPresets.cpp}::bind_filament_target(), Slic3r::anonymous_namespace{PluginHostPresets.cpp}::bind_preset_target(), Slic3r::GUI::UnsavedChangesDialog::build(), Slic3r::capabilities_in_use(), Slic3r::GUI::ConfigWizard::priv::check_and_install_missing_materials(), clone_presets(), Slic3r::GUI::collect_imex_warnings(), Slic3r::anonymous_namespace{PluginHostPresets.cpp}::PresetTransaction::commit(), Slic3r::GUI::CreatePrinterPresetDialog::create_page2_dialog_buttons(), Slic3r::anonymous_namespace{PluginHostPresets.cpp}::current_filament_presets(), Slic3r::GUI::delete_filament_preset_by_name(), delete_preset(), find_preset(), find_preset(), find_preset2(), Slic3r::GUI::Plater::force_filament_colors_update(), generate_custom_presets(), Slic3r::GUI::get_cached_selected_filament(), Slic3r::GUI::get_cached_selected_filament_for_multi_extruder(), get_differed_values_to_update(), Slic3r::GUI::CreateFilamentPresetDialog::get_filament_presets_by_machine(), Slic3r::GUI::AMSMaterialsSetting::get_filament_variant_index(), get_preset_differed_for_save(), get_preset_parent(), get_selected_preset_parent(), Slic3r::GUI::PublishSettingsDialog::GetPublishedMaterialKeys(), Slic3r::PresetBundle::import_json_presets(), load_presets(), load_project_embedded_presets(), Slic3r::GUI::ConfigWizard::priv::load_vendors(), Slic3r::GUI::anonymous_namespace{PublishSettingsDialog.cpp}::material_title(), Slic3r::GUI::GLCanvas3D::CenterOfMass::model_markers(), need_sync(), Slic3r::normalize_compatible_field(), Slic3r::GUI::FlowRateWizard::on_cali_start(), Slic3r::GUI::ExportPresetBundleDialog::OnRequestPresets(), Slic3r::refresh_missing_plugins(), Slic3r::PresetBundle::reload_local_bundle(), Slic3r::GUI::GUI_App::reload_settings(), Slic3r::PresetBundle::resolve_system_preset(), Slic3r::anonymous_namespace{PluginHostPresets.cpp}::resolved_slot_preset(), Slic3r::GUI::CalibrationWizard::save_preset(), Slic3r::GUI::CalibrationWizard::save_preset_with_index(), save_user_presets(), Slic3r::GUI::ExportConfigsDialog::select_curr_radiobox(), anonymous_namespace{OrcaSlicer_profile_validator.cpp}::slice_all_printers(), Slic3r::GUI::DiffPresetDialog::update_compatibility(), Slic3r::GUI::Sidebar::update_presets(), Slic3r::PresetBundle::update_subscribed_presets(), Slic3r::PresetBundle::update_system_preset_setting_ids(), and Slic3r::GUI::DiffPresetDialog::update_tree().
|
inherited |
References find_preset(), find_preset2(), name(), and preset().
Referenced by check_and_fix_syncinfo(), find_preset2(), find_preset2(), get_preset_base(), Slic3r::PresetBundle::import_json_presets(), load_external_preset(), load_project_embedded_presets(), load_user_preset(), resolve_user_preset(), Slic3r::CLI::run(), save_current_preset(), and Slic3r::PresetBundle::save_preset_to_bundle_dir().
|
inlineinherited |
References PresetCollection(), find_preset2(), and name().
|
inlineprivateinherited |
References PresetCollection(), find_preset_internal(), and name().
|
inlineprivateinherited |
References Slic3r::lower_bound_by_predicate(), m_num_default_presets, m_presets, and name().
Referenced by add_detached_preset(), apply_legacy_user_filament_presets(), clone_presets(), delete_preset(), find_preset(), find_preset_internal(), find_preset_renamed(), get_preset_name_by_alias(), load_external_preset(), load_preset(), load_user_preset(), save_current_preset(), select_preset_by_name(), select_preset_by_name_strict(), and validate_preset().
|
inlineprivateinherited |
References find_preset_internal(), m_map_system_profile_renamed, m_presets, and name().
Referenced by find_preset_renamed(), load_external_preset(), and validate_preset().
|
inlineprivateinherited |
References PresetCollection(), find_preset_renamed(), and name().
| const Preset * Slic3r::PrinterPresetCollection::find_system_preset_by_model_and_variant | ( | const std::string & | model_id, |
| const std::string & | variant ) const |
References Slic3r::PresetCollection::cbegin(), Slic3r::PresetCollection::cend(), and Slic3r::PresetCollection::preset().
Referenced by Slic3r::GUI::CreatePrinterPresetDialog::load_system_and_user_presets_with_curr_model().
|
inlineinherited |
References first_compatible_idx(), and preset().
Referenced by Slic3r::PresetBundle::reload_local_bundle().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
References first_compatible_idx().
Referenced by first_compatible(), first_compatible(), first_compatible(), first_compatible_idx(), and update_compatible().
|
inlineinherited |
References m_default_suppressed, m_num_default_presets, and m_presets.
|
inlineinherited |
References first_visible_idx(), and preset().
Referenced by find_preset(), and first_visible_idx().
|
inlineinherited |
|
inherited |
References first_visible(), m_default_suppressed, m_num_default_presets, m_presets, m_type, name(), Slic3r::PresetBundle::ORCA_FILAMENT_LIBRARY, and Slic3r::Preset::TYPE_FILAMENT.
Referenced by first_visible(), first_visible(), first_visible_idx_by_type(), get_selected_preset(), Slic3r::PresetBundle::reload_local_bundle(), and select_preset().
|
inherited |
References Slic3r::filament_type(), first_visible_idx(), get_preset_base(), m_default_suppressed, m_num_default_presets, and m_presets.
Referenced by filament_id_by_type().
|
inherited |
References BBL_JSON_KEY_BASE_ID, BBL_JSON_KEY_FILAMENT_ID, BBL_JSON_KEY_TYPE, BBL_JSON_KEY_VERSION, Slic3r::Preset::config, Slic3r::ConfigOptionDef::default_value, dirty_options(), find_preset(), Slic3r::Preset::get_extruder_names_and_keysets(), Slic3r::Preset::get_iot_type_string(), get_preset_base(), Slic3r::is_filament_extruder_override_key(), m_errors, m_type, ORCA_JSON_KEY_UPDATE_TIME, preset(), Slic3r::print_config_def, Slic3r::ConfigOption::serialize(), and Slic3r::Preset::TYPE_FILAMENT.
Referenced by Slic3r::PresetBundle::get_differed_values_to_update().
|
inlineinherited |
References m_edited_preset.
Referenced by Slic3r::GUI::_collect_sorted_machines(), Slic3r::active_capability_config(), Slic3r::anonymous_namespace{PluginHostPresets.cpp}::bind_filament_target(), Slic3r::anonymous_namespace{PluginHostPresets.cpp}::bind_preset_target(), Slic3r::GUI::UnsavedChangesDialog::build(), Slic3r::GUI::SelectMachineDialog::build_nozzles_info(), Slic3r::GUI::SyncAmsInfoDialog::build_nozzles_info(), Slic3r::GUI::PartPlate::calc_imex_zones(), Slic3r::capabilities_in_use(), Slic3r::GUI::Plater::priv::check_ams_status_impl(), clone_presets(), Slic3r::GUI::collect_imex_warnings(), Slic3r::anonymous_namespace{PluginHostPresets.cpp}::PresetTransaction::commit(), Slic3r::GUI::DiffPresetDialog::create_buttons(), current_different_from_parent_options(), current_dirty_options(), current_is_dirty(), Slic3r::GUI::PluginsConfigDialog::current_preset(), Slic3r::GUI::delete_filament_preset_by_name(), Slic3r::effective_physical_extruder_map(), Slic3r::GUI::Plater::export_3mf(), Slic3r::GUI::Plater::export_gcode(), Slic3r::GUI::extruder_supports_tpu_high_flow(), get_edited_preset_with_vendor_profile(), Slic3r::GUI::Plater::priv::get_machine_sync_status(), Slic3r::Preset::get_printer_type(), get_selected_preset_parent(), Slic3r::GUI::getExtruderNozzleCount(), Slic3r::GUI::getExtruderNozzleCountTotal(), Slic3r::Preset::has_lidar(), Slic3r::GUI::PartPlate::imex_wipe_tower_hull(), Slic3r::GUI::SyncAmsInfoDialog::is_dirty_filament(), Slic3r::GUI::Plater::is_same_printer_for_connected_and_selected(), Slic3r::GUI::SelectMachineDialog::is_same_printer_model(), Slic3r::GUI::SyncAmsInfoDialog::is_same_printer_model(), Slic3r::GUI::Sidebar::priv::layout_printer(), load_external_preset(), Slic3r::GUI::MainFrame::load_printer_url(), Slic3r::PhysicalPrinterCollection::load_printers_from_presets(), Slic3r::GUI::manuallySetNozzleCount(), Slic3r::GUI::Tab::may_discard_current_dirty_preset(), Slic3r::GUI::Plater::priv::on_select_preset(), Slic3r::GUI::anonymous_namespace{PublishSettingsDialog.cpp}::project_used_filament_slots(), Slic3r::GUI::PartPlate::refresh_imex_icon(), Slic3r::refresh_missing_plugins(), Slic3r::GUI::PartPlate::register_raycasters_for_picking(), Slic3r::PresetBundle::reload_local_bundle(), Slic3r::GUI::GUI_App::reload_settings(), Slic3r::GUI::PartPlate::render_icons(), Slic3r::GUI::GCodeViewer::render_markers(), Slic3r::PresetBundle::restore_selection(), Slic3r::GUI::s_get_slicing_extuder_nozzles(), Slic3r::GUI::UnsavedChangesDialog::save(), Slic3r::PresetBundle::save_changes_for_preset(), Slic3r::GUI::CalibrationWizard::save_preset(), Slic3r::GUI::CalibrationWizard::save_preset_with_index(), saved_is_dirty(), Slic3r::GUI::seedExtruderNozzleStats(), Slic3r::GUI::Tab::select_preset(), Slic3r::PresetBundle::selection(), Slic3r::GUI::PartPlate::set_shape(), Slic3r::GUI::setExtruderNozzleCount(), Slic3r::GUI::Sidebar::should_show_SEMM_buttons(), Slic3r::GUI::SelectMachineDialog::show_status(), Slic3r::GUI::SyncAmsInfoDialog::show_status(), Slic3r::GUI::TabPrinter::toggle_options(), Slic3r::GUI::ConfigManipulation::toggle_print_fff_options(), Slic3r::GUI::UnsavedChangesDialog::update(), Slic3r::GUI::Sidebar::update_all_preset_comboboxes(), update_dirty(), Slic3r::GUI::Sidebar::update_presets(), Slic3r::GUI::SelectMachineDialog::update_show_status(), Slic3r::GUI::Sidebar::priv::update_sync_status(), and Slic3r::GUI::updateNozzleCountDisplay().
|
inlineinherited |
References m_edited_preset.
|
inlineinherited |
References get_edited_preset(), and get_preset_with_vendor_profile().
Referenced by Slic3r::GUI::Tab::select_preset(), and anonymous_namespace{OrcaSlicer_profile_validator.cpp}::slice_all_printers().
|
inherited |
References get_preset_base(), m_presets, and preset().
Referenced by Slic3r::GUI::get_filament_id(), and Slic3r::GUI::update_custom_filaments().
|
inlineinherited |
References m_idx_selected.
Referenced by Slic3r::GUI::delete_filament_preset_by_name().
|
inherited |
References preset(), and set_custom_preset_alias().
Referenced by Slic3r::GUI::NewCalibrationHistoryDialog::get_all_filaments(), and Slic3r::GUI::AMSMaterialsSetting::Popup().
References find_preset2(), get_preset_base(), Slic3r::Preset::inherits(), Slic3r::Preset::is_default, and Slic3r::Preset::is_system.
Referenced by Slic3r::GUI::ExportConfigsDialog::data_init(), delete_current_preset(), Slic3r::anonymous_namespace{SnapmakerPrinterAgent.cpp}::find_closest_color_preset_by_vendor_and_type(), first_visible_idx_by_type(), get_differed_values_to_update(), get_filament_presets(), get_preset_base(), get_selected_preset_base(), get_selected_preset_parent(), Slic3r::anonymous_namespace{CrealityPrintAgent.cpp}::has_visible_base_preset(), Slic3r::anonymous_namespace{QidiPrinterAgent.cpp}::has_visible_base_preset(), Slic3r::GUI::ExportPresetBundleDialog::InitExportData(), Slic3r::GUI::ExportPresetBundleDialog::OnRequestPresets(), Slic3r::GUI::ExportConfigsDialog::select_curr_radiobox(), Slic3r::GUI::CreatePrinterPresetDialog::set_current_visible_printer(), set_sync_info_and_save(), and Slic3r::warn_ambiguous_filament_id_match().
References Slic3r::Preset::config, dirty_options(), find_preset(), Slic3r::Preset::get_extruder_names_and_keysets(), Slic3r::is_filament_extruder_override_key(), Slic3r::ConfigOption::is_scalar(), m_type, Slic3r::ConfigOption::nullable(), Slic3r::ConfigBase::option(), Slic3r::Preset, preset(), Slic3r::ConfigOption::set(), Slic3r::ConfigOptionVectorBase::set_with_nil(), and Slic3r::ConfigOptionVectorBase::size().
Referenced by Slic3r::PresetBundle::get_preset_differed_for_save(), and get_project_embedded_presets().
|
inherited |
References find_preset_internal(), Slic3r::lower_bound_by_predicate(), m_idx_selected, m_map_alias_to_profile_name, and m_presets.
Referenced by Slic3r::anonymous_namespace{PluginHostPresets.cpp}::bind_filament_target(), Slic3r::PresetBundle::get_preset_name_by_alias(), Slic3r::GUI::CalibrationWizard::save_preset(), and Slic3r::GUI::CalibrationWizard::save_preset_with_index().
|
inherited |
References m_map_system_profile_renamed.
Referenced by find_preset().
References find_preset(), Slic3r::Preset::inherits(), and preset().
Referenced by get_preset_with_vendor_profile(), legacy_user_filament_presets(), and Slic3r::PresetBundle::reload_local_bundle().
|
inherited |
References get_preset_parent(), preset(), and Slic3r::Preset::vendor.
Referenced by generate_custom_presets(), get_edited_preset_with_vendor_profile(), anonymous_namespace{OrcaSlicer_profile_validator.cpp}::slice_all_printers(), Slic3r::GUI::ExtrusionCalibration::update_combobox_filaments(), and update_compatible_internal().
|
inlineinherited |
References m_presets.
Referenced by Slic3r::GUI::ExportConfigsDialog::data_init(), Slic3r::GUI::delete_filament_preset_by_name(), Slic3r::anonymous_namespace{SnapmakerPrinterAgent.cpp}::find_closest_color_preset_by_vendor_and_type(), generate_custom_presets(), Slic3r::GUI::CreateFilamentPresetDialog::get_all_filament_presets(), Slic3r::GUI::CreateFilamentPresetDialog::get_all_visible_printer_name(), Slic3r::GUI::get_filament_id(), Slic3r::GUI::EditFilamentPresetDialog::get_same_filament_id_presets(), Slic3r::GUI::GUI_App::get_selected_presets(), Slic3r::anonymous_namespace{CrealityPrintAgent.cpp}::has_visible_base_preset(), Slic3r::anonymous_namespace{QidiPrinterAgent.cpp}::has_visible_base_preset(), Slic3r::GUI::ExportPresetBundleDialog::InitExportData(), Slic3r::CrealityPrintAgent::match_filament_preset(), Slic3r::PrinterPresetCollection::only_default_printers(), Slic3r::anonymous_namespace{PresetBundle.cpp}::printer_kept_bed_paths(), Slic3r::PresetBundle::reload_local_bundle(), Slic3r::PresetBundle::resolve_preset_config(), Slic3r::GUI::CreatePrinterPresetDialog::set_current_visible_printer(), anonymous_namespace{OrcaSlicer_profile_validator.cpp}::slice_all_printers(), Slic3r::GUI::CreatePrinterPresetDialog::update_presets_list(), and Slic3r::PresetBundle::update_subscribed_presets().
|
inherited |
References get_preset_differed_for_save(), Slic3r::Preset::get_type_string(), lock(), m_presets, m_type, preset(), and unlock().
|
inlineinherited |
References m_idx_selected.
Referenced by Slic3r::GUI::DiffPresetDialog::create_presets_sizer(), and get_selected_preset_parent().
|
inlineinherited |
References first_visible_idx(), m_idx_selected, m_presets, and select_preset().
Referenced by Slic3r::GUI::EditFilamentPresetDialog::create_dialog_buttons(), Slic3r::GUI::DiffPresetDialog::create_presets_sizer(), current_dirty_options(), current_is_dirty(), delete_current_preset(), Slic3r::GUI::NewCalibrationHistoryDialog::get_all_filaments(), get_selected_preset_name(), get_selected_preset_parent(), Slic3r::GUI::Plater::get_selected_printer_name_in_combox(), Slic3r::GUI::PresetComboBox::get_tooltip(), Slic3r::GUI::GCodeViewer::init(), load_external_preset(), Slic3r::GUI::Tab::may_discard_current_dirty_preset(), Slic3r::GUI::Sidebar::need_auto_sync_extruder_list_after_connect_priner(), Slic3r::GUI::AMSMaterialsSetting::on_select_filament(), Slic3r::GUI::AMSMaterialsSetting::Popup(), Slic3r::GUI::GUI_App::reload_settings(), Slic3r::anonymous_namespace{PluginHostPresets.cpp}::require_tab(), Slic3r::PresetBundle::save_changes_for_preset(), save_current_preset(), anonymous_namespace{OrcaSlicer_profile_validator.cpp}::select_printer_default_presets(), anonymous_namespace{OrcaSlicer_profile_validator.cpp}::slice_all_printers(), anonymous_namespace{OrcaSlicer_profile_validator.cpp}::slice_config(), Slic3r::GUI::Sidebar::priv::sync_extruder_list(), Slic3r::GUI::UnsavedChangesDialog::update(), Slic3r::GUI::DiffPresetDialog::update_compatibility(), and update_dirty().
|
inlineinherited |
References m_idx_selected, and m_presets.
|
inlineinherited |
References get_preset_base(), m_idx_selected, and m_presets.
|
inlineinherited |
References get_selected_preset(), m_idx_selected, m_presets, and Slic3r::Preset::name.
Referenced by Slic3r::GUI::GUI_App::get_selected_presets(), Slic3r::GUI::Plater::priv::on_select_bed_type(), Slic3r::PresetBundle::reload_local_bundle(), anonymous_namespace{OrcaSlicer_profile_validator.cpp}::select_printer_default_presets(), Slic3r::PresetBundle::selection(), anonymous_namespace{OrcaSlicer_profile_validator.cpp}::slice_all_printers(), update_after_user_presets_loaded(), Slic3r::GUI::Sidebar::update_all_preset_comboboxes(), and Slic3r::GUI::Sidebar::update_presets().
|
inherited |
References default_preset(), find_preset(), get_edited_preset(), get_preset_base(), get_selected_idx(), get_selected_preset(), Slic3r::Preset::inherits(), Slic3r::Preset::is_external, m_type, preset(), Slic3r::Preset::printer_technology(), Slic3r::ptSLA, and Slic3r::Preset::TYPE_PRINTER.
Referenced by current_different_from_parent_options().
|
staticinherited |
References Slic3r::g_suffix_modified.
Referenced by Slic3r::GUI::EditDevNameDialog::on_edit_name(), Slic3r::GUI::AuFile::on_input_enter(), Slic3r::GUI::SelectMachineDialog::on_rename_enter(), Slic3r::GUI::SendMultiMachinePage::on_rename_enter(), Slic3r::GUI::SendToPrinterDialog::on_rename_enter(), Slic3r::GUI::SavePresetDialog::Item::update(), and Slic3r::GUI::PhysicalPrinterDialog::update_preset_input().
|
inherited |
References count, lock(), m_presets, preset(), PresetBundle, and unlock().
|
inlineinherited |
References m_num_default_presets, and m_presets.
|
inherited |
References end(), m_map_alias_to_profile_name, m_printer_hold_alias, and preset().
|
inlineinherited |
References preset().
Referenced by path_for_preset(), and save_current_preset().
|
inlineinherited |
References m_default_suppressed.
|
staticinherited |
References Slic3r::Preset::config, Slic3r::DynamicConfig::equals(), Slic3r::ConfigOptionResolver::has(), Slic3r::optional_keys, and Slic3r::skipped_in_dirty.
Referenced by current_is_dirty(), load_external_preset(), saved_is_dirty(), and update_dirty().
|
inlineinherited |
|
inherited |
References BBL_JSON_KEY_INHERITS, Slic3r::LegacyUserFilamentPreset::compatible_printers, get_preset_parent(), Slic3r::LegacyUserFilamentPreset::inherits, Slic3r::Preset::is_system, lock(), m_presets, Slic3r::Preset::name, name(), preset(), Slic3r::LegacyUserFilamentPreset::printers, Slic3r::read_user_preset_file(), Slic3r::Preset::renamed_from, and unlock().
|
inherited |
References Always, Slic3r::ConfigBase::apply_only(), Slic3r::Preset::config, default_preset_for(), Slic3r::Preset::filament_id, find_preset2(), find_preset_internal(), find_preset_renamed(), get_edited_preset(), get_selected_preset(), Slic3r::Preset::get_type_string(), Slic3r::Preset::inherits(), is_dirty(), Slic3r::Preset::is_external, Slic3r::is_gcode_file(), Slic3r::Preset::load_external_config(), load_preset(), m_presets, m_type, Slic3r::Preset::name, name(), Never, Slic3r::ConfigBase::option(), path_for_preset(), preset(), Slic3r::profile_print_params_same(), select_preset(), Slic3r::Preset::TYPE_FILAMENT, Slic3r::Preset::TYPE_PRINT, Slic3r::Preset::TYPE_PRINTER, update_dirty(), and update_saved_preset_from_current_preset().
|
inherited |
References Slic3r::ConfigBase::apply_only(), default_preset(), Slic3r::DynamicConfig::keys(), load_preset(), and name().
Referenced by Slic3r::PresetBundle::import_json_presets(), load_external_preset(), and load_preset().
|
inherited |
References find_preset_internal(), Slic3r::Preset::get_type_string(), lock(), m_idx_selected, m_presets, m_type, name(), Slic3r::Preset, preset(), select_preset_by_name(), unlock(), and Slic3r::Semver::valid().
|
inherited |
References canonical_preset_name(), Slic3r::detect_origin_from_path(), find_preset(), Slic3r::Preset::get_extruder_names_and_keysets(), Slic3r::Preset::get_type_string(), Slic3r::is_json_file(), load_presets(), m_dir_path, m_type, name(), and Slic3r::resolve_then_commit().
Referenced by load_presets().
|
inherited |
References BBL_JSON_KEY_INHERITS, Slic3r::Preset::config, default_preset(), default_preset_for(), Slic3r::extend_default_config_length(), Slic3r::Preset::filament_id, find_preset(), find_preset2(), Slic3r::Preset::get_extruder_names_and_keysets(), Slic3r::Preset::get_type_from_string(), Slic3r::Preset::get_type_string(), lock(), m_errors, m_presets, m_type, name(), Slic3r::Preset::normalize(), Slic3r::Preset::normalize_inherits(), Slic3r::ConfigBase::option(), preset(), Slic3r::PresetConfigSubstitutions::ProjectFile, Slic3r::Preset::remove_invalid_keys(), sort_presets(), type(), unlock(), and Slic3r::ConfigOptionSingle< T >::value.
|
inherited |
References Slic3r::ConfigBase::apply(), Slic3r::ConfigBase::apply_only(), BBL_JSON_KEY_BASE_ID, BBL_JSON_KEY_FILAMENT_ID, BBL_JSON_KEY_INHERITS, BBL_JSON_KEY_SETTING_ID, BBL_JSON_KEY_USER_ID, BBL_JSON_KEY_VERSION, Slic3r::PresetOrigin::bundle_id, canonical_preset_name(), Slic3r::ConfigOption::clone(), Slic3r::Preset::config, count, default_preset(), default_preset_for(), Slic3r::extend_default_config_length(), Slic3r::Preset::filament_id, find_preset2(), find_preset_internal(), Slic3r::Preset::get_extruder_names_and_keysets(), Slic3r::Preset::get_type_string(), Slic3r::ConfigOptionResolver::has(), Slic3r::DynamicConfig::keys(), Slic3r::ConfigBase::load_string_map(), lock(), m_edited_preset, m_errors, m_idx_selected, m_presets, m_type, name(), Slic3r::Preset::normalize(), Slic3r::Preset::normalize_inherits(), Slic3r::ConfigBase::option(), ORCA_JSON_KEY_UPDATE_TIME, Slic3r::Semver::parse(), preset(), Slic3r::Preset::remove_invalid_keys(), set_custom_preset_alias(), Slic3r::DynamicConfig::set_key_value(), Slic3r::Preset::setting_id, Slic3r::ConfigOptionVector< T >::size(), Slic3r::Preset::TYPE_FILAMENT, unlock(), Slic3r::DynamicPrintConfig::update_diff_values_to_child_config(), Slic3r::PresetConfigSubstitutions::UserCloud, and Slic3r::ConfigOptionSingle< T >::value.
Referenced by Slic3r::PresetBundle::load_user_presets(), and Slic3r::PresetBundle::update_subscribed_presets().
|
inlineinherited |
References m_mutex.
Referenced by add_detached_preset(), append_preset(), apply_legacy_user_filament_presets(), clone_presets(), delete_current_preset(), delete_preset(), get_project_embedded_presets(), get_user_presets(), legacy_user_filament_presets(), load_preset(), load_project_embedded_presets(), load_user_preset(), need_sync(), reset(), reset_project_embedded_presets(), save_current_preset(), set_sync_info_and_save(), and update_after_user_presets_loaded().
|
protectedinherited |
References filament_preset_less(), m_num_default_presets, m_presets, m_type, preset(), and Slic3r::Preset::TYPE_FILAMENT.
|
inherited |
References L, PRESET_FILAMENT_NAME, PRESET_PRINT_NAME, PRESET_PRINTER_NAME, type(), Slic3r::Preset::TYPE_FILAMENT, Slic3r::Preset::TYPE_PRINT, and Slic3r::Preset::TYPE_PRINTER.
Referenced by PresetCollection(), append_preset(), canonical_preset_name(), delete_preset(), find_preset(), find_preset(), find_preset2(), find_preset2(), find_preset_internal(), find_preset_internal(), find_preset_renamed(), find_preset_renamed(), first_visible_idx(), legacy_user_filament_presets(), load_external_preset(), load_preset(), load_preset(), load_presets(), load_project_embedded_presets(), load_user_preset(), need_sync(), select_preset_by_name(), select_preset_by_name_strict(), and set_sync_info_and_save().
|
inherited |
|
inlineinherited |
References m_num_default_presets.
|
inlineinherited |
| bool Slic3r::PrinterPresetCollection::only_default_printers | ( | ) | const |
References Slic3r::PresetCollection::get_presets().
Referenced by Slic3r::GUI::GuideFrame::run().
|
inlineinherited |
|
privatedefault |
|
inherited |
References Slic3r::get_preset_bare_name(), is_base_preset(), path_from_name(), and preset().
Referenced by add_detached_preset(), clone_presets(), load_external_preset(), save_current_preset(), and save_user_presets().
|
inherited |
References m_dir_path.
Referenced by Slic3r::PresetBundle::import_json_presets(), and path_for_preset().
|
inlineinherited |
References PresetCollection(), and preset().
Referenced by preset().
|
inlineinherited |
References m_edited_preset, m_idx_selected, and m_presets.
Referenced by PresetCollection(), add_detached_preset(), append_preset(), check_and_fix_syncinfo(), clone_presets(), clone_presets_for_filament(), clone_presets_for_printer(), commit_user_preset(), Slic3r::GUI::Tab::compatible_widget_create(), delete_preset(), diameters_of_selected_printer(), filament_id_by_type(), Slic3r::PrinterPresetCollection::find_custom_preset_by_model_and_variant(), find_preset(), find_preset2(), Slic3r::PrinterPresetCollection::find_system_preset_by_model_and_variant(), first_compatible(), first_compatible(), first_compatible(), first_visible(), first_visible(), Slic3r::GUI::SyncAmsInfoDialog::generate_override_fix_ams_list(), get_differed_values_to_update(), get_filament_presets(), get_preset_alias(), get_preset_differed_for_save(), get_preset_parent(), get_preset_with_vendor_profile(), get_project_embedded_presets(), get_selected_preset_parent(), get_user_presets(), is_alias_exist(), is_base_preset(), legacy_user_filament_presets(), load_external_preset(), load_preset(), load_project_embedded_presets(), load_user_preset(), merge_presets(), need_sync(), num_visible(), path_for_preset(), reset(), Slic3r::GUI::SelectMachineDialog::reset_and_sync_ams_list(), Slic3r::GUI::SyncAmsInfoDialog::reset_and_sync_ams_list(), resolve_user_preset(), save_current_preset(), save_user_presets(), select_preset(), set_custom_preset_alias(), set_printer_hold_alias(), set_sync_info_and_save(), Slic3r::GUI::SendMultiMachinePage::sync_ams_list(), system_preset_names(), update_library_profile_excluded_from(), update_map_alias_to_profile_name(), update_map_system_profile_renamed(), and update_vendor_ptrs_after_copy().
|
inherited |
References lock(), m_map_alias_to_profile_name, m_map_system_profile_renamed, m_num_default_presets, m_presets, preset(), select_preset(), and unlock().
|
inherited |
References count, Slic3r::Preset::get_type_string(), lock(), m_idx_selected, m_presets, m_type, and unlock().
Referenced by Slic3r::PresetBundle::restore_selection().
|
privateinherited |
References BBL_JSON_KEY_DESCRIPTION, BBL_JSON_KEY_FILAMENT_ID, BBL_JSON_KEY_INHERITS, BBL_JSON_KEY_INSTANTIATION, BBL_JSON_KEY_VERSION, Slic3r::PresetOrigin::bundle_id, Slic3r::PresetCollection::UserPresetLoad::complete, Slic3r::Preset::config, default_preset(), default_preset_for(), Slic3r::PresetCollection::UserPresetLoad::discard_file, Slic3r::PresetCollection::UserPresetLoad::errors, Slic3r::extend_default_config_length(), Slic3r::Preset::filament_id, find_preset2(), Slic3r::PresetCollection::UserPresetLoad::info_file, Slic3r::PresetCollection::UserPresetLoad::install, Slic3r::PresetOrigin::kind, Slic3r::ConfigBase::load_from_json(), Slic3r::PresetOrigin::LocalBundle, m_type, Slic3r::Preset::normalize(), Slic3r::Preset::normalize_inherits(), Slic3r::PresetCollection::UserPresetLoad::on_disk, Slic3r::ConfigBase::option(), Slic3r::Semver::parse(), Slic3r::Preset, preset(), Slic3r::PresetCollection::UserPresetLoad::preset, Slic3r::Preset::printer_technology(), Slic3r::ptFFF, Slic3r::PresetCollection::PresetFilesOnDisk::read(), Slic3r::Preset::remove_invalid_keys(), Slic3r::PresetCollection::UserPresetLoad::save_compatible_printers, Slic3r::PresetCollection::UserPresetLoad::substitutions, Slic3r::Preset::TYPE_FILAMENT, Slic3r::Preset::TYPE_PRINTER, Slic3r::PresetConfigSubstitutions::UserFile, and Slic3r::ConfigOptionSingle< T >::value.
|
inherited |
References Slic3r::Preset::base_id, Slic3r::LifecycleEventContext::code, Slic3r::Preset::config, find_preset2(), find_preset_internal(), Slic3r::fire_lifecycle_event(), get_selected_preset(), is_base_preset(), lock(), m_edited_preset, m_presets, m_type, Slic3r::LifecycleEventContext::msg, Slic3r::LifecycleEventContext::name, Slic3r::Preset::normalize_inherits(), Slic3r::Ok, path_for_preset(), preset(), Slic3r::PresetSaved, Slic3r::Preset::save(), select_preset_by_name(), Slic3r::Preset::setting_id, Slic3r::Preset::TYPE_FILAMENT, Slic3r::Preset::TYPE_PRINT, Slic3r::Preset::TYPE_PRINTER, and unlock().
Referenced by Slic3r::GUI::CreatePrinterPresetDialog::create_page2_dialog_buttons(), generate_custom_presets(), Slic3r::PresetBundle::save_changes_for_preset(), Slic3r::GUI::CalibrationWizard::save_preset(), and Slic3r::GUI::CalibrationWizard::save_preset_with_index().
|
inherited |
References Slic3r::Preset::config, delete_preset(), find_preset(), Slic3r::Preset::inherits(), m_dir_path, m_errors, m_presets, path_for_preset(), preset(), Slic3r::Preset::setting_id, and type().
Referenced by generate_custom_presets().
|
inlineinherited |
References get_edited_preset(), is_dirty(), and m_saved_preset.
|
inherited |
References PRESET_FILAMENT_NAME, PRESET_PRINT_NAME, PRESET_PRINTER_NAME, type(), Slic3r::Preset::TYPE_FILAMENT, Slic3r::Preset::TYPE_PRINT, and Slic3r::Preset::TYPE_PRINTER.
|
inherited |
References first_visible_idx(), Slic3r::Preset::get_type_string(), m_default_suppressed, m_edited_preset, m_idx_selected, m_num_default_presets, m_presets, m_type, preset(), and update_saved_preset_from_current_preset().
Referenced by delete_current_preset(), get_selected_preset(), load_external_preset(), Slic3r::PresetBundle::reload_local_bundle(), reset(), select_preset_by_name(), select_preset_by_name_strict(), and update_compatible().
|
inherited |
References canonical_preset_name(), find_preset_internal(), Slic3r::Preset::get_type_string(), m_default_suppressed, m_idx_selected, m_num_default_presets, m_presets, m_type, name(), Slic3r::Preset::remove_suffix_modified(), and select_preset().
Referenced by clone_presets(), Slic3r::GUI::ExportConfigsDialog::data_init(), Slic3r::GUI::ExportPresetBundleDialog::InitExportData(), load_preset(), Slic3r::GUI::CreatePrinterPresetDialog::load_system_and_user_presets_with_curr_model(), Slic3r::PresetBundle::reload_local_bundle(), Slic3r::GUI::GUI_App::reload_settings(), Slic3r::PresetBundle::restore_selection(), save_current_preset(), Slic3r::GUI::Tab::select_preset(), anonymous_namespace{OrcaSlicer_profile_validator.cpp}::select_printer_default_presets(), anonymous_namespace{OrcaSlicer_profile_validator.cpp}::slice_all_printers(), update_after_user_presets_loaded(), and Slic3r::GUI::DiffPresetDialog::update_compatibility().
|
protectedinherited |
References canonical_preset_name(), find_preset_internal(), Slic3r::Preset::get_type_string(), m_idx_selected, m_presets, m_type, name(), and select_preset().
|
protectedinherited |
References BBL_JSON_KEY_INHERITS, Slic3r::ConfigOptionString::empty(), Slic3r::get_preset_bare_name(), m_map_alias_to_profile_name, m_type, preset(), set_printer_hold_alias(), and Slic3r::Preset::TYPE_FILAMENT.
Referenced by clone_presets(), commit_user_preset(), get_preset_alias(), Slic3r::PresetBundle::import_json_presets(), and load_user_preset().
|
inherited |
References m_default_suppressed, m_idx_selected, m_num_default_presets, and m_presets.
|
inherited |
References m_map_alias_to_profile_name, m_printer_hold_alias, and preset().
Referenced by delete_preset(), and set_custom_preset_alias().
|
inlineinherited |
|
inherited |
References canonical_preset_name(), get_preset_base(), lock(), m_presets, name(), preset(), and unlock().
|
inlineinherited |
References m_presets.
Referenced by Slic3r::GUI::Tab::compatible_widget_create(), generate_custom_presets(), Slic3r::GUI::NewCalibrationHistoryDialog::get_all_filaments(), Slic3r::GUI::AMSMaterialsSetting::Popup(), Slic3r::PresetBundle::reload_local_bundle(), and Slic3r::GUI::ExtrusionCalibration::update_combobox_filaments().
|
inlineprivateinherited |
References filament_preset_less(), m_num_default_presets, m_presets, m_type, and Slic3r::Preset::TYPE_FILAMENT.
Referenced by load_project_embedded_presets(), Slic3r::PresetBundle::reload_local_bundle(), and update_after_user_presets_loaded().
|
inherited |
|
inlineinherited |
References m_type.
Referenced by PresetCollection(), Slic3r::PrinterPresetCollection::PrinterPresetCollection(), add_default_preset(), Slic3r::GUI::UnsavedChangesDialog::build(), clone_presets_for_filament(), clone_presets_for_printer(), Slic3r::PresetBundle::commit_vendor_preset(), Slic3r::GUI::GUI_App::get_selected_presets(), Slic3r::PresetBundle::import_json_presets(), load_project_embedded_presets(), Slic3r::GUI::Tab::may_discard_current_dirty_preset(), name(), Slic3r::PresetBundle::resolve_vendor_preset(), save_user_presets(), section_name(), Slic3r::GUI::UnsavedChangesDialog::update(), and update_user_presets_directory().
|
inlineinherited |
References m_mutex.
Referenced by add_detached_preset(), append_preset(), apply_legacy_user_filament_presets(), clone_presets(), delete_current_preset(), delete_preset(), get_project_embedded_presets(), get_user_presets(), legacy_user_filament_presets(), load_preset(), load_project_embedded_presets(), load_user_preset(), need_sync(), reset(), reset_project_embedded_presets(), save_current_preset(), set_sync_info_and_save(), and update_after_user_presets_loaded().
|
inherited |
References get_selected_preset_name(), lock(), m_idx_selected, m_type, select_preset_by_name(), sort_presets(), and unlock().
|
inlineinherited |
References update_compatible().
|
inlineinherited |
References first_compatible_idx(), select_preset(), and update_compatible_internal().
Referenced by update_compatible().
|
privateinherited |
References Slic3r::Always, Slic3r::Preset::config, Slic3r::ConfigOptionString, get_preset_with_vendor_profile(), Slic3r::Preset::get_type_string(), Slic3r::Preset::is_compatible, Slic3r::is_compatible_with_print(), Slic3r::is_compatible_with_printer(), m_default_suppressed, m_edited_preset, m_idx_selected, m_num_default_presets, m_presets, m_type, Slic3r::Preset::name, Slic3r::OnlyIfWasCompatible, Slic3r::ConfigBase::option(), Slic3r::PresetWithVendorProfile::preset, and Slic3r::DynamicConfig::set_key_value().
Referenced by update_compatible().
|
inherited |
References current_is_dirty(), get_edited_preset(), get_selected_preset(), Slic3r::Preset::is_dirty, and is_dirty().
Referenced by load_external_preset(), Slic3r::PresetBundle::reload_local_bundle(), and Slic3r::PresetBundle::restore_selection().
|
protectedinherited |
References m_presets, Slic3r::PresetBundle::ORCA_FILAMENT_LIBRARY, and preset().
|
protectedinherited |
References m_map_alias_to_profile_name, m_presets, and preset().
Referenced by Slic3r::PresetBundle::reload_local_bundle().
|
protectedinherited |
References m_errors, m_map_system_profile_renamed, m_presets, and preset().
|
inlineinherited |
References m_edited_preset, and m_saved_preset.
Referenced by PresetCollection(), load_external_preset(), and select_preset().
|
inherited |
References m_dir_path, and type().
|
protectedinherited |
|
inherited |
References canonical_preset_name(), find_preset_internal(), find_preset_renamed(), and m_presets.
|
staticinherited |
References BBL_JSON_KEY_INHERITS, Slic3r::LegacyUserFilamentPreset::compatible_printers, Slic3r::LegacyUserFilamentPreset::file, Slic3r::LegacyUserFilamentPreset::inherits, Slic3r::LegacyUserFilamentPreset::preset, Slic3r::LegacyUserFilamentPreset::printers, Slic3r::read_user_preset_file(), and Slic3r::write_file_atomically().
Referenced by Slic3r::PresetBundle::migrate_legacy_user_filament_presets().
|
friend |
References PresetBundle.
Referenced by PresetBundle.
|
privateinherited |
|
privateinherited |
|
privateinherited |
Referenced by PresetCollection(), apply_legacy_user_filament_presets(), diameters_of_selected_printer(), discard_current_changes(), get_edited_preset(), get_edited_preset(), load_user_preset(), operator=(), preset(), Slic3r::PresetBundle::reload_local_bundle(), save_current_preset(), select_preset(), update_compatible_internal(), and update_saved_preset_from_current_preset().
|
privateinherited |
|
privateinherited |
Referenced by PresetCollection(), add_detached_preset(), apply_legacy_user_filament_presets(), delete_current_preset(), discard_current_changes(), get_idx_selected(), get_preset_name_by_alias(), get_selected_idx(), get_selected_preset(), get_selected_preset(), get_selected_preset_base(), get_selected_preset_name(), load_preset(), load_user_preset(), operator=(), preset(), Slic3r::PresetBundle::reload_local_bundle(), reset_project_embedded_presets(), select_preset(), select_preset_by_name(), select_preset_by_name_strict(), set_default_suppressed(), update_after_user_presets_loaded(), and update_compatible_internal().
|
privateinherited |
|
privateinherited |
Referenced by find_preset_renamed(), get_preset_name_renamed(), operator=(), reset(), and update_map_system_profile_renamed().
|
privateinherited |
|
privateinherited |
Referenced by add_default_preset(), begin(), begin(), cbegin(), default_preset(), default_preset(), find_preset_internal(), first_compatible_idx(), first_visible_idx(), first_visible_idx_by_type(), has_defaults_only(), merge_presets(), num_default_presets(), operator=(), Slic3r::PresetBundle::reload_local_bundle(), reset(), select_preset(), select_preset_by_name(), set_default_suppressed(), sort_presets(), and update_compatible_internal().
|
privateinherited |
Referenced by PresetCollection(), add_default_preset(), add_detached_preset(), append_preset(), apply_legacy_user_filament_presets(), begin(), begin(), cbegin(), cend(), clone_presets(), default_preset(), default_preset(), delete_current_preset(), delete_preset(), diameters_of_selected_printer(), discard_current_changes(), end(), end(), erase(), find_preset(), find_preset_internal(), find_preset_renamed(), first_compatible_idx(), first_visible_idx(), first_visible_idx_by_type(), get_filament_presets(), get_preset_name_by_alias(), get_presets(), get_project_embedded_presets(), get_selected_preset(), get_selected_preset(), get_selected_preset_base(), get_selected_preset_name(), get_user_presets(), has_defaults_only(), lbegin(), legacy_user_filament_presets(), load_external_preset(), load_preset(), load_project_embedded_presets(), load_user_preset(), merge_presets(), num_visible(), operator()(), operator=(), preset(), Slic3r::PresetBundle::reload_local_bundle(), reset(), reset_project_embedded_presets(), Slic3r::PresetBundle::restore_selection(), save_current_preset(), save_user_presets(), select_preset(), select_preset_by_name(), select_preset_by_name_strict(), Slic3r::PresetBundle::selection(), set_default_suppressed(), set_sync_info_and_save(), size(), sort_presets(), system_preset_names(), update_compatible_internal(), update_library_profile_excluded_from(), update_map_alias_to_profile_name(), update_map_system_profile_renamed(), update_vendor_ptrs_after_copy(), and validate_preset().
|
privateinherited |
Referenced by is_alias_exist(), and set_printer_hold_alias().
|
privateinherited |
|
privateinherited |
Referenced by PresetCollection(), add_detached_preset(), append_preset(), clone_presets(), commit_user_preset(), first_visible_idx(), get_differed_values_to_update(), get_preset_differed_for_save(), get_project_embedded_presets(), get_selected_preset_parent(), load_external_preset(), load_preset(), load_presets(), load_project_embedded_presets(), load_user_preset(), merge_presets(), operator=(), reset_project_embedded_presets(), resolve_user_preset(), save_current_preset(), select_preset(), select_preset_by_name(), select_preset_by_name_strict(), set_custom_preset_alias(), sort_presets(), type(), update_after_user_presets_loaded(), and update_compatible_internal().
Referenced by set_sync_func().