OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::GUI::CalibrationFlowCoarseSavePage Class Reference

#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/CalibrationWizardSavePage.hpp>

Inheritance diagram for Slic3r::GUI::CalibrationFlowCoarseSavePage:
Collaboration diagram for Slic3r::GUI::CalibrationFlowCoarseSavePage:

Public Member Functions

 CalibrationFlowCoarseSavePage (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL)
void create_page (wxWindow *parent)
void set_save_img ()
void set_default_options (const wxString &name)
bool is_skip_fine_calibration ()
void set_curr_flow_ratio (float value)
bool get_result (float *out_value, wxString *out_name)
virtual bool Show (bool show=true) override
void update_print_error_info (int code, const std::string &msg, const std::string &extra)
void on_cali_start_job ()
void on_cali_finished_job ()
void on_cali_cancel_job ()
std::shared_ptr< ProgressIndicator > get_sending_progress_bar ()
void msw_rescale () override
CaliPageType get_page_type ()
CalibrationWizardPage * get_prev_page ()
CalibrationWizardPage * get_next_page ()
void set_prev_page (CalibrationWizardPage *prev)
void set_next_page (CalibrationWizardPage *next)
CalibrationWizardPage * chain (CalibrationWizardPage *next)
virtual void update (MachineObject *obj)
virtual void on_device_connected (MachineObject *obj)
virtual void on_reset_page ()
virtual void set_cali_filament_mode (CalibrationFilamentMode mode)
virtual void set_cali_method (CalibrationMethod method)
virtual void on_sys_color_changed ()

Protected Attributes

CaliPageStepGuide * m_step_panel { nullptr }
CaliPagePicture * m_picture_panel
ComboBox * m_optimal_block_coarse
TextInput * m_save_name_input
Label * m_coarse_calc_result_text
CheckBox * m_checkBox_skip_calibration
bool m_skip_fine_calibration = false
float m_curr_flow_ratio
float m_coarse_flow_ratio
CaliPageSendingPanel * m_sending_panel { nullptr }
wxBoxSizer * m_top_sizer
CalibMode m_cali_mode
CaliPageType m_page_type
CalibrationFilamentMode m_cali_filament_mode
CalibrationMethod m_cali_method { CalibrationMethod::CALI_METHOD_MANUAL }
MachineObject * curr_obj { nullptr }
wxWindow * m_parent { nullptr }
CaliPageCaption * m_page_caption { nullptr }
CaliPageActionPanel * m_action_panel { nullptr }
Label * m_statictext_printer_msg { nullptr }

Private Attributes

CalibrationWizardPage * m_prev_page {nullptr}
CalibrationWizardPage * m_next_page {nullptr}

Detailed Description

Constructor & Destructor Documentation

◆ CalibrationFlowCoarseSavePage()

Slic3r::GUI::CalibrationFlowCoarseSavePage::CalibrationFlowCoarseSavePage ( wxWindow * parent,
wxWindowID id = wxID_ANY,
const wxPoint & pos = wxDefaultPosition,
const wxSize & size = wxDefaultSize,
long style = wxTAB_TRAVERSAL )
1631 : CalibrationCommonSavePage(parent, id, pos, size, style)
1632{
1633 SetBackgroundColour(*wxWHITE);
1634
1636
1638
1639 m_top_sizer = new wxBoxSizer(wxVERTICAL);
1640
1641 create_page(this);
1642
1643 this->SetSizer(m_top_sizer);
1644 m_top_sizer->Fit(this);
1645}
#define style
Definition WipeTowerDialog.cpp:101
wxBoxSizer * m_top_sizer
Definition CalibrationWizardSavePage.hpp:39
CalibrationCommonSavePage(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL)
Definition CalibrationWizardSavePage.cpp:116
void create_page(wxWindow *parent)
Definition CalibrationWizardSavePage.cpp:1647
CaliPageType m_page_type
Definition CalibrationWizardPage.hpp:338
CalibMode m_cali_mode
Definition CalibrationWizardPage.hpp:337
@ CALI_PAGE_COARSE_SAVE
Definition CalibrationWizardPage.hpp:85
@ Calib_Flow_Rate
Definition calib.hpp:29

