mirror of
https://github.com/QIDITECH/QIDISlicer.git
synced 2026-01-30 15:38:43 +03:00
Add note of nozzle diameter
This commit is contained in:
@@ -2909,6 +2909,14 @@ void TabPrinter::build_extruder_pages(size_t n_before_extruders)
|
|||||||
|
|
||||||
auto optgroup = page->new_optgroup(L("Size"));
|
auto optgroup = page->new_optgroup(L("Size"));
|
||||||
optgroup->append_single_option_line("nozzle_diameter", "", extruder_idx);
|
optgroup->append_single_option_line("nozzle_diameter", "", extruder_idx);
|
||||||
|
//Y11
|
||||||
|
wxString description_line_text = _L("If you want to use other size nozzles, you need to modify the extrusion width and pressure advance.");
|
||||||
|
Line line = { "", "" };
|
||||||
|
line.full_width = 1;
|
||||||
|
line.widget = [this, description_line_text](wxWindow* parent) {
|
||||||
|
return description_line_widget(parent, &m_nozzle_diameter_description_line, description_line_text);
|
||||||
|
};
|
||||||
|
optgroup->append_line(line);
|
||||||
|
|
||||||
optgroup->m_on_change = [this, extruder_idx](const t_config_option_key&opt_key, boost::any value)
|
optgroup->m_on_change = [this, extruder_idx](const t_config_option_key&opt_key, boost::any value)
|
||||||
{
|
{
|
||||||
@@ -2987,7 +2995,7 @@ void TabPrinter::build_extruder_pages(size_t n_before_extruders)
|
|||||||
|
|
||||||
return sizer;
|
return sizer;
|
||||||
};
|
};
|
||||||
Line line = optgroup->create_single_option_line("extruder_colour", "", extruder_idx);
|
line = optgroup->create_single_option_line("extruder_colour", "", extruder_idx);
|
||||||
line.append_widget(reset_to_filament_color);
|
line.append_widget(reset_to_filament_color);
|
||||||
optgroup->append_line(line);
|
optgroup->append_line(line);
|
||||||
|
|
||||||
|
|||||||
@@ -489,6 +489,8 @@ private:
|
|||||||
bool m_rebuild_kinematics_page = false;
|
bool m_rebuild_kinematics_page = false;
|
||||||
ogStaticText* m_machine_limits_description_line {nullptr};
|
ogStaticText* m_machine_limits_description_line {nullptr};
|
||||||
void update_machine_limits_description(const MachineLimitsUsage usage);
|
void update_machine_limits_description(const MachineLimitsUsage usage);
|
||||||
|
//Y11
|
||||||
|
ogStaticText* m_nozzle_diameter_description_line {nullptr};
|
||||||
|
|
||||||
ogStaticText* m_fff_print_host_upload_description_line {nullptr};
|
ogStaticText* m_fff_print_host_upload_description_line {nullptr};
|
||||||
ogStaticText* m_sla_print_host_upload_description_line {nullptr};
|
ogStaticText* m_sla_print_host_upload_description_line {nullptr};
|
||||||
|
|||||||
Reference in New Issue
Block a user