#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/Plater.hpp>
Classes | |
| struct | priv |
Public Types | |
| enum | DockingState { None , Left , Right } |
Static Public Member Functions | |
| static bool | should_show_SEMM_buttons () |
Private Member Functions | |
| void | update_sync_ams_btn_enable (wxUpdateUIEvent &e) |
| void | auto_calc_flushing_volumes_internal (const int filament_id, const int extruder_id) |
Private Attributes | |
| ConfigOptionMode | m_mode |
| ScalableButton * | ams_btn {nullptr} |
| bool | m_last_slice_state = false |
| SyncNozzleAndAmsDialog * | m_sna_dialog {nullptr} |
| FinishSyncAmsDialog * | m_fna_dialog {nullptr} |
| std::vector< BedType > | m_cur_combox_bed_types |
| std::string | m_cur_image_bed_type |
| int | m_last_combo_bedtype_count {0} |
| bool | m_begin_sync_printer_status {false} |
| SyncAmsInfoDialog * | m_sync_dlg {nullptr} |
| std::unique_ptr< priv > | p |
| wxBoxSizer * | m_scrolled_sizer = nullptr |
| bool | m_need_auto_sync_after_connect_printer {false} |
| Slic3r::GUI::Sidebar::Sidebar | ( | Plater * | parent | ) |
References _L, add_filament(), add_mixed_filament(), ams_btn, ScalableBitmap::bmp(), Label::Body_10, Label::Body_12, Label::Body_13, Compact, Confirm, Slic3r::GUI::SidebarProps::ContentMarginV(), create_scaled_bitmap(), StateColor::darkModeColorFor(), deal_btn_sync(), delete_filament(), delete_mixed_filament_at(), Slic3r::GUI::dynamic_filament_list, Slic3r::GUI::dynamic_physical_filament_list, Slic3r::GUI::SidebarProps::ElementSpacing(), em_unit(), Slic3r::GUI::FastMode, Slic3r::AppConfig::get(), get_cur_select_bed_image(), Slic3r::GUI::PurgeModeDialog::get_selected_mode(), Label::Head_14, Slic3r::GUI::SidebarProps::IconSpacing(), init_filament_combo(), is_flush_config_modified(), LB_PROPAGATE_MOUSE_EVENT, Slic3r::load_svg(), m_scrolled_sizer, Slic3r::GUI::manuallySetNozzleCount(), Slic3r::GUI::Plater::mixed_filament_config_indices(), Slic3r::GUI::MultiNozzle, Slic3r::GUI::ObjectList, on_enter_image_printer_bed(), on_leave_image_printer_bed(), open_flushing_dialog(), p, PRINTER_PANEL_RADIUS, PRINTER_PANEL_SIZE, PRINTER_THUMBNAIL_SIZE, Slic3r::GUI::Choice::register_dynamic_list(), remove_all_mixed_filaments(), reset_bed_type_combox_choices(), Slic3r::GUI::ConfigWizard::RR_USER, Slic3r::AppConfig::set(), set_flushing_volume_warning(), Slic3r::GUI::DPIAware< P >::ShowModal(), Slic3r::GUI::ConfigWizard::SP_FILAMENTS, Slic3r::GUI::ConfigWizard::SP_PRINTERS, sync_ams_list(), Slic3r::GUI::SidebarProps::TitlebarMargin(), Slic3r::Preset::TYPE_PRINTER, update_filaments_area_height(), update_filaments_counter(), update_sync_ams_btn_enable(), Slic3r::ConfigOptionSingle< T >::value, Slic3r::GUI::SidebarProps::WideSpacing(), Slic3r::GUI::wxMouseEvent, and wxStaticText.
Referenced by Sidebar(), Sidebar(), operator=(), and operator=().
|
delete |
|
delete |
| Slic3r::GUI::Sidebar::~Sidebar | ( | ) |
| void Slic3r::GUI::Sidebar::add_custom_filament | ( | wxColour | new_col, |
| const std::string & | preset_name = std::string(), | ||
| bool | skip_preset_validation = false ) |
References auto_calc_flushing_volumes(), is_new_project_in_gcode3mf(), MAXIMUM_EXTRUDER_NUMBER, p, Slic3r::GUI::plater(), and Slic3r::Preset::TYPE_PRINT.
Referenced by add_filament(), decompose_filament_color(), and Slic3r::GUI::Tab::on_value_change().
| void Slic3r::GUI::Sidebar::add_filament | ( | ) |
References add_custom_filament(), Slic3r::GUI::Plater::get_next_color_for_filament(), m_scrolled_sizer, MAXIMUM_EXTRUDER_NUMBER, and p.
Referenced by Sidebar().
| void Slic3r::GUI::Sidebar::add_mixed_filament | ( | ) |
References collect_physical_filament_info(), Slic3r::GUI::create_mixed_filament_from_result(), Slic3r::ExtruderMax, Slic3r::GUI::MixedFilamentDialog::get_result(), p, Slic3r::GUI::plater(), and Slic3r::GUI::DPIAware< P >::ShowModal().
Referenced by Sidebar().
| void Slic3r::GUI::Sidebar::auto_calc_flushing_volumes | ( | const int | filament_idx = -1, |
| const int | extruder_id = -1 ) |
Automatically calculates flushing volumes.
| filament_idx | Specifies the filament index to calculate. -1 indicates all filament indices. |
| extruder_id | Specifies the extruder id to calculate. -1 indicates all extruders indices. |
References auto_calc_flushing_volumes_internal(), is_flush_config_modified(), p, set_flushing_volume_warning(), and Slic3r::ConfigOptionVector< T >::size().
Referenced by add_custom_filament(), Slic3r::anonymous_namespace{PluginHostPresets.cpp}::bind_filament_target(), and sync_ams_list().
|
private |
References Slic3r::FlushVolCalculator::calc_flush_vol(), Slic3r::empty(), Slic3r::flush_multiplier(), Slic3r::g_flush_volume_to_support, Slic3r::g_max_flush_volume, Slic3r::g_min_flush_volume_from_support, Slic3r::get_flush_volumes_matrix(), Slic3r::GUI::get_min_flush_volumes(), Slic3r::GUI::is_support_filament(), and Slic3r::set_flush_volumes_matrix().
Referenced by auto_calc_flushing_volumes().
| std::map< int, DynamicPrintConfig > Slic3r::GUI::Sidebar::build_filament_ams_list | ( | MachineObject * | obj | ) |
Build a map of filament configurations from the connected printer's AMS (Automatic Material System).
This function reads pre-populated state from MachineObject - it does NOT directly call NetworkAgent APIs. The data pipeline is:
Printer Device (MQTT/LAN messages) ↓ NetworkAgent (receives JSON, triggers OnMessageFn callbacks) ↓ MachineObject::parse_json() (updates device state) ├── vt_slot (std::vector<DevAmsTray>) - virtual tray data for external filament └── DevFilaSystem → DevAms → DevAmsTray - AMS unit hierarchy ↓ build_filament_ams_list() [THIS FUNCTION] - aggregates into DynamicPrintConfig maps
Data Sources:
Return Value:
| obj | The MachineObject representing the connected printer (nullable) |
References Slic3r::MachineObject::ams_support_virtual_tray, Slic3r::DevAmsTray::color, Slic3r::DevAmsTray::cols, Slic3r::DevAmsTray::ctype, Slic3r::MachineObject::get_dev_id(), Slic3r::MachineObject::GetFilaSystem(), Slic3r::GUI::into_u8(), Slic3r::DevAmsTray::is_exists, Slic3r::DevAmsTray::is_slot_placeholder, Slic3r::DevAmsTray::m_fila_type, Slic3r::DynamicConfig::opt(), Slic3r::pull, Slic3r::DynamicConfig::set_key_value(), Slic3r::DevAmsTray::setting_id, Slic3r::DevAmsTray::tag_uid, and Slic3r::MachineObject::vt_slot.
Referenced by load_ams_list().
| void Slic3r::GUI::Sidebar::change_filament | ( | size_t | from_id, |
| size_t | to_id ) |
References _L, delete_filament(), and Slic3r::parse_mixed_components().
Referenced by sync_ams_list(), and update_mixed_filament_list().
| void Slic3r::GUI::Sidebar::change_top_border_for_mode_sizer | ( | bool | increase_border | ) |
| void Slic3r::GUI::Sidebar::clear_combos_filament_badge | ( | ) |
References combos_filament(), and p.
Referenced by sync_ams_list().
| void Slic3r::GUI::Sidebar::collapse | ( | bool | collapse | ) |
References collapse(), and p.
Referenced by collapse(), and get_eject_shown().
| void Slic3r::GUI::Sidebar::collect_physical_filament_info | ( | std::vector< std::string > & | color_strs, |
| std::vector< std::string > & | names, | ||
| std::vector< std::string > & | types, | ||
| std::vector< size_t > * | config_indices = nullptr ) |
References _L, Slic3r::Preset::config, Slic3r::DynamicPrintConfig::get_filament_type(), Slic3r::GUI::into_u8(), and p.
Referenced by add_mixed_filament(), decompose_filament_color(), edit_mixed_filament(), and ensure_mixed_filament().
| std::vector< PlaterPresetComboBox * > & Slic3r::GUI::Sidebar::combos_filament | ( | ) |
References p.
Referenced by Slic3r::anonymous_namespace{PluginHostPresets.cpp}::bind_filament_target(), clear_combos_filament_badge(), Slic3r::GUI::create_mixed_filament_from_result(), on_filament_count_change(), on_filaments_delete(), sync_ams_list(), and udpate_combos_filament_badge().
| void Slic3r::GUI::Sidebar::create_printer_preset | ( | ) |
References p, Slic3r::GUI::PRINTER, Slic3r::GUI::DPIAware< P >::ShowModal(), update_all_preset_comboboxes(), and update_ui_from_settings().
| void Slic3r::GUI::Sidebar::deal_btn_sync | ( | ) |
References m_begin_sync_printer_status, p, and pop_sync_nozzle_and_ams_dialog().
Referenced by Sidebar().
| void Slic3r::GUI::Sidebar::decompose_filament_color | ( | int | filament_idx | ) |
References add_custom_filament(), collect_physical_filament_info(), Slic3r::GUI::MixedFilamentResult::components, Slic3r::GUI::confirm_create_decompose_missing_components(), Slic3r::GUI::create_mixed_filament_from_result(), Slic3r::ExtruderMax, Slic3r::GUI::filament_type_for_color_decompose(), Slic3r::GUI::ColorDecomposeDialog::get_result(), Slic3r::GUI::kSidebarContextMenuFilamentId, p, Slic3r::GUI::prepare_decompose_mixed_result(), Slic3r::GUI::set_created_standard_component_metadata(), and Slic3r::GUI::DPIAware< P >::ShowModal().
| void Slic3r::GUI::Sidebar::delete_filament | ( | size_t | filament_id = size_t(-1), |
| int | replace_filament_id = -1 ) |
References is_new_project_in_gcode3mf(), m_scrolled_sizer, p, Slic3r::Preset::TYPE_FILAMENT, and Slic3r::Preset::TYPE_PRINT.
Referenced by Sidebar(), change_filament(), delete_mixed_filament_at(), and Slic3r::GUI::Tab::on_value_change().
| void Slic3r::GUI::Sidebar::delete_mixed_filament_at | ( | size_t | idx | ) |
References delete_filament(), and Slic3r::GUI::plater().
Referenced by Sidebar(), remove_all_mixed_filaments(), and update_mixed_filament_list().
| void Slic3r::GUI::Sidebar::edit_filament | ( | ) |
| void Slic3r::GUI::Sidebar::edit_mixed_filament | ( | size_t | idx | ) |
References Slic3r::GUI::blend_mixed_color(), collect_physical_filament_info(), Slic3r::GUI::MixedFilamentResult::components, Slic3r::GUI::MixedFilamentDialog::get_result(), Slic3r::GUI::MixedFilamentResult::gradient_curve, Slic3r::GUI::MixedFilamentResult::gradient_direction, Slic3r::GUI::MixedFilamentResult::gradient_enabled, Slic3r::parse_gradient_curve(), Slic3r::GUI::MixedFilamentResult::per_part_gradient, Slic3r::GUI::plater(), Slic3r::GUI::MixedFilamentResult::ratios, Slic3r::GUI::serialize_mixed_gradient_curve_if_custom(), Slic3r::GUI::DPIAware< P >::ShowModal(), Slic3r::ConfigOptionVector< T >::size(), update_dynamic_filament_list(), update_mixed_filament_list(), and Slic3r::ConfigOptionVector< T >::values.
Referenced by update_mixed_filament_list().
| void Slic3r::GUI::Sidebar::enable_buttons | ( | bool | enable | ) |
| void Slic3r::GUI::Sidebar::enable_nozzle_count_edit | ( | bool | enable | ) |
| void Slic3r::GUI::Sidebar::enable_purge_mode_btn | ( | bool | enable | ) |
| int Slic3r::GUI::Sidebar::ensure_mixed_filament | ( | const std::vector< unsigned int > & | components, |
| const std::vector< int > & | ratios ) |
References collect_physical_filament_info(), Slic3r::GUI::MixedFilamentResult::components, Slic3r::GUI::create_mixed_filament_from_result(), Slic3r::ExtruderMax, Slic3r::find_fixed_mixed_filament(), p, and Slic3r::GUI::MixedFilamentResult::ratios.
| wxPanel * Slic3r::GUI::Sidebar::filament_panel | ( | ) |
| void Slic3r::GUI::Sidebar::get_big_btn_sync_pos_size | ( | wxPoint & | pt, |
| wxSize & | size ) |
|
inline |
References m_cur_combox_bed_types.
| std::string Slic3r::GUI::Sidebar::get_cur_select_bed_image | ( | ) |
References Slic3r::GUI::bed_type_thumbnails, and get_cur_select_bed_type().
Referenced by Sidebar(), msw_rescale(), on_enter_image_printer_bed(), and update_presets().
| BedType Slic3r::GUI::Sidebar::get_cur_select_bed_type | ( | ) |
References m_cur_combox_bed_types, and p.
Referenced by get_cur_select_bed_image().
| bool Slic3r::GUI::Sidebar::get_eject_shown | ( | ) | const |
| std::string & Slic3r::GUI::Sidebar::get_search_line | ( | ) |
| Search::OptionsSearcher & Slic3r::GUI::Sidebar::get_searcher | ( | ) |
| int Slic3r::GUI::Sidebar::get_sidebar_pos_right_x | ( | ) |
| void Slic3r::GUI::Sidebar::get_small_btn_sync_pos_size | ( | wxPoint & | pt, |
| wxSize & | size ) |
References ams_btn.
Referenced by pop_finsish_sync_ams_dialog(), and pop_sync_nozzle_and_ams_dialog().
| wxButton * Slic3r::GUI::Sidebar::get_wiping_dialog_button | ( | ) |
| bool Slic3r::GUI::Sidebar::has_broken_mixed_filament | ( | ) | const |
References has_broken_mixed_filament(), and Slic3r::GUI::plater().
Referenced by has_broken_mixed_filament().
| bool Slic3r::GUI::Sidebar::has_broken_mixed_filament | ( | const PartPlate * | plate | ) | const |
References Slic3r::check_mixed_filament_integrity(), Slic3r::check_mixed_filament_type_consistency(), Slic3r::GUI::PartPlate::contain_instance_totally(), p, Slic3r::GUI::plater(), Slic3r::range(), and Slic3r::ConfigOptionVector< unsigned char >::values.
| void Slic3r::GUI::Sidebar::init_filament_combo | ( | PlaterPresetComboBox ** | combo, |
| const int | filament_idx ) |
References _L, Slic3r::GUI::SidebarProps::ContentMargin(), Slic3r::GUI::PlaterPresetComboBox::edit_btn, Slic3r::GUI::SidebarProps::ElementSpacing(), p, should_show_SEMM_buttons(), Slic3r::GUI::PlaterPresetComboBox::switch_to_tab(), and Slic3r::Preset::TYPE_FILAMENT.
Referenced by Sidebar(), and on_filament_count_change().
| bool Slic3r::GUI::Sidebar::is_collapsed | ( | ) |
| bool Slic3r::GUI::Sidebar::is_fila_switch_ready | ( | ) |
References p.
Referenced by Slic3r::GUI::Sidebar::priv::sync_extruder_list(), and Slic3r::GUI::Sidebar::priv::update_sync_status().
| bool Slic3r::GUI::Sidebar::is_multifilament | ( | ) |
| bool Slic3r::GUI::Sidebar::is_new_project_in_gcode3mf | ( | ) |
References _L, p, Slic3r::GUI::plater(), and Slic3r::GUI::DPIAware< P >::ShowModal().
Referenced by add_custom_filament(), and delete_filament().
| void Slic3r::GUI::Sidebar::jump_to_object | ( | ObjectDataViewModelNode * | item | ) |
| void Slic3r::GUI::Sidebar::jump_to_option | ( | const std::string & | opt_key, |
| Preset::Type | type, | ||
| const std::wstring & | category ) |
References Slic3r::Preset::TYPE_PRINT.
| void Slic3r::GUI::Sidebar::jump_to_option | ( | size_t | selected | ) |
References jump_to_option(), and p.
Referenced by jump_to_option().
| void Slic3r::GUI::Sidebar::load_ams_list | ( | MachineObject * | obj | ) |
References build_filament_ams_list(), Slic3r::MachineObject::get_dev_id(), and p.
| void Slic3r::GUI::Sidebar::msw_rescale | ( | ) |
References create_scaled_bitmap(), em_unit(), get_cur_select_bed_image(), is_flush_config_modified(), Slic3r::GUI::PlaterPresetComboBox::msw_rescale(), p, PRINTER_PANEL_RADIUS, PRINTER_PANEL_SIZE, PRINTER_THUMBNAIL_SIZE, set_flushing_volume_warning(), update_filaments_area_height(), and update_printer_thumbnail().
|
inline |
References m_need_auto_sync_after_connect_printer.
Referenced by Slic3r::GUI::MainFrame::update_layout().
| bool Slic3r::GUI::Sidebar::need_auto_sync_extruder_list_after_connect_priner | ( | const MachineObject * | obj | ) |
References Slic3r::PresetBundle::get_printer_extruder_count(), Slic3r::Preset::get_printer_type(), Slic3r::PresetCollection::get_selected_preset(), Slic3r::MachineObject::get_show_printer_type(), Slic3r::MachineObject::is_multi_extruders(), and Slic3r::PresetBundle::printers.
Referenced by Slic3r::GUI::MonitorPanel::on_machine_selected().
| ObjectLayers * Slic3r::GUI::Sidebar::obj_layers | ( | ) |
| ObjectList * Slic3r::GUI::Sidebar::obj_list | ( | ) |
References p.
Referenced by Slic3r::GUI::Plater::_calib_pa_pattern(), Slic3r::GUI::Plater::apply_cut_object_to_model(), Slic3r::GUI::Plater::decrease_instances(), Slic3r::GUI::Plater::increase_instances(), Slic3r::GUI::Plater::on_filament_count_change(), Slic3r::GUI::Plater::on_filaments_delete(), Slic3r::GUI::Plater::priv::on_select_preset(), Slic3r::GUI::Plater::priv::remove_curr_plate_all(), Slic3r::GUI::Plater::priv::select_all(), Slic3r::GUI::Plater::priv::select_curr_plate_all(), sync_ams_list(), sys_color_changed(), Slic3r::GUI::Plater::priv::take_snapshot(), Slic3r::GUI::Plater::priv::undo_redo_to(), update_mixed_filament_list(), and update_mode().
| ObjectSettings * Slic3r::GUI::Sidebar::obj_settings | ( | ) |
References p.
Referenced by Slic3r::GUI::ObjectList::update_settings_item_and_selection().
| ConfigOptionsGroup * Slic3r::GUI::Sidebar::og_freq_chng_params | ( | const bool | is_fff | ) |
| void Slic3r::GUI::Sidebar::on_bed_type_change | ( | BedType | bed_type | ) |
References m_cur_combox_bed_types, and p.
Referenced by Slic3r::GUI::Plater::on_bed_type_change().
| void Slic3r::GUI::Sidebar::on_change_color_mode | ( | bool | is_dark | ) |
References is_dark().
| void Slic3r::GUI::Sidebar::on_enter_image_printer_bed | ( | wxMouseEvent & | evt | ) |
References create_scaled_bitmap(), get_cur_select_bed_image(), p, and Slic3r::GUI::wxMouseEvent.
Referenced by Sidebar().
| void Slic3r::GUI::Sidebar::on_filament_count_change | ( | size_t | num_filaments | ) |
References combos_filament(), init_filament_combo(), p, recalc_filament_scroll_sizes(), remove_unused_filament_combos(), ComboBox::SetSelection(), show_SEMM_buttons(), Slic3r::GUI::PlaterPresetComboBox::update(), update_dynamic_filament_list(), update_filaments_area_height(), update_mixed_filament_list(), and update_ui_from_settings().
Referenced by Slic3r::GUI::Plater::on_filament_count_change().
| void Slic3r::GUI::Sidebar::on_filaments_delete | ( | size_t | filament_id | ) |
References combos_filament(), p, recalc_filament_scroll_sizes(), show_SEMM_buttons(), update_dynamic_filament_list(), update_filaments_area_height(), update_mixed_filament_list(), and update_ui_from_settings().
Referenced by Slic3r::GUI::Plater::on_filaments_delete().
| void Slic3r::GUI::Sidebar::on_full_screen | ( | IntEvent & | e | ) |
References m_fna_dialog, and m_sna_dialog.
| void Slic3r::GUI::Sidebar::on_leave_image_printer_bed | ( | wxMouseEvent & | evt | ) |
References p, and Slic3r::GUI::wxMouseEvent.
Referenced by Sidebar().
| void Slic3r::GUI::Sidebar::on_size | ( | SimpleEvent & | e | ) |
References m_fna_dialog, m_sna_dialog, pop_finsish_sync_ams_dialog(), and pop_sync_nozzle_and_ams_dialog().
References Sidebar(), is_dark(), and Slic3r::GUI::wxMouseEvent.
| void Slic3r::GUI::Sidebar::pop_finsish_sync_ams_dialog | ( | ) |
References Slic3r::GUI::FinishSyncAmsDialog::InputInfo::ams_btn_pos, Slic3r::GUI::FinishSyncAmsDialog::InputInfo::dialog_pos, get_small_btn_sync_pos_size(), m_fna_dialog, m_sna_dialog, and Slic3r::GUI::setup_dialog_position().
Referenced by on_size(), and sync_ams_list().
| void Slic3r::GUI::Sidebar::pop_sync_nozzle_and_ams_dialog | ( | ) |
References Slic3r::GUI::SyncNozzleAndAmsDialog::InputInfo::ams_btn_pos, Slic3r::GUI::SyncNozzleAndAmsDialog::InputInfo::dialog_pos, get_small_btn_sync_pos_size(), m_fna_dialog, m_sna_dialog, Slic3r::none, and Slic3r::GUI::setup_dialog_position().
Referenced by deal_btn_sync(), and on_size().
| wxPanel * Slic3r::GUI::Sidebar::print_panel | ( | ) |
| PlaterPresetComboBox * Slic3r::GUI::Sidebar::printer_combox | ( | ) |
| void Slic3r::GUI::Sidebar::recalc_filament_scroll_sizes | ( | ) |
References p.
Referenced by on_filament_count_change(), on_filaments_delete(), and update_mixed_filament_list().
| void Slic3r::GUI::Sidebar::remove_all_mixed_filaments | ( | ) |
References _L, _L_PLURAL, count, delete_mixed_filament_at(), Slic3r::GUI::format_wxstr(), Slic3r::GUI::plater(), and Slic3r::GUI::DPIAware< P >::ShowModal().
Referenced by Sidebar().
| void Slic3r::GUI::Sidebar::remove_unused_filament_combos | ( | const size_t | current_extruder_count | ) |
References p.
Referenced by on_filament_count_change().
| bool Slic3r::GUI::Sidebar::reset_bed_type_combox_choices | ( | bool | is_sidebar_init = false | ) |
References _L, Slic3r::btCount, Slic3r::ConfigOptionDef::enum_keys_map, Slic3r::ConfigOptionDef::enum_labels, m_cur_combox_bed_types, m_cur_image_bed_type, m_last_combo_bedtype_count, p, and Slic3r::print_config_def.
Referenced by Sidebar(), and update_all_preset_comboboxes().
| void Slic3r::GUI::Sidebar::reset_fila_switch | ( | ) |
| wxPanel * Slic3r::GUI::Sidebar::scrolled_panel | ( | ) |
| void Slic3r::GUI::Sidebar::set_bed_type_accord_combox | ( | BedType | bed_type | ) |
References m_cur_combox_bed_types, and p.
Referenced by update_all_preset_comboboxes().
| void Slic3r::GUI::Sidebar::set_btn_label | ( | const ActionButtonType | btn_type, |
| const wxString & | label ) const |
References Slic3r::GUI::abExport, Slic3r::GUI::abReslice, Slic3r::GUI::abSendGCode, and p.
| void Slic3r::GUI::Sidebar::set_extruder_nozzle_count | ( | int | extruder_id, |
| int | nozzle_count ) |
| void Slic3r::GUI::Sidebar::set_flushing_volume_warning | ( | const bool | flushing_volume_modify | ) |
References Compact, Confirm, p, and Regular.
Referenced by Sidebar(), auto_calc_flushing_volumes(), Slic3r::GUI::Plater::load_project(), msw_rescale(), and sys_color_changed().
|
inline |
References m_need_auto_sync_after_connect_printer.
Referenced by Slic3r::GUI::MonitorPanel::on_machine_selected(), and Slic3r::GUI::MainFrame::update_layout().
| Search::SettingsIndex & Slic3r::GUI::Sidebar::settings_index | ( | ) |
|
static |
References Slic3r::Preset::config, Slic3r::PresetCollection::get_edited_preset(), Slic3r::PresetBundle::is_bbl_vendor(), Slic3r::DynamicConfig::opt_bool(), and Slic3r::PresetBundle::printers.
Referenced by Slic3r::GUI::MenuFactory::create_filament_action_menu(), init_filament_combo(), Slic3r::GUI::GLCanvas3D::is_flushing_matrix_error(), and show_SEMM_buttons().
| bool Slic3r::GUI::Sidebar::show_eject | ( | bool | show | ) | const |
| bool Slic3r::GUI::Sidebar::show_export | ( | bool | show | ) | const |
| bool Slic3r::GUI::Sidebar::show_export_removable | ( | bool | show | ) | const |
| void Slic3r::GUI::Sidebar::show_mode_sizer | ( | bool | show | ) |
| bool Slic3r::GUI::Sidebar::show_object_list | ( | bool | show | ) | const |
| bool Slic3r::GUI::Sidebar::show_reslice | ( | bool | show | ) | const |
| void Slic3r::GUI::Sidebar::show_SEMM_buttons | ( | ) |
References p, and should_show_SEMM_buttons().
Referenced by on_filament_count_change(), on_filaments_delete(), and update_all_preset_comboboxes().
| bool Slic3r::GUI::Sidebar::show_send | ( | bool | show | ) | const |
| void Slic3r::GUI::Sidebar::sync_ams_list | ( | bool | is_from_big_sync_btn = false | ) |
References _L, auto_calc_flushing_volumes(), Slic3r::GUI::SyncAmsInfoDialog::SyncInfo::cancel_text_to_later, change_filament(), clear_combos_filament_badge(), combos_filament(), Slic3r::GUI::Plater::EMPTY_FILAMENT, Slic3r::Preset::filament_id, Slic3r::filament_type(), Slic3r::GUI::from_u8(), Slic3r::MergeFilamentInfo::is_empty(), Slic3r::GUI::is_support_filament(), m_sync_dlg, Slic3r::MergeFilamentInfo::merges, Slic3r::GUI::Plater::NOT_CONNECTED, obj_list(), Slic3r::ConfigBase::option(), p, Slic3r::GUI::plater(), pop_finsish_sync_ams_dialog(), Slic3r::GUI::DPIAware< P >::ShowModal(), Slic3r::Preset::TYPE_FILAMENT, Slic3r::GUI::Plater::UNINSTALL_FILAMENT, UNKNOWN_FILAMENT_ID, update_dynamic_filament_list(), Slic3r::GUI::ObjectList::update_filament_colors(), update_filaments_area_height(), Slic3r::GUI::SyncAmsInfoDialog::SyncInfo::use_dialog_pos, and Slic3r::ConfigOptionVector< T >::values.
Referenced by Sidebar().
| bool Slic3r::GUI::Sidebar::sync_extruder_list | ( | ) |
References p.
Referenced by Slic3r::GUI::MainFrame::update_layout().
| void Slic3r::GUI::Sidebar::sys_color_changed | ( | ) |
References is_flush_config_modified(), obj_layers(), obj_list(), p, PRINTER_THUMBNAIL_SIZE, set_flushing_volume_warning(), Slic3r::GUI::ObjectLayers::sys_color_changed(), Slic3r::GUI::ObjectList::sys_color_changed(), Slic3r::GUI::PlaterPresetComboBox::sys_color_changed(), and update_mixed_filament_list().
| void Slic3r::GUI::Sidebar::udpate_combos_filament_badge | ( | ) |
References combos_filament(), and p.
| void Slic3r::GUI::Sidebar::update_all_preset_comboboxes | ( | ) |
References _L, Slic3r::btCount, Slic3r::Preset::config, Slic3r::GUI::MainFrame::eExportGcode, Slic3r::GUI::MainFrame::eExportSlicedFile, Slic3r::GUI::MainFrame::ePrintPlate, Slic3r::GUI::MainFrame::eSendGcode, Slic3r::GUI::file_url_from_path(), Slic3r::GUI::from_u8(), Slic3r::Preset::get_default_bed_type(), Slic3r::PresetCollection::get_edited_preset(), Slic3r::PrintHost::get_print_host_webui(), Slic3r::PresetCollection::get_selected_preset_name(), Slic3r::htSimplyPrint, Slic3r::PresetBundle::is_bbl_vendor(), m_begin_sync_printer_status, Slic3r::none, p, Slic3r::Preset::printer_technology(), Slic3r::PresetBundle::printers, Slic3r::ptFFF, reset_bed_type_combox_choices(), Slic3r::resources_dir(), set_bed_type_accord_combox(), show_SEMM_buttons(), Slic3r::GUI::PlaterPresetComboBox::update(), update_printer_thumbnail(), Slic3r::PresetBundle::use_bbl_device_tab(), and Slic3r::PresetBundle::use_bbl_network().
Referenced by create_printer_preset(), Slic3r::GUI::Plater::normalize_bed_types(), and update_presets().
| void Slic3r::GUI::Sidebar::update_dynamic_filament_list | ( | ) |
References Slic3r::GUI::dynamic_filament_list, and Slic3r::GUI::dynamic_physical_filament_list.
Referenced by Slic3r::anonymous_namespace{PluginHostPresets.cpp}::bind_filament_target(), edit_mixed_filament(), on_filament_count_change(), on_filaments_delete(), sync_ams_list(), and update_presets().
| void Slic3r::GUI::Sidebar::update_filaments_area_height | ( | ) |
References p, and update_filaments_counter().
Referenced by Sidebar(), msw_rescale(), on_filament_count_change(), on_filaments_delete(), and sync_ams_list().
| void Slic3r::GUI::Sidebar::update_filaments_counter | ( | bool | force_layout = false | ) |
References m_scrolled_sizer, and p.
Referenced by Sidebar(), and update_filaments_area_height().
| void Slic3r::GUI::Sidebar::update_mixed_filament_list | ( | ) |
References _L, _u8L, Slic3r::GUI::BBLMixedFilamentBroken, Slic3r::GUI::blend_mixed_color(), Label::Body_13, Label::Body_14, change_filament(), Slic3r::check_mixed_filament_integrity(), Slic3r::check_mixed_filament_type_consistency(), Slic3r::GUI::SidebarProps::ContentMargin(), StateColor::darkModeColorFor(), delete_mixed_filament_at(), edit_mixed_filament(), Slic3r::GUI::MainFrame::eEventObjectUpdate, Slic3r::GUI::SidebarProps::ElementSpacing(), Slic3r::ConfigOptionVector< T >::empty(), Slic3r::GUI::NotificationManager::ErrorNotificationLevel, Slic3r::ExtruderMax, Slic3r::GUI::fill_gradient_ramp_rect(), Slic3r::GUI::from_u8(), get_extruder_color_icons(), is_dark(), Slic3r::GUI::GLCanvas3D::is_initialized(), m_scrolled_sizer, Slic3r::GUI::mixed_gradient_ramp(), obj_list(), p, Slic3r::GUI::plater(), Slic3r::range(), recalc_filament_scroll_sizes(), Slic3r::GUI::sep, Slic3r::ConfigOptionVector< T >::size(), Slic3r::ConfigOptionVector< unsigned char >::size(), Slic3r::GUI::ObjectList::update_filament_colors(), Slic3r::GUI::ObjectList::update_objects_list_filament_column(), Slic3r::ConfigOptionVector< T >::values, Slic3r::ConfigOptionVector< unsigned char >::values, and Slic3r::GUI::wxMouseEvent.
Referenced by Slic3r::GUI::create_mixed_filament_from_result(), edit_mixed_filament(), on_filament_count_change(), on_filaments_delete(), and sys_color_changed().
| void Slic3r::GUI::Sidebar::update_mode | ( | ) |
References m_mode, obj_list(), Slic3r::GUI::ObjectList::unselect_objects(), update_searcher(), and Slic3r::GUI::ObjectList::update_selections().
| void Slic3r::GUI::Sidebar::update_presets | ( | Slic3r::Preset::Type | preset_type | ) |
References _L, ComboBox::Append(), Slic3r::Preset::config, create_scaled_bitmap(), Slic3r::DynamicPrintConfig::def(), DEPUTY_EXTRUDER_ID, Slic3r::ConfigOptionVector< int >::empty(), Slic3r::extruder_max_nozzle_count(), Slic3r::PresetBundle::filaments, Slic3r::PresetCollection::find_preset(), Slic3r::ConfigDef::get(), Slic3r::GUI::Tab::get_combo_box(), get_cur_select_bed_image(), Slic3r::GUI::get_diameter_string(), Slic3r::PresetCollection::get_edited_preset(), Slic3r::Preset::get_printer_type(), Slic3r::PresetCollection::get_selected_preset_name(), Slic3r::DevPrinterConfigUtil::get_toolhead_display_name(), ComboBox::GetCount(), Slic3r::PresetBundle::is_bbl_vendor(), Slic3r::Preset::is_compatible, Slic3r::GUI::is_skip_high_flow_printer(), MAIN_EXTRUDER_ID, Slic3r::ConfigOptionIntsTempl< true >::nil_value(), Slic3r::Nozzle, Slic3r::nozzle_diameter(), Slic3r::nozzle_type(), Slic3r::ntBrass, Slic3r::ntHardenedSteel, Slic3r::ntStainlessSteel, Slic3r::ntTungstenCarbide, Slic3r::nvtE3DHighFlow, Slic3r::nvtHighFlow, Slic3r::nvtHybrid, Slic3r::GUI::Tab::on_preset_loaded(), Slic3r::DynamicConfig::opt_string(), Slic3r::ConfigBase::option(), p, Slic3r::GUI::plater(), Slic3r::Preset::printer_technology(), PRINTER_THUMBNAIL_SIZE, Slic3r::PresetBundle::printers, Slic3r::psI3, Slic3r::ptFFF, Slic3r::PresetBundle::set_filament_preset(), ComboBox::SetSelection(), Slic3r::ConfigOptionVector< int >::size(), Slic3r::PresetBundle::support_different_extruders(), Slic3r::TitleCase, Slic3r::Preset::TYPE_FILAMENT, Slic3r::Preset::TYPE_PRINT, Slic3r::Preset::TYPE_PRINTER, Slic3r::Preset::TYPE_SLA_MATERIAL, Slic3r::Preset::TYPE_SLA_PRINT, Slic3r::GUI::Tab::update(), Slic3r::GUI::TabPresetComboBox::update(), update_all_preset_comboboxes(), update_dynamic_filament_list(), Slic3r::GUI::AMSCountPopupWindow::UpdateAMSCount(), Slic3r::PresetBundle::use_bbl_network(), and Slic3r::ConfigOptionVector< int >::values.
Referenced by Slic3r::GUI::TabPrinter::build_unregular_pages(), and Slic3r::GUI::Plater::load_gcode().
| void Slic3r::GUI::Sidebar::update_presets_from_to | ( | Slic3r::Preset::Type | preset_type, |
| std::string | from, | ||
| std::string | to ) |
References Slic3r::PresetBundle::filament_presets, p, and Slic3r::Preset::TYPE_FILAMENT.
| void Slic3r::GUI::Sidebar::update_printer_thumbnail | ( | ) |
References Slic3r::Preset::config, create_scaled_bitmap(), Slic3r::Preset::get_current_printer_type(), Slic3r::DynamicConfig::opt_string(), p, PRINTER_THUMBNAIL_SIZE, Slic3r::GUI::printer_thumbnails, and Slic3r::resources_dir().
Referenced by msw_rescale(), and update_all_preset_comboboxes().
| void Slic3r::GUI::Sidebar::update_searcher | ( | ) |
References Slic3r::GUI::get_search_inputs(), m_mode, and p.
Referenced by update_mode().
|
private |
References ams_btn, m_last_slice_state, and p.
Referenced by Sidebar().
| void Slic3r::GUI::Sidebar::update_sync_status | ( | const MachineObject * | obj | ) |
References p.
Referenced by Slic3r::GUI::MonitorPanel::on_machine_selected().
| void Slic3r::GUI::Sidebar::update_ui_from_settings | ( | ) |
References p.
Referenced by create_printer_preset(), on_filament_count_change(), and on_filaments_delete().
|
private |
Referenced by Sidebar(), get_small_btn_sync_pos_size(), and update_sync_ams_btn_enable().
|
private |
Referenced by deal_btn_sync(), and update_all_preset_comboboxes().
|
private |
|
private |
Referenced by reset_bed_type_combox_choices().
|
private |
Referenced by on_full_screen(), on_size(), pop_finsish_sync_ams_dialog(), and pop_sync_nozzle_and_ams_dialog().
|
private |
Referenced by reset_bed_type_combox_choices().
|
private |
Referenced by update_sync_ams_btn_enable().
|
private |
Referenced by update_mode(), and update_searcher().
|
private |
Referenced by need_auto_sync_after_connect_printer(), and set_need_auto_sync_after_connect_printer().
|
private |
Referenced by Sidebar(), add_filament(), delete_filament(), update_filaments_counter(), and update_mixed_filament_list().
|
private |
Referenced by on_full_screen(), on_size(), pop_finsish_sync_ams_dialog(), and pop_sync_nozzle_and_ams_dialog().
|
private |
Referenced by sync_ams_list().
|
private |
Referenced by Sidebar(), add_custom_filament(), add_filament(), add_mixed_filament(), auto_calc_flushing_volumes(), can_search(), change_top_border_for_mode_sizer(), clear_combos_filament_badge(), collapse(), collect_physical_filament_info(), combos_filament(), create_printer_preset(), deal_btn_sync(), decompose_filament_color(), delete_filament(), edit_filament(), enable_buttons(), enable_nozzle_count_edit(), enable_purge_mode_btn(), ensure_mixed_filament(), filament_panel(), finish_param_edit(), get_big_btn_sync_pos_size(), get_cur_select_bed_type(), get_search_line(), get_searcher(), get_wiping_dialog_button(), has_broken_mixed_filament(), init_filament_combo(), is_collapsed(), is_fila_switch_ready(), is_multifilament(), is_new_project_in_gcode3mf(), jump_to_object(), jump_to_option(), load_ams_list(), msw_rescale(), obj_layers(), obj_list(), obj_settings(), og_freq_chng_params(), on_bed_type_change(), on_enter_image_printer_bed(), on_filament_count_change(), on_filaments_delete(), on_leave_image_printer_bed(), print_panel(), printer_combox(), recalc_filament_scroll_sizes(), remove_unused_filament_combos(), reset_bed_type_combox_choices(), reset_fila_switch(), scrolled_panel(), search(), set_bed_type_accord_combox(), set_btn_label(), set_extruder_nozzle_count(), set_flushing_volume_warning(), settings_index(), show_export(), show_export_removable(), show_object_list(), show_reslice(), show_SEMM_buttons(), show_send(), sync_ams_list(), sync_extruder_list(), sys_color_changed(), udpate_combos_filament_badge(), update_all_preset_comboboxes(), update_filaments_area_height(), update_filaments_counter(), update_mixed_filament_list(), update_presets(), update_presets_from_to(), update_printer_thumbnail(), update_searcher(), update_sync_ams_btn_enable(), update_sync_status(), and update_ui_from_settings().