References Slic3r::GUI::CalibrationCommonSavePage::CalibrationCommonSavePage(), Slic3r::GUI::CALI_PAGE_COARSE_SAVE, Slic3r::Calib_Flow_Rate, create_page(), Slic3r::GUI::CalibrationWizardPage::m_cali_mode, Slic3r::GUI::CalibrationWizardPage::m_page_type, Slic3r::GUI::CalibrationCommonSavePage::m_top_sizer, and style.

Here is the call graph for this function:

Member Function Documentation

◆ chain()

CalibrationWizardPage * Slic3r::GUI::CalibrationWizardPage::chain ( CalibrationWizardPage * next)
inlineinherited
313 {
314 set_next_page(next);
315 next->set_prev_page(this);
316 return next;
317 }
void set_next_page(CalibrationWizardPage *next)
Definition CalibrationWizardPage.hpp:311

References CalibrationWizardPage(), set_next_page(), and set_prev_page().

Here is the call graph for this function:

◆ create_page()

void Slic3r::GUI::CalibrationFlowCoarseSavePage::create_page ( wxWindow * parent)
1648{
1649 m_page_caption = new CaliPageCaption(parent, m_cali_mode);
1650 m_page_caption->show_prev_btn(true);
1651 m_top_sizer->Add(m_page_caption, 0, wxEXPAND, 0);
1652
1653 wxArrayString steps;
1654 steps.Add(_L("Preset"));
1655 steps.Add(_L("Calibration1"));
1656 steps.Add(_L("Calibration2"));
1657 steps.Add(_L("Record Factor"));
1658 m_step_panel = new CaliPageStepGuide(parent, steps);
1659 m_step_panel->set_steps(1);
1660 m_top_sizer->Add(m_step_panel, 0, wxEXPAND, 0);
1661
1662 auto complete_text = new Label(parent, _L("Please find the best object on your plate"));
1663 complete_text->SetFont(Label::Head_14);
1664 complete_text->Wrap(-1);
1665 m_top_sizer->Add(complete_text, 0, wxEXPAND, 0);
1666 m_top_sizer->AddSpacer(FromDIP(20));
1667
1668 m_picture_panel = new CaliPagePicture(parent);
1669 set_save_img();
1670 m_top_sizer->Add(m_picture_panel, 0, wxEXPAND, 0);
1671
1672 m_top_sizer->AddSpacer(FromDIP(20));
1673
1674 auto coarse_value_sizer = new wxBoxSizer(wxVERTICAL);
1675 auto coarse_value_text = new Label(parent, _L("Fill in the value above the block with smoothest top surface"));
1676 coarse_value_text->SetFont(Label::Head_14);
1677 coarse_value_text->Wrap(-1);
1678 m_optimal_block_coarse = new ComboBox(parent, wxID_ANY, "", wxDefaultPosition, CALIBRATION_OPTIMAL_INPUT_SIZE, 0, nullptr, wxCB_READONLY);
1679 wxArrayString coarse_block_items;
1680 for (int i = 0; i < 9; i++) {
1681 coarse_block_items.Add(std::to_string(-20 + (i * 5)));
1682 }
1683 m_optimal_block_coarse->Set(coarse_block_items);
1684 m_coarse_calc_result_text = new Label(parent, "");
1685 coarse_value_sizer->Add(coarse_value_text, 0, 0);
1686 coarse_value_sizer->Add(m_optimal_block_coarse, 0, 0);
1687 coarse_value_sizer->Add(m_coarse_calc_result_text, 0);
1688 m_top_sizer->Add(coarse_value_sizer, 0, 0, 0);
1689 m_top_sizer->AddSpacer(FromDIP(20));
1690
1691 auto checkBox_panel = new wxPanel(parent);
1692 checkBox_panel->SetBackgroundColour(*wxWHITE);
1693 auto cb_sizer = new wxBoxSizer(wxHORIZONTAL);
1694 checkBox_panel->SetSizer(cb_sizer);
1695 m_checkBox_skip_calibration = new CheckBox(checkBox_panel);
1696 cb_sizer->Add(m_checkBox_skip_calibration);
1697
1698 auto cb_text = new Label(checkBox_panel, _L("Skip Calibration2"));
1699 cb_sizer->Add(cb_text);
1700 cb_text->Bind(wxEVT_LEFT_DOWN, [this](auto&) {
1702 wxCommandEvent event(wxEVT_TOGGLEBUTTON);
1703 event.SetEventObject(m_checkBox_skip_calibration);
1704 m_checkBox_skip_calibration->GetEventHandler()->ProcessEvent(event);
1705 });
1706
1707 m_top_sizer->Add(checkBox_panel, 0, 0, 0);
1708
1709 auto save_panel = new wxPanel(parent);
1710 save_panel->SetBackgroundColour(*wxWHITE);
1711 auto save_sizer = new wxBoxSizer(wxVERTICAL);
1712 save_panel->SetSizer(save_sizer);
1713
1714 auto save_text = new Label(save_panel, _L("Save to Filament Preset"));
1715 save_text->Wrap(-1);
1716 save_text->SetFont(Label::Head_14);
1717 save_sizer->Add(save_text, 0, 0, 0);
1718
1719 m_save_name_input = new TextInput(save_panel, "", "", "", wxDefaultPosition, {CALIBRATION_TEXT_MAX_LENGTH, FromDIP(24)}, 0);
1720 save_sizer->Add(m_save_name_input, 0, 0, 0);
1721
1722 m_top_sizer->Add(save_panel, 0, 0, 0);
1723 save_panel->Hide();
1724
1725 m_top_sizer->AddSpacer(FromDIP(20));
1726
1727 m_checkBox_skip_calibration->Bind(wxEVT_TOGGLEBUTTON, [this, save_panel](wxCommandEvent &e) {
1728 if (m_checkBox_skip_calibration->GetValue()) {
1730 save_panel->Show();
1733 }
1734 else {
1736 save_panel->Hide();
1739 }
1740 Layout();
1741 Fit();
1742 e.Skip();
1743 });
1744
1745 m_optimal_block_coarse->Bind(wxEVT_COMBOBOX, [this](auto& e) {
1746 m_coarse_flow_ratio = m_curr_flow_ratio * (100.0f + stof(m_optimal_block_coarse->GetValue().ToStdString())) / 100.0f;
1747 m_coarse_calc_result_text->SetLabel(wxString::Format(_L("flow ratio : %s "), std::to_string(m_coarse_flow_ratio)));
1748 });
1749
1750 m_sending_panel = new CaliPageSendingPanel(parent);
1751 m_sending_panel->get_sending_progress_bar()->set_cancel_callback_fina([this]() {
1753 });
1754 m_sending_panel->Hide();
1755 m_top_sizer->Add(m_sending_panel, 0, wxALIGN_CENTER);
1756
1757 m_action_panel = new CaliPageActionPanel(parent, m_cali_mode, CaliPageType::CALI_PAGE_COARSE_SAVE);
1759 m_top_sizer->Add(m_action_panel, 0, wxEXPAND, 0);
1760}
#define CALIBRATION_TEXT_MAX_LENGTH
Definition CalibrationWizardPage.hpp:40
#define CALIBRATION_OPTIMAL_INPUT_SIZE
Definition CalibrationWizardPage.hpp:37
#define _L(s)
Definition OBJ.cpp:34
static wxFont Head_14
Definition Label.hpp:45
CaliPagePicture * m_picture_panel
Definition CalibrationWizardSavePage.hpp:292
CaliPageSendingPanel * m_sending_panel
Definition CalibrationWizardSavePage.hpp:303
void set_save_img()
Definition CalibrationWizardSavePage.cpp:1762
CheckBox * m_checkBox_skip_calibration
Definition CalibrationWizardSavePage.hpp:297
ComboBox * m_optimal_block_coarse
Definition CalibrationWizardSavePage.hpp:293
bool m_skip_fine_calibration
Definition CalibrationWizardSavePage.hpp:299
Label * m_coarse_calc_result_text
Definition CalibrationWizardSavePage.hpp:296
TextInput * m_save_name_input
Definition CalibrationWizardSavePage.hpp:294
void on_cali_cancel_job()
Definition CalibrationWizardSavePage.cpp:1843
CaliPageStepGuide * m_step_panel
Definition CalibrationWizardSavePage.hpp:291
float m_curr_flow_ratio
Definition CalibrationWizardSavePage.hpp:300
float m_coarse_flow_ratio
Definition CalibrationWizardSavePage.hpp:301
CaliPageActionPanel * m_action_panel
Definition CalibrationWizardPage.hpp:345
CaliPageCaption * m_page_caption
Definition CalibrationWizardPage.hpp:344
@ CALI_ACTION_FLOW_COARSE_SAVE
Definition CalibrationWizardPage.hpp:235
@ CALI_ACTION_FLOW_CALI_STAGE_2
Definition CalibrationWizardPage.hpp:228

