#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/PlateSettingsDialog.hpp>
Public Types | |
| enum class | Type { Begin , End } |
| enum class | ValueType { Custom , End } |
Public Member Functions | |
| LayerNumberTextInput (wxWindow *parent, int layer_number, wxSize size, Type type, ValueType value_type=ValueType::Custom) | |
| void | link (LayerNumberTextInput *layer_input) |
| void | set_layer_number (int layer_number) |
| int | get_layer_number () |
| Type | get_input_type () |
| ValueType | get_value_type () |
| bool | is_layer_number_valid () |
| DropDown & | GetDropDown () |
| void | SetKeepDropArrow (bool keep) |
| virtual bool | SetFont (wxFont const &font) override |
| int | Append (const wxString &item, const wxBitmap &bitmap=wxNullBitmap, int item_style=0) |
| int | Append (const wxString &item, const wxBitmap &bitmap, void *clientData, int item_style=0) |
| int | Append (const wxString &item, const wxBitmap &bitmap, const wxString &group, void *clientData=nullptr, int item_style=0) |
| int | Append (const wxString &item, const wxBitmap &bitmap, const wxString &group_key, const wxString &group_label, void *clientData=nullptr, int item_style=0) |
| int | SetItems (const std::vector< DropDown::Item > &the_items) |
| void | set_replace_text (wxString text, wxString image_name) |
| unsigned int | GetCount () const override |
| int | GetSelection () const override |
| void | SetSelection (int n) override |
| void | SelectAndNotify (int n) |
| virtual void | Rescale () override |
| wxString | GetValue () const |
| void | SetValue (const wxString &value) |
| void | SetLabel (const wxString &label) override |
| wxString | GetLabel () const override |
| int | GetFlag (unsigned int n) |
| void | SetFlag (unsigned int n, int value) |
| void | SetTextLabel (const wxString &label) |
| wxString | GetTextLabel () const |
| wxString | GetString (unsigned int n) const override |
| void | SetString (unsigned int n, wxString const &value) override |
| wxString | GetItemTooltip (unsigned int n) const |
| void | SetItemTooltip (unsigned int n, wxString const &value) |
| wxString | GetItemAlias (unsigned int n) const |
| void | SetItemAlias (unsigned int n, wxString const &value) |
| wxBitmap | GetItemBitmap (unsigned int n) |
| void | SetItemBitmap (unsigned int n, wxBitmap const &bitmap) |
| void | SetItemActionBitmap (unsigned int n, wxBitmap const &bitmap) |
| bool | is_drop_down () |
| void | DeleteOneItem (unsigned int pos) |
| void | ForceDropdownOpen () |
| void | CloseDropdown () |
Protected Member Functions | |
| void | update_label () |
| virtual int | DoInsertItems (const wxArrayStringsAdapter &items, unsigned int pos, void **clientData, wxClientDataType type) override |
| virtual void | DoClear () override |
| void | DoDeleteOneItem (unsigned int pos) override |
| void * | DoGetItemClientData (unsigned int n) const override |
| void | DoSetItemClientData (unsigned int n, void *data) override |
| void | OnEdit () override |
| void | sendComboBoxEvent () |
Private Types | |
| typedef DropDown::Item | Item |
Private Member Functions | |
| void | mouseDown (wxMouseEvent &event) |
| void | mouseWheelMoved (wxMouseEvent &event) |
| void | keyDown (wxKeyEvent &event) |
| void | onMove (wxMoveEvent &event) |
Private Attributes | |
| LayerNumberTextInput * | m_another_layer_input { nullptr } |
| int | m_layer_number |
| Type | m_type |
| ValueType | m_value_type |
| std::vector< Item > | items |
| DropDown | drop |
| bool | drop_down = false |
| bool | text_off = false |
| bool | is_replace_text_to_image = false |
| bool | m_keep_drop_arrow = false |
| wxString | replace_text |
| wxString | image_for_text |
|
privateinherited |
|
strong |
|
strong |
| Slic3r::GUI::LayerNumberTextInput::LayerNumberTextInput | ( | wxWindow * | parent, |
| int | layer_number, | ||
| wxSize | size, | ||
| Type | type, | ||
| ValueType | value_type = ValueType::Custom ) |
References ComboBox::ComboBox(), LayerNumberTextInput(), _L, _L_CONTEXT, ComboBox::Append(), Begin, Label::Body_14, Custom, End, is_layer_number_valid(), m_another_layer_input, m_layer_number, m_type, m_value_type, Slic3r::GUI::MAX_LAYER_VALUE, Slic3r::GUI::MIN_LAYER_VALUE, set_layer_number(), ComboBox::SetSelection(), and update_label().
Referenced by LayerNumberTextInput(), and link().
|
inherited |
|
inherited |
References drop, items, DropDown::Item::style, and style.
|
inherited |
|
inherited |
References Append(), and style.
Referenced by ComboBox(), Slic3r::GUI::LayerNumberTextInput::LayerNumberTextInput(), Slic3r::GUI::PresetComboBox::add_ams_filaments(), Slic3r::GUI::PresetComboBox::add_connected_printers(), Slic3r::GUI::IMEXModesCtrl::add_row(), Append(), Append(), Append(), Slic3r::GUI::Choice::BUILD(), Slic3r::GUI::combo_append_index(), Slic3r::GUI::GridCellChoiceEditor::Create(), Slic3r::GUI::GridCellFilamentsEditor::Create(), BitmapChoiceRenderer::CreateEditorCtrl(), Slic3r::GUI::DesignPanel::fill_body_choice(), Slic3r::GUI::fill_nozzle_volume_combo(), Slic3r::GUI::DesignPanel::fill_revolve_axes(), Slic3r::GUI::DesignPanel::populate_body_choices(), Slic3r::GUI::DesignPanel::populate_plane_choices(), Slic3r::GUI::CalibrateFilamentComboBox::update(), Slic3r::GUI::PlaterPresetComboBox::update(), Slic3r::GUI::PresetComboBox::update(), Slic3r::GUI::TabPresetComboBox::update(), and Slic3r::GUI::Sidebar::update_presets().
|
inherited |
|
inlineinherited |
References DoDeleteOneItem().
|
overrideprotectedvirtualinherited |
|
overrideprotectedinherited |
|
overrideprotectedinherited |
|
overrideprotectedvirtualinherited |
|
overrideprotectedinherited |
|
inherited |
References drop, drop_down, and items.
Referenced by BitmapChoiceRenderer::CreateEditorCtrl().
|
inline |
| int Slic3r::GUI::LayerNumberTextInput::get_layer_number | ( | ) |
References End, m_layer_number, m_value_type, and Slic3r::GUI::MAX_LAYER_VALUE.
|
inline |
References m_value_type.
|
overrideinherited |
References items.
Referenced by Slic3r::GUI::DesignPanel::DesignPanel(), Slic3r::GUI::PresetComboBox::add_ams_filaments(), Slic3r::GUI::PresetComboBox::add_connected_printers(), Slic3r::anonymous_namespace{PluginHostPresets.cpp}::bind_filament_target(), Slic3r::anonymous_namespace{PluginHostPresets.cpp}::bind_preset_target(), Slic3r::anonymous_namespace{PluginHostPresets.cpp}::combo_item_for_preset(), Slic3r::GUI::DesignPanel::fill_body_choice(), Slic3r::GUI::Choice::get_value(), mouseWheelMoved(), Slic3r::GUI::DesignPanel::populate_body_choices(), Slic3r::GUI::DesignPanel::populate_plane_choices(), Slic3r::GUI::DesignPanel::populate_sheet_body_choices(), Slic3r::anonymous_namespace{PluginHostPresets.cpp}::resolve_combo_preset(), Slic3r::GUI::select_nozzle_volume(), Slic3r::GUI::DesignPanel::select_sheet_choice(), Slic3r::GUI::Choice::set_value(), Slic3r::GUI::PlaterPresetComboBox::update(), Slic3r::GUI::TabPresetComboBox::update_dirty(), Slic3r::GUI::Sidebar::update_presets(), and Slic3r::GUI::PresetComboBox::validate_selection().
|
inlineinherited |
References drop.
Referenced by Slic3r::GUI::PlaterPresetComboBox::PlaterPresetComboBox(), Slic3r::GUI::TabPresetComboBox::TabPresetComboBox(), Slic3r::GUI::Choice::BUILD(), Slic3r::GUI::PrinterAgentChoice::BUILD(), BitmapChoiceRenderer::CreateEditorCtrl(), and Slic3r::GUI::use_nozzle_row_font().
|
inherited |
References items.
Referenced by Slic3r::anonymous_namespace{PluginHostPresets.cpp}::bind_filament_target(), Slic3r::GUI::Plater::priv::on_select_preset(), and Slic3r::GUI::PlaterPresetComboBox::update_badge_according_flag().
|
inherited |
References items.
Referenced by Slic3r::anonymous_namespace{PluginHostPresets.cpp}::combo_item_for_preset(), Slic3r::GUI::Plater::priv::on_select_preset(), Slic3r::anonymous_namespace{PluginHostPresets.cpp}::resolve_combo_preset(), and Slic3r::GUI::PresetComboBox::update_ams_color().
|
inherited |
|
inherited |
|
overrideinherited |
References text_off.
Referenced by GetValue().
|
overrideinherited |
References drop.
Referenced by Slic3r::GUI::DesignPanel::DesignPanel(), Slic3r::GUI::DynamicFilamentList::apply_on(), Slic3r::GUI::get_selection(), Slic3r::GUI::Choice::get_value(), Slic3r::GUI::SingleChoiceDialog::GetSingleChoiceIndex(), BitmapChoiceRenderer::GetValueFromEditorCtrl(), Slic3r::GUI::PresetComboBox::is_selected_physical_printer(), Slic3r::GUI::PresetComboBox::is_selected_printer_model(), keyDown(), mouseWheelMoved(), Slic3r::GUI::DesignPanel::populate_plane_choices(), Slic3r::GUI::DesignPanel::populate_sheet_body_choices(), Slic3r::GUI::DesignPanel::read_revolve_axis(), Slic3r::GUI::PresetComboBox::selection_is_changed_according_to_physical_printers(), Slic3r::GUI::DesignPanel::sheet_choice_body(), Slic3r::GUI::PlaterPresetComboBox::switch_to_tab(), Slic3r::GUI::PresetComboBox::update(), Slic3r::GUI::PlaterPresetComboBox::update_badge_according_flag(), and Slic3r::GUI::TabPresetComboBox::update_dirty().
|
overrideinherited |
References items.
Referenced by Slic3r::GUI::DiffPresetDialog::create_presets_sizer(), Slic3r::GUI::PresetComboBox::get_preset_item_name(), Slic3r::GUI::get_selection(), Slic3r::GUI::Plater::priv::on_select_preset(), Slic3r::GUI::CalibrateFilamentComboBox::OnSelect(), Slic3r::anonymous_namespace{PluginHostPresets.cpp}::resolve_combo_preset(), Slic3r::GUI::PresetComboBox::selection_is_changed_according_to_physical_printers(), Slic3r::GUI::PlaterPresetComboBox::switch_to_tab(), Slic3r::GUI::PresetComboBox::update(), Slic3r::GUI::TabPresetComboBox::update_dirty(), and Slic3r::GUI::PresetComboBox::update_selection().
|
inherited |
|
inherited |
References drop, and GetLabel().
Referenced by Slic3r::GUI::PlaterPresetComboBox::PlaterPresetComboBox(), Slic3r::GUI::Choice::BUILD(), Slic3r::GUI::PrinterAgentChoice::BUILD(), Slic3r::GUI::GridCellChoiceEditor::EndEdit(), Slic3r::GUI::GridCellFilamentsEditor::EndEdit(), Slic3r::GUI::IMEXModesCtrl::fix_row_name(), Slic3r::GUI::Choice::get_value(), Slic3r::GUI::IMEXModesCtrl::snapshot_row(), Slic3r::GUI::TabPrint::toggle_options(), Slic3r::GUI::CalibrateFilamentComboBox::update(), and Slic3r::GUI::PresetComboBox::update_ams_color().
| bool Slic3r::GUI::LayerNumberTextInput::is_layer_number_valid | ( | ) |
References End, m_layer_number, m_value_type, and Slic3r::GUI::MIN_LAYER_VALUE.
Referenced by LayerNumberTextInput(), and update_label().
|
privateinherited |
References DD_ITEM_STYLE_DISABLED, drop, drop_down, GetSelection(), items, sendComboBoxEvent(), and SetSelection().
|
inline |
References LayerNumberTextInput(), link(), and m_another_layer_input.
Referenced by Slic3r::GUI::OtherLayersSeqPanel::append_layer(), and link().
|
privateinherited |
|
privateinherited |
References drop_down, GetCount(), GetSelection(), sendComboBoxEvent(), and SetSelection().
|
overrideprotectedinherited |
References SetValue().
|
privateinherited |
|
overridevirtualinherited |
References drop, and TextInput::Rescale().
Referenced by Slic3r::GUI::PresetComboBox::msw_rescale().
|
inherited |
|
protectedinherited |
References drop.
Referenced by keyDown(), mouseWheelMoved(), and SelectAndNotify().
| void Slic3r::GUI::LayerNumberTextInput::set_layer_number | ( | int | layer_number | ) |
References Custom, End, m_layer_number, m_value_type, Slic3r::GUI::MAX_LAYER_VALUE, ComboBox::SetSelection(), and update_label().
Referenced by LayerNumberTextInput(), and Slic3r::GUI::OtherLayersSeqPanel::append_layer().
|
inherited |
References image_for_text, is_replace_text_to_image, and replace_text.
Referenced by Slic3r::GUI::PlaterPresetComboBox::update().
|
inherited |
Referenced by Slic3r::GUI::PresetComboBox::add_ams_filaments(), and Slic3r::GUI::PlaterPresetComboBox::update().
|
overridevirtualinherited |
Referenced by Slic3r::GUI::PresetComboBox::PresetComboBox(), Slic3r::GUI::GridCellChoiceEditor::Create(), and Slic3r::GUI::use_nozzle_row_font().
|
inherited |
|
inherited |
References items.
Referenced by Slic3r::GUI::PlaterPresetComboBox::update(), and Slic3r::GUI::TabPresetComboBox::update().
|
inherited |
|
inherited |
|
inherited |
Referenced by Slic3r::GUI::PlaterPresetComboBox::update(), and Slic3r::GUI::TabPresetComboBox::update().
|
inlineinherited |
References m_keep_drop_arrow.
|
overrideinherited |
References image_for_text, is_replace_text_to_image, replace_text, TextInput::SetIcon_1(), TextInput::SetLabel(), and text_off.
Referenced by Slic3r::GUI::create_select_filament_preset_checkbox(), SetSelection(), SetString(), SetValue(), and Slic3r::GUI::LayerNumberTextInput::update_label().
|
overrideinherited |
References drop, items, m_keep_drop_arrow, and SetLabel().
Referenced by ComboBox(), Slic3r::GUI::DesignPanel::DesignPanel(), Slic3r::GUI::LayerNumberTextInput::LayerNumberTextInput(), Slic3r::GUI::GridCellChoiceEditor::BeginEdit(), Slic3r::GUI::GridCellFilamentsEditor::BeginEdit(), BitmapChoiceRenderer::CreateEditorCtrl(), Slic3r::GUI::DesignPanel::fill_body_choice(), Slic3r::GUI::DesignPanel::fill_revolve_axes(), keyDown(), mouseWheelMoved(), Slic3r::GUI::Sidebar::on_filament_count_change(), Slic3r::GUI::CalibrateFilamentComboBox::OnSelect(), Slic3r::GUI::PlaterPresetComboBox::OnSelect(), Slic3r::GUI::PresetComboBox::OnSelect(), Slic3r::GUI::TabPresetComboBox::OnSelect(), Slic3r::GUI::DesignPanel::populate_body_choices(), Slic3r::GUI::DesignPanel::populate_plane_choices(), Slic3r::GUI::DesignPanel::populate_sheet_body_choices(), Slic3r::GUI::select_nozzle_volume(), Slic3r::GUI::DesignPanel::select_sheet_choice(), SelectAndNotify(), Slic3r::GUI::LayerNumberTextInput::set_layer_number(), Slic3r::GUI::Choice::set_selection(), Slic3r::GUI::Choice::set_value(), Slic3r::GUI::Choice::set_value(), Slic3r::GUI::TabPresetComboBox::update_dirty(), Slic3r::GUI::Sidebar::update_presets(), and Slic3r::GUI::PresetComboBox::update_selection().
|
overrideinherited |
References drop, items, and SetLabel().
Referenced by Slic3r::GUI::TabPresetComboBox::update_dirty().
|
inherited |
References TextInput::SetLabel().
Referenced by Slic3r::GUI::Choice::BUILD(), and Slic3r::GUI::PrinterAgentChoice::BUILD().
|
inherited |
References drop, items, m_keep_drop_arrow, and SetLabel().
Referenced by Slic3r::GUI::CalibrateFilamentComboBox::load_tray(), OnEdit(), Slic3r::GUI::Choice::set_selection(), Slic3r::GUI::Choice::set_value(), and Slic3r::GUI::Choice::set_value().
|
protected |
References End, is_layer_number_valid(), m_layer_number, m_value_type, and ComboBox::SetLabel().
Referenced by LayerNumberTextInput(), and set_layer_number().
|
privateinherited |
Referenced by ComboBox(), Append(), CloseDropdown(), DoClear(), DoDeleteOneItem(), DoInsertItems(), ForceDropdownOpen(), GetDropDown(), GetSelection(), GetValue(), keyDown(), mouseDown(), onMove(), Rescale(), sendComboBoxEvent(), SetFlag(), SetItemActionBitmap(), SetItemBitmap(), SetItems(), SetItemTooltip(), SetSelection(), SetString(), and SetValue().
|
privateinherited |
Referenced by ComboBox(), ForceDropdownOpen(), is_drop_down(), keyDown(), mouseDown(), and mouseWheelMoved().
|
privateinherited |
Referenced by set_replace_text(), and SetLabel().
|
privateinherited |
Referenced by set_replace_text(), and SetLabel().
|
privateinherited |
Referenced by ComboBox(), Append(), DoClear(), DoDeleteOneItem(), DoGetItemClientData(), DoInsertItems(), DoSetItemClientData(), ForceDropdownOpen(), GetCount(), GetFlag(), GetItemAlias(), GetItemBitmap(), GetItemTooltip(), GetString(), keyDown(), mouseDown(), SetFlag(), SetItemActionBitmap(), SetItemAlias(), SetItemBitmap(), SetItems(), SetItemTooltip(), SetSelection(), SetString(), and SetValue().
|
private |
Referenced by LayerNumberTextInput(), and link().
|
privateinherited |
Referenced by SetKeepDropArrow(), SetSelection(), and SetValue().
|
private |
Referenced by LayerNumberTextInput(), get_layer_number(), is_layer_number_valid(), set_layer_number(), and update_label().
|
private |
Referenced by LayerNumberTextInput(), and get_input_type().
|
private |
Referenced by LayerNumberTextInput(), get_layer_number(), get_value_type(), is_layer_number_valid(), set_layer_number(), and update_label().
|
privateinherited |
Referenced by set_replace_text(), and SetLabel().
|
privateinherited |
Referenced by ComboBox(), GetLabel(), and SetLabel().