#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/CalibrationWizardPresetPage.hpp>
Public Member Functions | |
| CaliComboBox (wxWindow *parent, wxString title, wxArrayString values, int default_index=0, std::function< void(wxCommandEvent &)> on_value_change=nullptr, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL) | |
| int | get_selection () const |
| wxString | get_value () const |
| void | set_values (const wxArrayString &values) |
Private Attributes | |
| wxBoxSizer * | m_top_sizer |
| wxString | m_title |
| ComboBox * | m_combo_box |
| std::function< void(wxCommandEvent &)> | m_on_value_change_call_back |
| Slic3r::GUI::CaliComboBox::CaliComboBox | ( | wxWindow * | parent, |
| wxString | title, | ||
| wxArrayString | values, | ||
| int | default_index = 0, | ||
| std::function< void(wxCommandEvent &)> | on_value_change = nullptr, | ||
| wxWindowID | id = wxID_ANY, | ||
| const wxPoint & | pos = wxDefaultPosition, | ||
| const wxSize & | size = wxDefaultSize, | ||
| long | style = wxTAB_TRAVERSAL ) |
References CALIBRATION_COMBOX_SIZE, Label::Head_14, m_combo_box, m_on_value_change_call_back, m_title, m_top_sizer, PRESET_GAP, and style.
| int Slic3r::GUI::CaliComboBox::get_selection | ( | ) | const |
References m_combo_box.
| wxString Slic3r::GUI::CaliComboBox::get_value | ( | ) | const |
References m_combo_box.
| void Slic3r::GUI::CaliComboBox::set_values | ( | const wxArrayString & | values | ) |
References m_combo_box.
|
private |
Referenced by CaliComboBox(), get_selection(), get_value(), and set_values().
|
private |
Referenced by CaliComboBox().
|
private |
Referenced by CaliComboBox().
|
private |
Referenced by CaliComboBox().