References _L, Slic3r::GUI::CALI_ACTION_FLOW_CALI_STAGE_2, Slic3r::GUI::CALI_ACTION_FLOW_COARSE_SAVE, Slic3r::GUI::CALI_PAGE_COARSE_SAVE, CALIBRATION_OPTIMAL_INPUT_SIZE, CALIBRATION_TEXT_MAX_LENGTH, Label::Head_14, Slic3r::GUI::CalibrationWizardPage::m_action_panel, Slic3r::GUI::CalibrationWizardPage::m_cali_mode, m_checkBox_skip_calibration, m_coarse_calc_result_text, m_coarse_flow_ratio, m_curr_flow_ratio, m_optimal_block_coarse, Slic3r::GUI::CalibrationWizardPage::m_page_caption, m_picture_panel, m_save_name_input, m_sending_panel, m_skip_fine_calibration, m_step_panel, Slic3r::GUI::CalibrationCommonSavePage::m_top_sizer, on_cali_cancel_job(), and set_save_img().

Referenced by CalibrationFlowCoarseSavePage().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_next_page()

CalibrationWizardPage * Slic3r::GUI::CalibrationWizardPage::get_next_page ( )
inlineinherited
309{ return m_next_page; }
CalibrationWizardPage * m_next_page
Definition CalibrationWizardPage.hpp:350

