#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/SliceInfoPanel.hpp>
Public Member Functions | |
| SliceInfoPanel (wxWindow *parent, wxBitmap &prediction, wxBitmap &cost, wxBitmap &print, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString) | |
| ~SliceInfoPanel () | |
| void | SetImages (wxBitmap &prediction, wxBitmap &cost, wxBitmap &printing) |
| void | on_subtask_print (wxCommandEvent &evt) |
| void | on_thumbnail_enter (wxMouseEvent &event) |
| void | on_thumbnail_leave (wxMouseEvent &event) |
| void | on_mouse_enter (wxMouseEvent &event) |
| void | on_mouse_leave (wxMouseEvent &event) |
| void | on_webrequest_state (wxWebRequestEvent &evt) |
| void | update (BBLSliceInfo *info) |
| void | msw_rescale () |
Protected Attributes | |
| wxWebRequest | web_request |
| std::shared_ptr< ImageTransientPopup > | m_thumbnail_popup |
| std::shared_ptr< SliceInfoPopup > | m_slice_info_popup |
| wxImage | m_thumbnail_img |
| wxBoxSizer * | m_item_top_sizer |
| wxStaticBitmap * | m_bmp_item_thumbnail |
| wxStaticBitmap * | m_bmp_item_prediction |
| wxStaticBitmap * | m_bmp_item_print |
| wxStaticText * | m_text_item_prediction |
| wxStaticBitmap * | m_bmp_item_cost |
| wxStaticText * | m_text_item_cost |
| wxGridSizer * | m_filament_info_sizer |
| wxStaticText * | m_text_plate_index |
| Slic3r::GUI::SliceInfoPanel::SliceInfoPanel | ( | wxWindow * | parent, |
| wxBitmap & | prediction, | ||
| wxBitmap & | cost, | ||
| wxBitmap & | print, | ||
| wxWindowID | id = wxID_ANY, | ||
| const wxPoint & | pos = wxDefaultPosition, | ||
| const wxSize & | size = wxDefaultSize, | ||
| long | style = wxTAB_TRAVERSAL, | ||
| const wxString & | name = wxEmptyString ) |
References ICON_SIZE, m_bmp_item_cost, m_bmp_item_prediction, m_bmp_item_print, m_bmp_item_thumbnail, m_filament_info_sizer, m_item_top_sizer, m_text_item_cost, m_text_item_prediction, m_text_plate_index, on_subtask_print(), on_thumbnail_enter(), on_thumbnail_leave(), on_webrequest_state(), PRINT_ICON_SIZE, style, Slic3r::THUMBNAIL_SIZE, and wxStaticText.
| Slic3r::GUI::SliceInfoPanel::~SliceInfoPanel | ( | ) |
References m_bmp_item_print, m_bmp_item_thumbnail, on_subtask_print(), on_thumbnail_enter(), and on_thumbnail_leave().
| void Slic3r::GUI::SliceInfoPanel::msw_rescale | ( | ) |
References ICON_SIZE, m_bmp_item_cost, m_bmp_item_prediction, m_bmp_item_print, and PRINT_ICON_SIZE.
| void Slic3r::GUI::SliceInfoPanel::on_mouse_enter | ( | wxMouseEvent & | event | ) |
References Slic3r::GUI::wxMouseEvent.
| void Slic3r::GUI::SliceInfoPanel::on_mouse_leave | ( | wxMouseEvent & | event | ) |
References Slic3r::GUI::wxMouseEvent.
| void Slic3r::GUI::SliceInfoPanel::on_subtask_print | ( | wxCommandEvent & | evt | ) |
Referenced by SliceInfoPanel(), and ~SliceInfoPanel().
| void Slic3r::GUI::SliceInfoPanel::on_thumbnail_enter | ( | wxMouseEvent & | event | ) |
References Slic3r::GUI::wxMouseEvent.
Referenced by SliceInfoPanel(), and ~SliceInfoPanel().
| void Slic3r::GUI::SliceInfoPanel::on_thumbnail_leave | ( | wxMouseEvent & | event | ) |
References m_thumbnail_popup, and Slic3r::GUI::wxMouseEvent.
Referenced by SliceInfoPanel(), and ~SliceInfoPanel().
| void Slic3r::GUI::SliceInfoPanel::on_webrequest_state | ( | wxWebRequestEvent & | evt | ) |
References m_bmp_item_thumbnail, m_thumbnail_img, and Slic3r::trace().
Referenced by SliceInfoPanel().
| void Slic3r::GUI::SliceInfoPanel::SetImages | ( | wxBitmap & | prediction, |
| wxBitmap & | cost, | ||
| wxBitmap & | printing ) |
References m_bmp_item_cost, m_bmp_item_prediction, and m_bmp_item_print.
| void Slic3r::GUI::SliceInfoPanel::update | ( | BBLSliceInfo * | info | ) |
References Slic3r::get_bbl_time_dhms(), Slic3r::BBLSliceInfo::index, m_text_item_cost, m_text_item_prediction, m_text_plate_index, Slic3r::BBLSliceInfo::prediction, Slic3r::BBLSliceInfo::thumbnail_url, Slic3r::trace(), web_request, and Slic3r::BBLSliceInfo::weight.
|
protected |
Referenced by SliceInfoPanel(), msw_rescale(), and SetImages().
|
protected |
Referenced by SliceInfoPanel(), msw_rescale(), and SetImages().
|
protected |
Referenced by SliceInfoPanel(), ~SliceInfoPanel(), msw_rescale(), and SetImages().
|
protected |
Referenced by SliceInfoPanel(), ~SliceInfoPanel(), and on_webrequest_state().
|
protected |
Referenced by SliceInfoPanel().
|
protected |
Referenced by SliceInfoPanel().
|
protected |
|
protected |
Referenced by SliceInfoPanel(), and update().
|
protected |
Referenced by SliceInfoPanel(), and update().
|
protected |
Referenced by SliceInfoPanel(), and update().
|
protected |
Referenced by on_webrequest_state().
|
protected |
Referenced by on_thumbnail_leave().
|
protected |
Referenced by update().