447{
449
450 auto preset_panel_tips =
new Label(parent,
_L(
"A test model will be printed. Please clear the build plate and place it back to the hot bed before calibration."));
453 m_top_sizer->Add(preset_panel_tips, 0, wxEXPAND | wxLEFT | wxRIGHT, FromDIP(20));
454
456
457 auto info_sizer = new wxFlexGridSizer(0, 3, 0, FromDIP(10));
458 info_sizer->SetFlexibleDirection(wxBOTH);
459 info_sizer->SetNonFlexibleGrowMode(wxFLEX_GROWMODE_SPECIFIED);
460
461 auto nozzle_temp_sizer = new wxBoxSizer(wxVERTICAL);
462 auto nozzle_temp_text =
new Label(parent,
_L(
"Nozzle temperature"));
466 nozzle_temp_sizer->Add(nozzle_temp_text, 0, wxALIGN_LEFT);
468 nozzle_temp_text->Hide();
470
471 auto bed_temp_sizer = new wxBoxSizer(wxHORIZONTAL);
472 auto printing_param_text =
new Label(parent,
_L(
"Printing Parameters"));
475 bed_temp_sizer->Add(printing_param_text, 0, wxALIGN_CENTER | wxRIGHT, FromDIP(20));
476 auto bed_temp_text =
new Label(parent,
_L(
"Bed temperature"));
478
481 bed_temp_sizer->Add(bed_temp_text, 0, wxALIGN_CENTER | wxRIGHT, FromDIP(10));
482 bed_temp_sizer->Add(
m_bed_temp, 0, wxALIGN_CENTER);
483
484 auto max_flow_sizer = new wxBoxSizer(wxVERTICAL);
485 auto max_flow_text =
new Label(parent,
_L(
"Max volumetric speed"));
489 max_flow_sizer->Add(max_flow_text, 0, wxALIGN_LEFT);
491 max_flow_text->Hide();
493
494 m_nozzle_temp->GetTextCtrl()->Bind(wxEVT_SET_FOCUS, [](
auto&) {});
496
497 info_sizer->Add(nozzle_temp_sizer);
498 info_sizer->Add(bed_temp_sizer);
499 info_sizer->Add(max_flow_sizer);
500 m_top_sizer->Add(info_sizer, 0, wxEXPAND | wxLEFT | wxRIGHT, FromDIP(20));
501
503}
#define CALIBRATION_TEXT_MAX_LENGTH
Definition CalibrationWizardPage.hpp:40
#define CALIBRATION_FROM_TO_INPUT_SIZE
Definition CalibrationWizardPage.hpp:38
#define _L(s)
Definition OBJ.cpp:34
static wxFont Head_12
Definition Label.hpp:47
static wxFont Body_12
Definition Label.hpp:55
static wxFont Body_14
Definition Label.hpp:53
TextInput * m_nozzle_temp
Definition CalibrationWizardPresetPage.hpp:130
TextInput * m_max_volumetric_speed
Definition CalibrationWizardPresetPage.hpp:132
Label * m_bed_temp
Definition CalibrationWizardPresetPage.hpp:131