References CalibrationWizardPage(), and m_next_page.

Here is the call graph for this function:

◆ get_page_type()

CaliPageType Slic3r::GUI::CalibrationWizardPage::get_page_type ( )
inlineinherited
306{ return m_page_type; }

References m_page_type.

Referenced by Slic3r::GUI::CalibrationWizard::on_cali_go_home().

Here is the caller graph for this function:

◆ get_prev_page()

CalibrationWizardPage * Slic3r::GUI::CalibrationWizardPage::get_prev_page ( )
inlineinherited
308{ return m_prev_page; }
CalibrationWizardPage * m_prev_page
Definition CalibrationWizardPage.hpp:349

References CalibrationWizardPage(), and m_prev_page.

Here is the call graph for this function:

◆ get_result()

bool Slic3r::GUI::CalibrationFlowCoarseSavePage::get_result ( float * out_value,
wxString * out_name )
1789 {
1790 // Check if the value is valid
1792 MessageDialog msg_dlg(nullptr, _L("Please choose a block with smoothest top surface."), wxEmptyString, wxICON_WARNING | wxOK);
1793 msg_dlg.ShowModal();
1794 return false;
1795 }
1796 if (m_save_name_input->GetTextCtrl()->GetValue().IsEmpty()) {
1797 MessageDialog msg_dlg(nullptr, _L("Please enter the name of the preset you want to save."), wxEmptyString, wxICON_WARNING | wxOK);
1798 msg_dlg.ShowModal();
1799 return false;
1800 }
1801 *out_value = m_coarse_flow_ratio;
1802 *out_name = m_save_name_input->GetTextCtrl()->GetValue();
1803 return true;
1804}

References _L, m_coarse_flow_ratio, m_optimal_block_coarse, m_save_name_input, and Slic3r::GUI::DPIAware< P >::ShowModal().

Referenced by Slic3r::GUI::FlowRateWizard::cache_coarse_info().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_sending_progress_bar()

