#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/SyncAmsInfoDialog.hpp>
◆ Slic3r::GUI::FinishSyncAmsDialog::InputInfo
| struct Slic3r::GUI::FinishSyncAmsDialog::InputInfo |
| Class Members |
|
wxPoint |
ams_btn_pos {wxPoint(400, 200)} |
|
|
wxPoint |
dialog_pos {wxPoint(400, 200)} |
|
|
bool |
dialog_pos_align_right {true} |
|
◆ DisappearanceMode
| Enumerator |
|---|
| None | |
| TimedDisappearance | |
27 {
30 };
@ TimedDisappearance
Definition BaseTransparentDPIFrame.hpp:29
@ None
Definition BaseTransparentDPIFrame.hpp:28
◆ FinishSyncAmsDialog()
| Slic3r::GUI::FinishSyncAmsDialog::FinishSyncAmsDialog |
( |
InputInfo & | input_info | ) |
|
3360 310,
3361 input_info.dialog_pos,
3362 68,
3363 wxGetApp().app_config->get("sync_ams_filament_mode") == "1" ?
3364 _L(
"Successfully synchronized filament color from printer.") :
3365 _L(
"Successfully synchronized color and type of filament from printer."),
3367 "",
3370{
3372
3373}
#define L_CONTEXT(s, context)
Definition DesignOffer.hpp:17
#define _L(s)
Definition OBJ.cpp:34
Button * m_button_cancel
Definition BaseTransparentDPIFrame.hpp:56
BaseTransparentDPIFrame(wxWindow *parent, int win_width, wxPoint dialog_pos, int ok_button_width, wxString win_text, wxString ok_text, wxString cancel_text="", DisappearanceMode disappearance_mode=DisappearanceMode::None)
Definition BaseTransparentDPIFrame.cpp:27
InputInfo m_input_info
Definition SyncAmsInfoDialog.hpp:398
#define _L_CONTEXT(s, ctx)
Definition I18N.hpp:15
References Slic3r::GUI::BaseTransparentDPIFrame::BaseTransparentDPIFrame(), _L, _L_CONTEXT, L_CONTEXT, Slic3r::GUI::BaseTransparentDPIFrame::m_button_cancel, m_input_info, and Slic3r::GUI::BaseTransparentDPIFrame::TimedDisappearance.
◆ ~FinishSyncAmsDialog()
| Slic3r::GUI::FinishSyncAmsDialog::~FinishSyncAmsDialog |
( |
| ) |
|
|
override |
◆ begin_gradual_disappearance()
| void Slic3r::GUI::BaseTransparentDPIFrame::begin_gradual_disappearance |
( |
| ) |
|
|
privateinherited |
250{
253 SetTransparent(transparent < 0 ? 0 : transparent);
254 } else {
256 return;
257 }
259}
int m_step_transparent
Definition BaseTransparentDPIFrame.hpp:74
void on_hide()
Definition BaseTransparentDPIFrame.cpp:159
int m_init_transparent
Definition BaseTransparentDPIFrame.hpp:73
float m_timer_count
Definition BaseTransparentDPIFrame.hpp:59
float m_time_gradual_and_scale
Definition BaseTransparentDPIFrame.hpp:72
References m_init_transparent, m_step_transparent, m_time_gradual_and_scale, m_timer_count, and on_hide().
Referenced by on_timer().
◆ begin_move_to_target_and_gradual_disappearance()
| void Slic3r::GUI::BaseTransparentDPIFrame::begin_move_to_target_and_gradual_disappearance |
( |
| ) |
|
|
privateinherited |
262{
266 SetPosition(pos);
267 } else {
269 }
270 Refresh();
271 } else {
275 SetSize(size);
277 } else {
279 return;
280 }
281 }
283}
wxSize m_step_size
Definition BaseTransparentDPIFrame.hpp:68
wxPoint m_start_pos
Definition BaseTransparentDPIFrame.hpp:70
float m_time_move
Definition BaseTransparentDPIFrame.hpp:71
wxSize m_max_size
Definition BaseTransparentDPIFrame.hpp:67
wxPoint m_step_pos
Definition BaseTransparentDPIFrame.hpp:69
wxPoint m_target_pos
Definition BaseTransparentDPIFrame.hpp:63
Vec3d pos(const Pt &p)
Definition ReprojectPointsOnMesh.hpp:16
References m_init_transparent, m_max_size, m_start_pos, m_step_pos, m_step_size, m_step_transparent, m_target_pos, m_time_gradual_and_scale, m_time_move, m_timer_count, and on_hide().
Referenced by on_timer().
◆ calc_step_transparent()
| void Slic3r::GUI::BaseTransparentDPIFrame::calc_step_transparent |
( |
| ) |
|
|
privateinherited |
◆ call_start_gradual_disappearance()
| void Slic3r::GUI::BaseTransparentDPIFrame::call_start_gradual_disappearance |
( |
| ) |
|
|
inherited |
◆ clear_timer_count()
| void Slic3r::GUI::BaseTransparentDPIFrame::clear_timer_count |
( |
| ) |
|
|
inherited |
◆ deal_cancel()
| void Slic3r::GUI::BaseTransparentDPIFrame::deal_cancel |
( |
| ) |
|
|
virtualinherited |
◆ deal_ok()
| void Slic3r::GUI::FinishSyncAmsDialog::deal_ok |
( |
| ) |
|
|
overridevirtual |
◆ em_unit()
◆ enable_force_rescale()
◆ force_rescale()
◆ hide_all()
| void Slic3r::GUI::BaseTransparentDPIFrame::hide_all |
( |
| ) |
|
|
privateinherited |
299 {
301}
void show_sizer(wxSizer *sizer, bool show)
Definition BaseTransparentDPIFrame.cpp:285
wxBoxSizer * m_sizer_main
Definition BaseTransparentDPIFrame.hpp:66
References m_sizer_main, and show_sizer().
◆ init_timer()
| void Slic3r::GUI::BaseTransparentDPIFrame::init_timer |
( |
| ) |
|
|
privateinherited |
◆ is_new_scale_factor()
◆ Layout()
| bool Slic3r::GUI::FinishSyncAmsDialog::Layout |
( |
| ) |
|
|
override |
3389{
3390 BaseTransparentDPIFrame::Layout();
3392 return true;
3393}
static void UpdatePositionAlignment(wxWindow *w, wxPoint base_position, bool align_right)
Definition SyncAmsInfoDialog.cpp:3338
References m_input_info, and Slic3r::GUI::UpdatePositionAlignment().
◆ normal_font()
◆ on_close()
| void Slic3r::GUI::BaseTransparentDPIFrame::on_close |
( |
| ) |
|
|
privateinherited |
191 {
192 Destroy();
193}
◆ on_dpi_changed()
| void Slic3r::GUI::BaseTransparentDPIFrame::on_dpi_changed |
( |
const wxRect & | suggested_rect | ) |
|
|
overridevirtualinherited |
◆ on_full_screen()
| void Slic3r::GUI::BaseTransparentDPIFrame::on_full_screen |
( |
IntEvent & | e | ) |
|
|
inherited |
142 {
143#ifdef __APPLE__
144 SetWindowStyleFlag(GetWindowStyleFlag() | wxSTAY_ON_TOP);
145#endif
146}
◆ on_hide()
| void Slic3r::GUI::BaseTransparentDPIFrame::on_hide |
( |
| ) |
|
|
inherited |
◆ on_show()
| void Slic3r::GUI::BaseTransparentDPIFrame::on_show |
( |
| ) |
|
|
inherited |
154 {
156 Raise();
157}
bool Show(bool show=true) override
Definition BaseTransparentDPIFrame.cpp:126
References Show().
◆ on_sys_color_changed()
|
|
inlineprotectedvirtualinherited |
◆ on_timer()
| void Slic3r::GUI::BaseTransparentDPIFrame::on_timer |
( |
wxTimerEvent & | event | ) |
|
|
virtualinherited |
◆ prev_scale_factor()
◆ rescale()
◆ restart()
| void Slic3r::GUI::BaseTransparentDPIFrame::restart |
( |
| ) |
|
|
inherited |
◆ scale_factor()
◆ set_em_unit()
◆ set_prev_scale_factor()
◆ set_scale_factor()
◆ set_target_pos_and_gradual_disappearance()
| void Slic3r::GUI::BaseTransparentDPIFrame::set_target_pos_and_gradual_disappearance |
( |
wxPoint | pos | ) |
|
|
inherited |
◆ Show()
| bool Slic3r::GUI::BaseTransparentDPIFrame::Show |
( |
bool | show = true | ) |
|
|
overrideinherited |
◆ show_sizer()
| void Slic3r::GUI::BaseTransparentDPIFrame::show_sizer |
( |
wxSizer * | sizer, |
|
|
bool | show ) |
|
privateinherited |
286{
287 wxSizerItemList items = sizer->GetChildren();
288 for (wxSizerItemList::iterator it = items.begin(); it != items.end(); ++it) {
289 wxSizerItem *item = *it;
290 if (wxWindow *window = item->GetWindow()) {
291 window->Show(show);
292 }
293 if (wxSizer *son_sizer = item->GetSizer()) {
295 }
296 }
297}
References show_sizer().
Referenced by hide_all(), and show_sizer().
◆ ShowModal()
◆ start_gradual_disappearance()
| void Slic3r::GUI::BaseTransparentDPIFrame::start_gradual_disappearance |
( |
| ) |
|
|
privateinherited |
◆ update_em_unit()
◆ update_info()
| void Slic3r::GUI::FinishSyncAmsDialog::update_info |
( |
InputInfo & | info | ) |
|
◆ m_button_cancel
| Button* Slic3r::GUI::BaseTransparentDPIFrame::m_button_cancel = nullptr |
|
protectedinherited |
◆ m_button_ok
| Button* Slic3r::GUI::BaseTransparentDPIFrame::m_button_ok = nullptr |
|
protectedinherited |
◆ m_can_rescale
◆ m_disappearance_second
| int Slic3r::GUI::BaseTransparentDPIFrame::m_disappearance_second = 2500 |
|
protectedinherited |
◆ m_display_stage
| int Slic3r::GUI::BaseTransparentDPIFrame::m_display_stage = 0 |
|
privateinherited |
◆ m_em_unit
◆ m_enter_window_valid
| bool Slic3r::GUI::BaseTransparentDPIFrame::m_enter_window_valid {true} |
|
privateinherited |
◆ m_finish_text
| Label* Slic3r::GUI::BaseTransparentDPIFrame::m_finish_text = nullptr |
|
protectedinherited |
◆ m_force_rescale
◆ m_init_transparent
| int Slic3r::GUI::BaseTransparentDPIFrame::m_init_transparent {220} |
|
privateinherited |
◆ m_input_info
| InputInfo Slic3r::GUI::FinishSyncAmsDialog::m_input_info |
|
private |
◆ m_max_size
| wxSize Slic3r::GUI::BaseTransparentDPIFrame::m_max_size |
|
privateinherited |
◆ m_move_to_target_gradual_disappearance
| bool Slic3r::GUI::BaseTransparentDPIFrame::m_move_to_target_gradual_disappearance = false |
|
protectedinherited |
◆ m_new_font_point_size
◆ m_normal_font
◆ m_prev_scale_factor
◆ m_refresh_timer
| wxTimer* Slic3r::GUI::BaseTransparentDPIFrame::m_refresh_timer {nullptr} |
|
protectedinherited |
◆ m_scale_factor
◆ m_sizer_main
| wxBoxSizer* Slic3r::GUI::BaseTransparentDPIFrame::m_sizer_main {nullptr} |
|
privateinherited |
◆ m_start_pos
| wxPoint Slic3r::GUI::BaseTransparentDPIFrame::m_start_pos |
|
privateinherited |
◆ m_step_pos
| wxPoint Slic3r::GUI::BaseTransparentDPIFrame::m_step_pos |
|
privateinherited |
◆ m_step_size
| wxSize Slic3r::GUI::BaseTransparentDPIFrame::m_step_size |
|
privateinherited |
◆ m_step_transparent
| int Slic3r::GUI::BaseTransparentDPIFrame::m_step_transparent |
|
privateinherited |
◆ m_target_pos
| wxPoint Slic3r::GUI::BaseTransparentDPIFrame::m_target_pos |
|
protectedinherited |
◆ m_time_gradual_and_scale
| float Slic3r::GUI::BaseTransparentDPIFrame::m_time_gradual_and_scale {100.0f} |
|
privateinherited |
◆ m_time_move
| float Slic3r::GUI::BaseTransparentDPIFrame::m_time_move {6.0f} |
|
privateinherited |
◆ m_timed_disappearance_mode
◆ m_timer_count
| float Slic3r::GUI::BaseTransparentDPIFrame::m_timer_count = 0 |
|
protectedinherited |
The documentation for this class was generated from the following files: