#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/DeviceTab/uiAmsHumidityPopup.h>
Public Member Functions | |
| uiAmsPercentHumidityDryPopup (wxWindow *parent) | |
| ~uiAmsPercentHumidityDryPopup ()=default | |
| void | UpdateInfo (uiAmsHumidityInfo *info) |
| std::string | get_owner_ams_id () const |
| void | msw_rescale () |
Private Member Functions | |
| void | UpdateInfo (int humidiy_level, int humidity_percent, int left_dry_time, float current_temperature) |
| void | UpdateContents () |
| void | Create () |
Private Attributes | |
| std::string | m_ams_id |
| int | m_humidity_level = 0 |
| int | m_humidity_percent = 0 |
| int | m_left_dry_time = 0 |
| float | m_current_temperature = 0 |
| ScalableBitmap | drying_img |
| ScalableBitmap | idle_img |
| wxStaticBitmap * | m_humidity_img |
| wxStaticBitmap * | m_dry_state_img |
| Label * | m_dry_state |
| Label * | m_humidity_header |
| Label * | m_humidity_label |
| Label * | m_temperature_header |
| Label * | m_temperature_label |
| Label * | left_dry_time_header |
| Label * | left_dry_time_label |
| wxSizer * | m_sizer |
Note: The popup of DevAms Humidity with percentage and dry time Author: xin.zhang
| Slic3r::GUI::uiAmsPercentHumidityDryPopup::uiAmsPercentHumidityDryPopup | ( | wxWindow * | parent | ) |
|
default |
|
private |
References _L, Label::Body_14, drying_img, Label::Head_18, idle_img, left_dry_time_header, left_dry_time_label, m_dry_state, m_dry_state_img, m_humidity_header, m_humidity_img, m_humidity_label, m_sizer, m_temperature_header, and m_temperature_label.
Referenced by uiAmsPercentHumidityDryPopup().
|
inline |
References m_ams_id.
| void Slic3r::GUI::uiAmsPercentHumidityDryPopup::msw_rescale | ( | ) |
References drying_img, idle_img, and UpdateContents().
|
private |
References _L, ScalableBitmap::bmp(), drying_img, idle_img, left_dry_time_label, m_current_temperature, m_dry_state, m_dry_state_img, m_humidity_img, m_humidity_label, m_humidity_level, m_humidity_percent, m_left_dry_time, and m_temperature_label.
Referenced by msw_rescale(), and UpdateInfo().
|
private |
References m_current_temperature, m_humidity_level, m_humidity_percent, m_left_dry_time, and UpdateContents().
|
inline |
References Slic3r::GUI::uiAmsHumidityInfo::ams_id, Slic3r::GUI::uiAmsHumidityInfo::current_temperature, Slic3r::GUI::uiAmsHumidityInfo::humidity_display_idx, Slic3r::GUI::uiAmsHumidityInfo::humidity_percent, Slic3r::GUI::uiAmsHumidityInfo::left_dry_time, m_ams_id, and UpdateInfo().
Referenced by UpdateInfo().
|
private |
Referenced by Create(), msw_rescale(), and UpdateContents().
|
private |
Referenced by Create(), msw_rescale(), and UpdateContents().
|
private |
Referenced by Create().
|
private |
Referenced by Create(), and UpdateContents().
|
private |
Referenced by get_owner_ams_id(), and UpdateInfo().
|
private |
Referenced by UpdateContents(), and UpdateInfo().
|
private |
Referenced by Create(), and UpdateContents().
|
private |
Referenced by Create(), and UpdateContents().
|
private |
Referenced by Create(), and UpdateContents().
|
private |
Referenced by Create(), and UpdateContents().
|
private |
Referenced by UpdateContents(), and UpdateInfo().
|
private |
Referenced by UpdateContents(), and UpdateInfo().
|
private |
Referenced by UpdateContents(), and UpdateInfo().
|
private |
Referenced by Create().
|
private |
Referenced by Create().
|
private |
Referenced by Create(), and UpdateContents().