std::shared_ptr< ProgressIndicator > Slic3r::GUI::CalibrationFlowCoarseSavePage::get_sending_progress_bar ( )
inline
284 {
285 return m_sending_panel->get_sending_progress_bar();
286 }

References m_sending_panel.

Referenced by Slic3r::GUI::FlowRateWizard::on_cali_start().

Here is the caller graph for this function:

◆ is_skip_fine_calibration()

bool Slic3r::GUI::CalibrationFlowCoarseSavePage::is_skip_fine_calibration ( )
1781 {
1783}

References m_skip_fine_calibration.

◆ msw_rescale()

void Slic3r::GUI::CalibrationFlowCoarseSavePage::msw_rescale ( )
overridevirtual

Reimplemented from Slic3r::GUI::CalibrationWizardPage.

1861{
1863 m_picture_panel->msw_rescale();
1864}
virtual void msw_rescale()
Definition CalibrationWizardPage.cpp:997

References m_picture_panel, and Slic3r::GUI::CalibrationWizardPage::msw_rescale().

Here is the call graph for this function:

◆ on_cali_cancel_job()

void Slic3r::GUI::CalibrationFlowCoarseSavePage::on_cali_cancel_job ( )
1844{
1845 BOOST_LOG_TRIVIAL(info) << "CalibrationWizard::print_job: enter canceled";
1847 BOOST_LOG_TRIVIAL(info) << "calibration_print_job: canceled";
1848 CalibUtils::print_worker->cancel_all();
1849 CalibUtils::print_worker->wait_for_idle();
1850 }
1851
1852 m_sending_panel->reset();
1853 m_sending_panel->Show(false);
1856 Layout();
1857 Fit();
1858}
static std::unique_ptr< Worker > print_worker
Definition CalibUtils.hpp:46

References Slic3r::GUI::CALI_ACTION_FLOW_CALI_STAGE_2, Slic3r::GUI::CalibrationWizardPage::m_action_panel, m_sending_panel, and Slic3r::GUI::CalibUtils::print_worker.

Referenced by create_page().

Here is the caller graph for this function:

◆ on_cali_finished_job()

void Slic3r::GUI::CalibrationFlowCoarseSavePage::on_cali_finished_job ( )

◆ on_cali_start_job()

void Slic3r::GUI::CalibrationFlowCoarseSavePage::on_cali_start_job ( )
1824{
1825 m_sending_panel->reset();
1826 m_sending_panel->Show();
1829 Layout();
1830 Fit();
1831}

References Slic3r::GUI::CALI_ACTION_FLOW_CALI_STAGE_2, Slic3r::GUI::CalibrationWizardPage::m_action_panel, and m_sending_panel.

Referenced by Slic3r::GUI::FlowRateWizard::on_cali_start().

Here is the caller graph for this function:

◆ on_device_connected()

virtual void Slic3r::GUI::CalibrationWizardPage::on_device_connected ( MachineObject * obj)
inlinevirtualinherited

◆ on_reset_page()

virtual void Slic3r::GUI::CalibrationWizardPage::on_reset_page ( )
inlinevirtualinherited

◆ on_sys_color_changed()

void Slic3r::GUI::CalibrationWizardPage::on_sys_color_changed ( )
virtualinherited

Reimplemented in Slic3r::GUI::CalibrationPresetPage.

1004{
1005 m_page_caption->on_sys_color_changed();
1006}

References m_page_caption.

Referenced by Slic3r::GUI::CalibrationPresetPage::on_sys_color_changed().

Here is the caller graph for this function:

◆ set_cali_filament_mode()

virtual void Slic3r::GUI::CalibrationWizardPage::set_cali_filament_mode ( CalibrationFilamentMode mode)
inlinevirtualinherited

Reimplemented in Slic3r::GUI::CalibrationPresetPage.

325 {
327 }
CalibrationFilamentMode m_cali_filament_mode
Definition CalibrationWizardPage.hpp:339

References m_cali_filament_mode.

Referenced by Slic3r::GUI::CalibrationPresetPage::set_cali_filament_mode().

Here is the caller graph for this function:

