Public Member Functions | |
| GridComboBox (wxWindow *parent, wxSize size, int col_idx, int extruder_id=MAIN_EXTRUDER_ID) | |
| int | get_col_idx () |
| void | set_col_idx (int idx) |
| int | get_extruder_id () |
| void | set_extruder_id (int id) |
| 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 | |
| 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 | |
| int | m_col_idx |
| int | m_extruder_id {MAIN_EXTRUDER_ID} |
| 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 |
| Slic3r::GUI::GridComboBox::GridComboBox | ( | wxWindow * | parent, |
| wxSize | size, | ||
| int | col_idx, | ||
| int | extruder_id = MAIN_EXTRUDER_ID ) |
References ComboBox::ComboBox(), m_col_idx, and m_extruder_id.
|
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 |
|
inline |
References m_extruder_id.
|
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().
|
privateinherited |
References DD_ITEM_STYLE_DISABLED, drop, drop_down, GetSelection(), items, sendComboBoxEvent(), and SetSelection().
|
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().
|
inline |
|
inline |
References m_extruder_id.
|
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().
|
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 GridComboBox(), get_col_idx(), and set_col_idx().
|
private |
Referenced by GridComboBox(), get_extruder_id(), and set_extruder_id().
|
privateinherited |
Referenced by SetKeepDropArrow(), SetSelection(), and SetValue().
|
privateinherited |
Referenced by set_replace_text(), and SetLabel().
|
privateinherited |
Referenced by ComboBox(), GetLabel(), and SetLabel().