#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/UpgradePanel.hpp>
Public Member Functions | |
| UpgradePanel (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL) | |
| ~UpgradePanel () | |
| void | clean_push_upgrade_panel () |
| void | msw_rescale () |
| bool | Show (bool show=true) override |
| void | refresh_version_and_firmware (MachineObject *obj) |
| void | update (MachineObject *obj) |
| void | show_status (int status) |
| void | on_sys_color_changed () |
Public Attributes | |
| MachineObject * | m_obj { nullptr } |
Protected Attributes | |
| wxScrolledWindow * | m_scrolledWindow |
| wxBoxSizer * | m_machine_list_sizer |
| MachineInfoPanel * | m_push_upgrade_panel {nullptr} |
| bool | enable_select_firmware = false |
| bool | m_need_update = false |
| DevFirmwareUpgradingState | last_forced_hint_status = DevFirmwareUpgradingState::DC |
| DevFirmwareUpgradingState | last_consistency_hint_status = DevFirmwareUpgradingState::DC |
| int | last_status |
| bool | m_show_forced_hint = true |
| bool | m_show_consistency_hint = true |
| SecondaryCheckDialog * | force_dlg { nullptr } |
| SecondaryCheckDialog * | consistency_dlg { nullptr } |
| Slic3r::GUI::UpgradePanel::UpgradePanel | ( | wxWindow * | parent, |
| wxWindowID | id = wxID_ANY, | ||
| const wxPoint & | pos = wxDefaultPosition, | ||
| const wxSize & | size = wxDefaultSize, | ||
| long | style = wxTAB_TRAVERSAL ) |
References m_machine_list_sizer, m_scrolledWindow, and style.
| Slic3r::GUI::UpgradePanel::~UpgradePanel | ( | ) |
References consistency_dlg, and force_dlg.
| void Slic3r::GUI::UpgradePanel::clean_push_upgrade_panel | ( | ) |
References m_push_upgrade_panel.
Referenced by update().
| void Slic3r::GUI::UpgradePanel::msw_rescale | ( | ) |
References m_push_upgrade_panel.
| void Slic3r::GUI::UpgradePanel::on_sys_color_changed | ( | ) |
References m_push_upgrade_panel.
| void Slic3r::GUI::UpgradePanel::refresh_version_and_firmware | ( | MachineObject * | obj | ) |
References Slic3r::MachineObject::command_get_version(), Slic3r::MachineObject::get_firmware_info(), m_need_update, and Slic3r::trace().
Referenced by Show(), and update().
|
override |
References Slic3r::DeviceManager::get_selected_machine(), and refresh_version_and_firmware().
| void Slic3r::GUI::UpgradePanel::show_status | ( | int | status | ) |
References last_status, MONITOR_CONNECTING, MONITOR_DISCONNECTED, MONITOR_DISCONNECTED_SERVER, MONITOR_NO_PRINTER, and MONITOR_NORMAL.
| void Slic3r::GUI::UpgradePanel::update | ( | MachineObject * | obj | ) |
References _L, clean_push_upgrade_panel(), Slic3r::GUI::SecondaryCheckDialog::CONFIRM_AND_CANCEL, consistency_dlg, force_dlg, HOLD_COUNT_MAX, last_consistency_hint_status, last_forced_hint_status, m_machine_list_sizer, m_need_update, m_obj, m_push_upgrade_panel, m_scrolledWindow, m_show_consistency_hint, m_show_forced_hint, refresh_version_and_firmware(), Slic3r::UpgradingFinished, and Slic3r::UpgradingInProgress.
|
protected |
Referenced by ~UpgradePanel(), and update().
|
protected |
|
protected |
Referenced by ~UpgradePanel(), and update().
|
protected |
Referenced by update().
|
protected |
Referenced by update().
|
protected |
Referenced by show_status().
|
protected |
Referenced by UpgradePanel(), and update().
|
protected |
Referenced by refresh_version_and_firmware(), and update().
| MachineObject* Slic3r::GUI::UpgradePanel::m_obj { nullptr } |
Referenced by update().
|
protected |
Referenced by clean_push_upgrade_panel(), msw_rescale(), on_sys_color_changed(), and update().
|
protected |
Referenced by UpgradePanel(), and update().
|
protected |
Referenced by update().
|
protected |
Referenced by update().