◆ set_cali_method()

virtual void Slic3r::GUI::CalibrationWizardPage::set_cali_method ( CalibrationMethod method)
inlinevirtualinherited

Reimplemented in Slic3r::GUI::CalibrationCaliPage, Slic3r::GUI::CalibrationPASavePage, and Slic3r::GUI::CalibrationPresetPage.

329 {
330 m_cali_method = method;
331 }
CalibrationMethod m_cali_method
Definition CalibrationWizardPage.hpp:340

References m_cali_method.

Referenced by Slic3r::GUI::CalibrationPASavePage::set_cali_method(), and Slic3r::GUI::CalibrationPresetPage::set_cali_method().

Here is the caller graph for this function:

◆ set_curr_flow_ratio()

void Slic3r::GUI::CalibrationFlowCoarseSavePage::set_curr_flow_ratio ( float value)
1785 {
1786 m_curr_flow_ratio = value;
1787}

References m_curr_flow_ratio.

Referenced by Show().

Here is the caller graph for this function:

◆ set_default_options()

void Slic3r::GUI::CalibrationFlowCoarseSavePage::set_default_options ( const wxString & name)
1770 {
1771 m_optimal_block_coarse->SetSelection(-1);
1772 m_coarse_calc_result_text->SetLabelText("");
1773 m_checkBox_skip_calibration->SetValue(false);
1774 m_save_name_input->GetTextCtrl()->SetValue(name);
1775
1776 wxCommandEvent event(wxEVT_TOGGLEBUTTON);
1777 event.SetEventObject(m_checkBox_skip_calibration);
1778 m_checkBox_skip_calibration->GetEventHandler()->ProcessEvent(event);
1779}

References m_checkBox_skip_calibration, m_coarse_calc_result_text, m_optimal_block_coarse, and m_save_name_input.

Referenced by Show().

Here is the caller graph for this function:

◆ set_next_page()

void Slic3r::GUI::CalibrationWizardPage::set_next_page ( CalibrationWizardPage * next)
inlineinherited
311{ m_next_page = next; }

References CalibrationWizardPage(), and m_next_page.

Referenced by chain().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ set_prev_page()

void Slic3r::GUI::CalibrationWizardPage::set_prev_page ( CalibrationWizardPage * prev)
inlineinherited
310{ m_prev_page = prev; }

References CalibrationWizardPage(), and m_prev_page.

Referenced by chain().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ set_save_img()

void Slic3r::GUI::CalibrationFlowCoarseSavePage::set_save_img ( )
1762 {
1763 if (wxGetApp().app_config->get_language_code() == "zh-cn") {
1764 m_picture_panel->set_bmp(ScalableBitmap(this, "flow_rate_calibration_coarse_result_CN", 350));
1765 } else {
1766 m_picture_panel->set_bmp(ScalableBitmap(this, "flow_rate_calibration_coarse_result", 350));
1767 }
1768}

References m_picture_panel.

Referenced by create_page().

Here is the caller graph for this function:

◆ Show()

bool Slic3r::GUI::CalibrationFlowCoarseSavePage::Show ( bool show = true)
overridevirtual
1806 {
1807 if (show) {
1808 if (curr_obj) {
1809 assert(curr_obj->selected_cali_preset.size() <= 1);
1810 if (!curr_obj->selected_cali_preset.empty()) {
1811 wxString default_name = get_default_name(curr_obj->selected_cali_preset[0].name, CalibMode::Calib_Flow_Rate);
1812 set_default_options(default_name);
1813 set_curr_flow_ratio(curr_obj->cache_flow_ratio);
1814 }
1815 }
1816 else {
1817 BOOST_LOG_TRIVIAL(trace) << "CalibrationFlowCoarseSave::Show(): obj is nullptr";
1818 }
1819 }
1820 return wxPanel::Show(show);
1821}
void set_curr_flow_ratio(float value)
Definition CalibrationWizardSavePage.cpp:1785
void set_default_options(const wxString &name)
Definition CalibrationWizardSavePage.cpp:1770
static wxString get_default_name(wxString filament_name, CalibMode mode)
Definition CalibrationWizardSavePage.cpp:48
void trace(unsigned int level, const char *message)
Definition utils.cpp:247

