#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/StatusPanel.hpp>
Public Member Functions | |
| ExtruderSwithingStatus (wxWindow *parent) | |
| ~ExtruderSwithingStatus ()=default | |
| void | updateBy (MachineObject *obj) |
| bool | has_content_shown () const |
| void | msw_rescale () |
Private Member Functions | |
| void | updateBy (const DevExtderSystem *ext_system) |
| void | showQuitBtn (bool show) |
| void | showRetryBtn (bool show) |
| void | on_quit (wxCommandEvent &event) |
| void | on_retry (wxCommandEvent &event) |
Private Attributes | |
| MachineObject * | m_obj = nullptr |
| Label * | m_switching_status_label = nullptr |
| Button * | m_button_quit = nullptr |
| Button * | m_button_retry = nullptr |
| time_t | m_last_ctrl_time = 0 |
| Slic3r::GUI::ExtruderSwithingStatus::ExtruderSwithingStatus | ( | wxWindow * | parent | ) |
References _L, _L_CONTEXT, Label::Body_13, Confirm, L_CONTEXT, m_button_quit, m_button_retry, m_switching_status_label, on_quit(), on_retry(), Regular, and Window.
|
default |
| bool Slic3r::GUI::ExtruderSwithingStatus::has_content_shown | ( | ) | const |
References m_button_quit, m_button_retry, and m_switching_status_label.
| void Slic3r::GUI::ExtruderSwithingStatus::msw_rescale | ( | ) |
References m_button_quit, and m_button_retry.
|
private |
References m_last_ctrl_time, and m_obj.
Referenced by ExtruderSwithingStatus().
|
private |
References m_last_ctrl_time, and m_obj.
Referenced by ExtruderSwithingStatus().
|
private |
References m_button_quit.
Referenced by updateBy().
|
private |
References m_button_retry.
Referenced by updateBy().
|
private |
References _L, StateColor::darkModeColorFor(), Slic3r::ES_SWITCHING, Slic3r::ES_SWITCHING_FAILED, Slic3r::DevExtderSystem::GetSwitchState(), Slic3r::DevExtderSystem::GetTotalExtderCount(), m_obj, m_switching_status_label, showQuitBtn(), and showRetryBtn().
| void Slic3r::GUI::ExtruderSwithingStatus::updateBy | ( | MachineObject * | obj | ) |
References Slic3r::MachineObject::GetExtderSystem(), HOLD_TIME_6SEC, m_last_ctrl_time, m_obj, and updateBy().
Referenced by updateBy().
Referenced by ExtruderSwithingStatus(), has_content_shown(), msw_rescale(), and showQuitBtn().
Referenced by ExtruderSwithingStatus(), has_content_shown(), msw_rescale(), and showRetryBtn().
|
private |
Referenced by on_quit(), on_retry(), and updateBy().
|
private |
Referenced by on_quit(), on_retry(), updateBy(), and updateBy().
Referenced by ExtruderSwithingStatus(), has_content_shown(), and updateBy().