References Slic3r::Calib_Flow_Rate, Slic3r::GUI::CalibrationWizardPage::curr_obj, Slic3r::GUI::get_default_name(), set_curr_flow_ratio(), set_default_options(), and Slic3r::trace().

Here is the call graph for this function:

◆ update()

virtual void Slic3r::GUI::CalibrationWizardPage::update ( MachineObject * obj)
inlinevirtualinherited

Reimplemented in Slic3r::GUI::CalibrationCaliPage, Slic3r::GUI::CalibrationPASavePage, and Slic3r::GUI::CalibrationPresetPage.

319{ curr_obj = obj; }

References curr_obj.

Referenced by Slic3r::GUI::CalibrationPASavePage::update().

Here is the caller graph for this function:

◆ update_print_error_info()

void Slic3r::GUI::CalibrationFlowCoarseSavePage::update_print_error_info ( int code,
const std::string & msg,
const std::string & extra )
inline
276{ m_sending_panel->update_print_error_info(code, msg, extra); }

References m_sending_panel.

Referenced by Slic3r::GUI::CalibrationPanel::update_print_error_info().

Here is the caller graph for this function:

Member Data Documentation

◆ curr_obj

◆ m_action_panel

◆ m_cali_filament_mode

◆ m_cali_method

◆ m_cali_mode

◆ m_checkBox_skip_calibration

CheckBox* Slic3r::GUI::CalibrationFlowCoarseSavePage::m_checkBox_skip_calibration
protected

Referenced by create_page(), and set_default_options().

◆ m_coarse_calc_result_text

Label* Slic3r::GUI::CalibrationFlowCoarseSavePage::m_coarse_calc_result_text
protected

Referenced by create_page(), and set_default_options().

◆ m_coarse_flow_ratio

float Slic3r::GUI::CalibrationFlowCoarseSavePage::m_coarse_flow_ratio
protected

Referenced by create_page(), and get_result().

◆ m_curr_flow_ratio

float Slic3r::GUI::CalibrationFlowCoarseSavePage::m_curr_flow_ratio
protected

Referenced by create_page(), and set_curr_flow_ratio().

◆ m_next_page

CalibrationWizardPage* Slic3r::GUI::CalibrationWizardPage::m_next_page {nullptr}
privateinherited
350{nullptr};

Referenced by get_next_page(), and set_next_page().

◆ m_optimal_block_coarse

ComboBox* Slic3r::GUI::CalibrationFlowCoarseSavePage::m_optimal_block_coarse
protected

◆ m_page_caption

◆ m_page_type

◆ m_parent

wxWindow* Slic3r::GUI::CalibrationWizardPage::m_parent { nullptr }
protectedinherited
343{ nullptr };

Referenced by CalibrationWizardPage().

◆ m_picture_panel

CaliPagePicture* Slic3r::GUI::CalibrationFlowCoarseSavePage::m_picture_panel
protected

◆ m_prev_page

CalibrationWizardPage* Slic3r::GUI::CalibrationWizardPage::m_prev_page {nullptr}
privateinherited
349{nullptr};

Referenced by get_prev_page(), and set_prev_page().

◆ m_save_name_input

TextInput* Slic3r::GUI::CalibrationFlowCoarseSavePage::m_save_name_input
protected

◆ m_sending_panel

CaliPageSendingPanel* Slic3r::GUI::CalibrationFlowCoarseSavePage::m_sending_panel { nullptr }
protected

◆ m_skip_fine_calibration

bool Slic3r::GUI::CalibrationFlowCoarseSavePage::m_skip_fine_calibration = false
protected

◆ m_statictext_printer_msg

Label* Slic3r::GUI::CalibrationWizardPage::m_statictext_printer_msg { nullptr }
protectedinherited

◆ m_step_panel

CaliPageStepGuide* Slic3r::GUI::CalibrationFlowCoarseSavePage::m_step_panel { nullptr }
protected
291{ nullptr };

Referenced by create_page().

◆ m_top_sizer


The documentation for this class was generated from the following files: