#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/GUI_ObjectTable.hpp>
Classes | |
| struct | ObjectGridRow |
| struct | ObjectGridCol |
Public Types | |
| enum | GridRowType { row_object = 0 , row_volume = 1 } |
| enum | GridColType { col_printable = 0 , col_printable_reset = 1 , col_plate_index = 2 , col_name = 3 , col_filaments = 4 , col_filaments_reset = 5 , col_layer_height = 6 , col_layer_height_reset = 7 , col_wall_loops = 8 , col_wall_loops_reset = 9 , col_fill_density = 10 , col_fill_density_reset = 11 , col_enable_support = 12 , col_enable_support_reset = 13 , col_brim_type = 14 , col_brim_type_reset = 15 , col_speed_perimeter = 16 , col_speed_perimeter_reset = 17 , col_max } |
| typedef std::function< bool(ObjectGridRow *row1, ObjectGridRow *row2)> | compare_row_func |
Public Member Functions | |
| ObjectGridTable (ObjectTablePanel *panel) | |
| ~ObjectGridTable () | |
| void | release_object_configs () |
| wxString | convert_filament_string (int index, wxString &filament_str) |
| virtual int | GetNumberRows () wxOVERRIDE |
| virtual int | GetNumberCols () wxOVERRIDE |
| virtual bool | IsEmptyCell (int row, int col) wxOVERRIDE |
| virtual wxString | GetTypeName (int row, int col) wxOVERRIDE |
| virtual bool | CanGetValueAs (int row, int col, const wxString &typeName) wxOVERRIDE |
| virtual bool | CanSetValueAs (int row, int col, const wxString &typeName) wxOVERRIDE |
| virtual wxString | GetValue (int row, int col) wxOVERRIDE |
| virtual void | SetValue (int row, int col, const wxString &value) wxOVERRIDE |
| virtual long | GetValueAsLong (int row, int col) wxOVERRIDE |
| virtual bool | GetValueAsBool (int row, int col) wxOVERRIDE |
| virtual double | GetValueAsDouble (int row, int col) wxOVERRIDE |
| virtual void | SetValueAsLong (int row, int col, long value) wxOVERRIDE |
| virtual void | SetValueAsBool (int row, int col, bool value) wxOVERRIDE |
| virtual void | SetValueAsDouble (int row, int col, double value) wxOVERRIDE |
| void | SetColLabelValue (int col, const wxString &) wxOVERRIDE |
| wxString | GetColLabelValue (int col) wxOVERRIDE |
| template<typename TYPE> | |
| const TYPE * | get_object_config_value (const DynamicPrintConfig &global_config, ModelConfig *obj_config, std::string &config_option) |
| template<typename TYPE> | |
| const TYPE * | get_volume_config_value (const DynamicPrintConfig &global_config, ModelConfig *obj_config, ModelConfig *volume_config, std::string &config_option) |
| int | get_row_count () |
| int | get_col_count () |
| ObjectGridCol * | get_grid_col (int col) |
| ObjectGridRow * | get_grid_row (int row) |
| void | construct_object_configs (ObjectGrid *object_grid) |
| void | update_value_to_config (ModelConfig *config, std::string &key, ConfigOption &new_value, ConfigOption &ori_value) |
| void | update_filament_to_config (ModelConfig *config, std::string &key, ConfigOption &new_value, ConfigOption &ori_value, bool is_object) |
| void | update_volume_values_from_object (int row, int col) |
| void | update_value_to_object (Model *model, ObjectGridRow *grid_row, int col) |
| wxBitmap & | get_undo_bitmap (bool selected=false) |
| wxBitmap * | get_color_bitmap (int color_index) |
| bool | OnCellLeftClick (int row, int col, ConfigOptionType &type) |
| void | OnSelectCell (int row, int col) |
| void | OnRangeSelected (int row, int col, int row_count, int col_count) |
| void | OnCellValueChanged (int row, int col) |
| void | SetSelection (int object_id, int volume_id) |
| void | sort_by_default () |
| void | sort_by_col (int col) |
| void | reload_object_data (ObjectGridRow *grid_row, const std::string &category, DynamicPrintConfig &global_config) |
| void | reload_part_data (ObjectGridRow *volume_row, ObjectGridRow *object_row, const std::string &category, DynamicPrintConfig &global_config) |
| void | reload_cell_data (int row, const std::string &category) |
| void | resetValuesInCurrentCell (wxEvent &WXUNUSED(event)) |
| void | enable_reset_all_button (bool enable) |
Public Attributes | |
| int | m_icon_col_width { 0 } |
| int | m_icon_row_height { 0 } |
| ObjectTablePanel * | m_panel { nullptr } |
Static Public Attributes | |
| static std::string | category_all = "All" |
| static std::string | plate_outside = L("Outside") |
Private Member Functions | |
| void | init_cols (ObjectGrid *object_grid) |
| void | sort_row_data (compare_row_func sort_func) |
| void | update_row_properties () |
Private Attributes | |
| std::vector< ObjectGridRow * > | m_grid_data |
| std::vector< ObjectGridCol * > | m_col_data |
| bool | m_data_valid {false} |
| std::list< wxGridCellCoords > | m_selected_cells |
| int | m_sort_col { -1 } |
| int | m_current_row {-1} |
| int | m_current_col {-1} |
| wxArrayString | m_colLabels |
| typedef std::function<bool(ObjectGridRow* row1, ObjectGridRow* row2)> Slic3r::GUI::ObjectGridTable::compare_row_func |
| Enumerator | |
|---|---|
| row_object | |
| row_volume | |
|
inline |
| Slic3r::GUI::ObjectGridTable::~ObjectGridTable | ( | ) |
References m_col_data, m_grid_data, and m_selected_cells.
|
virtual |
References Slic3r::GUI::ObjectGridTable::ObjectGridCol::b_for_object, Slic3r::GUI::ObjectGridTable::ObjectGridCol::b_icon, Slic3r::coBool, Slic3r::coEnum, Slic3r::coFloat, Slic3r::coInt, Slic3r::coPercent, Slic3r::coString, m_col_data, m_grid_data, row_object, row_volume, and Slic3r::GUI::ObjectGridTable::ObjectGridCol::type.
Referenced by CanSetValueAs().
|
virtual |
References CanGetValueAs().
| void Slic3r::GUI::ObjectGridTable::construct_object_configs | ( | ObjectGrid * | object_grid | ) |
References Slic3r::GUI::ObjectGridTable::ObjectGridRow::brim_type, Slic3r::ConfigOptionInt::clone(), col_brim_type, col_enable_support, col_filaments, col_fill_density, col_layer_height, col_speed_perimeter, col_wall_loops, Slic3r::GUI::ObjectGridTable::ObjectGridRow::config, Slic3r::ModelVolume::config, Slic3r::GUI::ObjectGridTable::ObjectGridRow::enable_support, Slic3r::ModelConfig::erase(), Slic3r::GUI::ObjectGridTable::ObjectGridRow::filaments, Slic3r::GUI::PartPlateList::find_instance_belongs(), get_object_config_value(), get_volume_config_value(), init_cols(), Slic3r::GUI::ObjectGridTable::ObjectGridRow::layer_height, m_col_data, m_data_valid, m_grid_data, m_panel, Slic3r::GUI::ObjectGridTable::ObjectGridRow::model_volume_type, Slic3r::GUI::ObjectGridTable::ObjectGridRow::name, Slic3r::ModelVolume::name, Slic3r::ConfigBase::option(), Slic3r::ModelConfig::option(), Slic3r::GUI::ObjectGridTable::ObjectGridRow::ori_brim_type, Slic3r::GUI::ObjectGridTable::ObjectGridRow::ori_enable_support, Slic3r::GUI::ObjectGridTable::ObjectGridRow::ori_fill_density, Slic3r::GUI::ObjectGridTable::ObjectGridRow::ori_layer_height, Slic3r::GUI::ObjectGridTable::ObjectGridRow::ori_name, Slic3r::GUI::ObjectGridTable::ObjectGridRow::ori_printable, Slic3r::GUI::ObjectGridTable::ObjectGridRow::ori_speed_perimeter, Slic3r::GUI::ObjectGridTable::ObjectGridRow::ori_wall_loops, Slic3r::GUI::ObjectGridTable::ObjectGridRow::plate_index, plate_outside, Slic3r::GUI::ObjectGridTable::ObjectGridRow::printable, release_object_configs(), row_object, row_volume, Slic3r::ModelConfig::set_key_value(), Slic3r::GUI::ObjectGridTable::ObjectGridRow::sparse_infill_density, Slic3r::GUI::ObjectGridTable::ObjectGridRow::speed_perimeter, Slic3r::ModelVolume::type(), Slic3r::ConfigOptionSingle< T >::value, and Slic3r::GUI::ObjectGridTable::ObjectGridRow::wall_loops.
| wxString Slic3r::GUI::ObjectGridTable::convert_filament_string | ( | int | index, |
| wxString & | filament_str ) |
Referenced by GetValue().
| void Slic3r::GUI::ObjectGridTable::enable_reset_all_button | ( | bool | enable | ) |
|
inline |
References m_col_data.
| wxBitmap * Slic3r::GUI::ObjectGridTable::get_color_bitmap | ( | int | color_index | ) |
References m_panel.
Referenced by Slic3r::GUI::GridCellComboBoxRenderer::Draw(), and Slic3r::GUI::GridCellFilamentsRenderer::Draw().
|
inline |
References m_col_data.
Referenced by Slic3r::GUI::GridCellFilamentsEditor::BeginEdit(), Slic3r::GUI::GridCellTextEditor::BeginEdit(), Slic3r::GUI::GridCellChoiceEditor::DoActivate(), Slic3r::GUI::GridCellFilamentsEditor::DoActivate(), Slic3r::GUI::GridCellComboBoxRenderer::Draw(), Slic3r::GUI::GridCellFilamentsRenderer::Draw(), Slic3r::GUI::GridCellIconRenderer::Draw(), Slic3r::GUI::GridCellSupportRenderer::Draw(), Slic3r::GUI::ObjectGrid::DrawColLabel(), Slic3r::GUI::GridCellTextEditor::EndEdit(), Slic3r::GUI::GridCellChoiceEditor::TryActivate(), Slic3r::GUI::GridCellFilamentsEditor::TryActivate(), and update_row_properties().
|
inline |
References m_grid_data.
Referenced by Slic3r::GUI::GridCellFilamentsEditor::BeginEdit(), Slic3r::GUI::GridCellTextEditor::BeginEdit(), Slic3r::GUI::GridCellChoiceEditor::DoActivate(), Slic3r::GUI::GridCellFilamentsEditor::DoActivate(), Slic3r::GUI::GridCellComboBoxRenderer::Draw(), Slic3r::GUI::GridCellFilamentsRenderer::Draw(), Slic3r::GUI::GridCellIconRenderer::Draw(), Slic3r::GUI::GridCellSupportRenderer::Draw(), Slic3r::GUI::GridCellTextEditor::EndEdit(), Slic3r::GUI::GridCellChoiceEditor::TryActivate(), Slic3r::GUI::GridCellFilamentsEditor::TryActivate(), and update_row_properties().
|
inline |
References get_object_config_value().
Referenced by construct_object_configs(), get_object_config_value(), and reload_object_data().
|
inline |
References m_grid_data.
Referenced by update_row_properties().
| wxBitmap & Slic3r::GUI::ObjectGridTable::get_undo_bitmap | ( | bool | selected = false | ) |
References m_panel.
Referenced by Slic3r::GUI::GridCellIconRenderer::Draw().
|
inline |
References Slic3r::ModelConfig::has(), Slic3r::ConfigBase::option(), and Slic3r::ModelConfig::option().
Referenced by construct_object_configs(), and reload_part_data().
| wxString Slic3r::GUI::ObjectGridTable::GetColLabelValue | ( | int | col | ) |
References m_colLabels.
|
virtual |
References m_col_data.
|
virtual |
References m_grid_data.
|
virtual |
References Slic3r::coBool, Slic3r::coEnum, Slic3r::coFloat, Slic3r::coInt, Slic3r::coPercent, Slic3r::coString, m_col_data, and Slic3r::GUI::ObjectGridTable::ObjectGridCol::type.
|
virtual |
References Slic3r::GUI::ObjectGridTable::ObjectGridCol::b_for_object, Slic3r::GUI::ObjectGridTable::ObjectGridCol::choice_count, Slic3r::GUI::ObjectGridTable::ObjectGridCol::choices, Slic3r::coBool, Slic3r::coEnum, Slic3r::coFloat, Slic3r::coInt, col_brim_type, col_enable_support, col_filaments, col_fill_density, col_layer_height, col_name, col_plate_index, col_printable, col_speed_perimeter, col_wall_loops, convert_filament_string(), Slic3r::coPercent, Slic3r::GUI::from_u8(), m_col_data, m_data_valid, m_grid_data, Slic3r::GUI::ObjectGridTable::ObjectGridRow::row_type, row_volume, Slic3r::ConfigOption::type(), Slic3r::GUI::ObjectGridTable::ObjectGridCol::type, and Slic3r::ConfigOptionSingle< T >::value.
Referenced by Slic3r::GUI::GridCellTextEditor::BeginEdit(), Slic3r::GUI::GridCellSupportRenderer::Draw(), and Slic3r::GUI::ObjectGrid::OnKeyDown().
|
virtual |
References Slic3r::ConfigOptionBool::getBool(), m_data_valid, and m_grid_data.
Referenced by Slic3r::GUI::ObjectGrid::OnKeyDown().
|
virtual |
References Slic3r::ConfigOptionFloat::getFloat(), m_data_valid, and m_grid_data.
|
virtual |
References Slic3r::ConfigOptionInt::getInt(), m_data_valid, and m_grid_data.
|
private |
References _L, category_all, Slic3r::GUI::ObjectGridTable::ObjectGridCol::choice_count, Slic3r::GUI::ObjectGridTable::ObjectGridCol::choices, Slic3r::coBool, Slic3r::coEnum, Slic3r::coFloat, Slic3r::coInt, Slic3r::coPercent, Slic3r::coString, L, m_col_data, m_panel, and Slic3r::GUI::ObjectGridTable::ObjectGridCol::size.
Referenced by construct_object_configs().
|
virtual |
References Slic3r::GUI::ObjectGridTable::ObjectGridCol::b_for_object, m_col_data, m_grid_data, row_object, and row_volume.
| bool Slic3r::GUI::ObjectGridTable::OnCellLeftClick | ( | int | row, |
| int | col, | ||
| ConfigOptionType & | type ) |
References Slic3r::GUI::ObjectGridTable::ObjectGridCol::b_from_config, Slic3r::GUI::ObjectGridTable::ObjectGridCol::b_icon, Slic3r::GUI::ObjectGridTable::ObjectGridCol::category, col_filaments_reset, col_printable_reset, Slic3r::GUI::ObjectGridTable::ObjectGridRow::config, Slic3r::GUI::ObjectGridTable::ObjectGridCol::key, m_col_data, m_grid_data, m_panel, Slic3r::GUI::ObjectVolumeID::object, Slic3r::GUI::ObjectGridTable::ObjectGridRow::object_id, row_object, Slic3r::GUI::ObjectGridTable::ObjectGridRow::row_type, sort_by_col(), Slic3r::GUI::ObjectGridTable::ObjectGridCol::type, update_filament_to_config(), update_value_to_config(), update_value_to_object(), update_volume_values_from_object(), Slic3r::GUI::ObjectVolumeID::volume, Slic3r::GUI::ObjectGridTable::ObjectGridRow::volume_id, and Slic3r::ModelObject::volumes.
| void Slic3r::GUI::ObjectGridTable::OnCellValueChanged | ( | int | row, |
| int | col ) |
References Slic3r::GUI::ObjectGridTable::ObjectGridCol::b_from_config, Slic3r::GUI::ObjectGridTable::ObjectGridCol::category, col_filaments, col_filaments_reset, Slic3r::GUI::ObjectGridTable::ObjectGridRow::config, Slic3r::GUI::ObjectGridTable::ObjectGridCol::key, m_col_data, m_grid_data, m_panel, Slic3r::GUI::ObjectVolumeID::object, Slic3r::GUI::ObjectGridTable::ObjectGridRow::object_id, row_object, Slic3r::GUI::ObjectGridTable::ObjectGridRow::row_type, Slic3r::GUI::ObjectVolumeID::volume, and Slic3r::GUI::ObjectGridTable::ObjectGridRow::volume_id.
Referenced by Slic3r::GUI::ObjectGrid::paste_data().
| void Slic3r::GUI::ObjectGridTable::OnRangeSelected | ( | int | row, |
| int | col, | ||
| int | row_count, | ||
| int | col_count ) |
| void Slic3r::GUI::ObjectGridTable::OnSelectCell | ( | int | row, |
| int | col ) |
References Slic3r::GUI::ObjectGridTable::ObjectGridCol::category, col_filaments, Slic3r::GUI::ObjectGridTable::ObjectGridRow::config, m_col_data, m_current_col, m_current_row, m_grid_data, m_panel, m_selected_cells, Slic3r::GUI::ObjectVolumeID::object, Slic3r::GUI::ObjectGridTable::ObjectGridRow::object_id, row_object, Slic3r::GUI::ObjectGridTable::ObjectGridRow::row_type, Slic3r::GUI::ObjectVolumeID::volume, and Slic3r::GUI::ObjectGridTable::ObjectGridRow::volume_id.
| void Slic3r::GUI::ObjectGridTable::release_object_configs | ( | ) |
References m_col_data, m_data_valid, and m_grid_data.
Referenced by construct_object_configs().
| void Slic3r::GUI::ObjectGridTable::reload_cell_data | ( | int | row, |
| const std::string & | category ) |
References m_grid_data, m_panel, Slic3r::GUI::ObjectVolumeID::object, Slic3r::GUI::ObjectGridTable::ObjectGridRow::object_id, reload_object_data(), reload_part_data(), row_object, Slic3r::GUI::ObjectGridTable::ObjectGridRow::row_type, row_volume, Slic3r::GUI::ObjectVolumeID::volume, Slic3r::GUI::ObjectGridTable::ObjectGridRow::volume_id, and Slic3r::ModelObject::volumes.
| void Slic3r::GUI::ObjectGridTable::reload_object_data | ( | ObjectGridRow * | grid_row, |
| const std::string & | category, | ||
| DynamicPrintConfig & | global_config ) |
References Slic3r::GUI::ObjectGridTable::ObjectGridRow::brim_type, category_all, col_brim_type, col_enable_support, col_fill_density, col_layer_height, col_speed_perimeter, col_wall_loops, Slic3r::GUI::ObjectGridTable::ObjectGridRow::config, Slic3r::GUI::ObjectGridTable::ObjectGridRow::enable_support, get_object_config_value(), L, Slic3r::GUI::ObjectGridTable::ObjectGridRow::layer_height, m_col_data, Slic3r::ConfigBase::option(), Slic3r::GUI::ObjectGridTable::ObjectGridRow::ori_brim_type, Slic3r::GUI::ObjectGridTable::ObjectGridRow::ori_enable_support, Slic3r::GUI::ObjectGridTable::ObjectGridRow::ori_fill_density, Slic3r::GUI::ObjectGridTable::ObjectGridRow::ori_layer_height, Slic3r::GUI::ObjectGridTable::ObjectGridRow::ori_speed_perimeter, Slic3r::GUI::ObjectGridTable::ObjectGridRow::ori_wall_loops, Slic3r::GUI::ObjectGridTable::ObjectGridRow::sparse_infill_density, Slic3r::GUI::ObjectGridTable::ObjectGridRow::speed_perimeter, and Slic3r::GUI::ObjectGridTable::ObjectGridRow::wall_loops.
Referenced by reload_cell_data().
| void Slic3r::GUI::ObjectGridTable::reload_part_data | ( | ObjectGridRow * | volume_row, |
| ObjectGridRow * | object_row, | ||
| const std::string & | category, | ||
| DynamicPrintConfig & | global_config ) |
References Slic3r::GUI::ObjectGridTable::ObjectGridRow::brim_type, category_all, col_brim_type, col_enable_support, col_fill_density, col_layer_height, col_speed_perimeter, col_wall_loops, Slic3r::GUI::ObjectGridTable::ObjectGridRow::config, Slic3r::GUI::ObjectGridTable::ObjectGridRow::enable_support, Slic3r::ModelConfig::erase(), get_volume_config_value(), L, Slic3r::GUI::ObjectGridTable::ObjectGridRow::layer_height, m_col_data, Slic3r::GUI::ObjectGridTable::ObjectGridRow::ori_brim_type, Slic3r::GUI::ObjectGridTable::ObjectGridRow::ori_enable_support, Slic3r::GUI::ObjectGridTable::ObjectGridRow::ori_fill_density, Slic3r::GUI::ObjectGridTable::ObjectGridRow::ori_layer_height, Slic3r::GUI::ObjectGridTable::ObjectGridRow::ori_speed_perimeter, Slic3r::GUI::ObjectGridTable::ObjectGridRow::ori_wall_loops, Slic3r::GUI::ObjectGridTable::ObjectGridRow::sparse_infill_density, Slic3r::GUI::ObjectGridTable::ObjectGridRow::speed_perimeter, and Slic3r::GUI::ObjectGridTable::ObjectGridRow::wall_loops.
Referenced by reload_cell_data(), and update_volume_values_from_object().
| void Slic3r::GUI::ObjectGridTable::resetValuesInCurrentCell | ( | wxEvent & | WXUNUSEDevent | ) |
References Slic3r::GUI::ObjectGridTable::ObjectGridCol::category, Slic3r::GUI::ObjectGridTable::ObjectGridRow::config, m_col_data, m_current_col, m_current_row, m_grid_data, m_panel, Slic3r::GUI::ObjectGridTable::ObjectGridRow::object_id, row_object, and Slic3r::GUI::ObjectGridTable::ObjectGridRow::row_type.
| void Slic3r::GUI::ObjectGridTable::SetColLabelValue | ( | int | col, |
| const wxString & | value ) |
References m_colLabels.
| void Slic3r::GUI::ObjectGridTable::SetSelection | ( | int | object_id, |
| int | volume_id ) |
References m_grid_data, m_panel, Slic3r::GUI::ObjectGridTable::ObjectGridRow::object_id, Slic3r::GUI::ObjectGridTable::ObjectGridRow::row_type, row_volume, and Slic3r::GUI::ObjectGridTable::ObjectGridRow::volume_id.
|
virtual |
References Slic3r::GUI::ObjectGridTable::ObjectGridCol::b_from_config, Slic3r::GUI::ObjectGridTable::ObjectGridCol::choice_count, Slic3r::GUI::ObjectGridTable::ObjectGridCol::choices, Slic3r::coBool, Slic3r::coEnum, Slic3r::coFloat, Slic3r::coInt, col_brim_type, col_filaments, Slic3r::GUI::ObjectGridTable::ObjectGridRow::config, Slic3r::coPercent, Slic3r::GUI::into_u8(), Slic3r::GUI::ObjectGridTable::ObjectGridCol::key, m_col_data, m_grid_data, m_panel, Slic3r::GUI::obj_list(), row_object, Slic3r::GUI::ObjectGridTable::ObjectGridRow::row_type, row_volume, Slic3r::GUI::ObjectGridTable::ObjectGridCol::type, update_filament_to_config(), update_value_to_config(), update_value_to_object(), update_volume_values_from_object(), and Slic3r::ConfigOptionSingle< T >::value.
Referenced by Slic3r::GUI::GridCellChoiceEditor::DoActivate(), Slic3r::GUI::GridCellFilamentsEditor::DoActivate(), and Slic3r::GUI::ObjectGrid::paste_data().
|
virtual |
References Slic3r::GUI::ObjectGridTable::ObjectGridCol::b_from_config, Slic3r::GUI::ObjectGridTable::ObjectGridRow::config, Slic3r::GUI::ObjectGridTable::ObjectGridCol::key, m_col_data, m_grid_data, m_panel, update_value_to_config(), update_value_to_object(), and Slic3r::ConfigOptionSingle< T >::value.
|
virtual |
References Slic3r::GUI::ObjectGridTable::ObjectGridRow::config, Slic3r::coPercent, Slic3r::GUI::ObjectGridTable::ObjectGridCol::key, m_col_data, m_grid_data, Slic3r::GUI::ObjectGridTable::ObjectGridCol::type, update_value_to_config(), and Slic3r::ConfigOptionSingle< T >::value.
|
virtual |
References Slic3r::GUI::ObjectGridTable::ObjectGridRow::config, Slic3r::GUI::ObjectGridTable::ObjectGridCol::key, m_col_data, m_grid_data, update_value_to_config(), and Slic3r::ConfigOptionSingle< T >::value.
| void Slic3r::GUI::ObjectGridTable::sort_by_col | ( | int | col | ) |
References col_filaments, col_name, col_plate_index, Slic3r::GUI::ObjectGridTable::ObjectGridRow::filaments, m_sort_col, Slic3r::GUI::ObjectGridTable::ObjectGridRow::name, Slic3r::GUI::ObjectGridTable::ObjectGridRow::plate_index, plate_outside, sort_row_data(), and Slic3r::ConfigOptionSingle< T >::value.
Referenced by OnCellLeftClick(), and Slic3r::GUI::ObjectGrid::OnColHeadLeftClick().
| void Slic3r::GUI::ObjectGridTable::sort_by_default | ( | ) |
References m_sort_col, Slic3r::GUI::ObjectGridTable::ObjectGridRow::name, Slic3r::GUI::ObjectGridTable::ObjectGridRow::plate_index, plate_outside, sort_row_data(), and Slic3r::ConfigOptionSingle< T >::value.
|
private |
References m_grid_data, and row_object.
Referenced by sort_by_col(), and sort_by_default().
| void Slic3r::GUI::ObjectGridTable::update_filament_to_config | ( | ModelConfig * | config, |
| std::string & | key, | ||
| ConfigOption & | new_value, | ||
| ConfigOption & | ori_value, | ||
| bool | is_object ) |
References Slic3r::ConfigOption::clone(), Slic3r::ModelConfig::set_key_value(), Slic3r::ModelConfig::touch(), and update_value_to_config().
Referenced by OnCellLeftClick(), and SetValue().
|
private |
References Slic3r::GUI::ObjectGridTable::ObjectGridCol::b_for_object, Slic3r::GUI::ObjectGridTable::ObjectGridCol::b_icon, Label::Body_12, Slic3r::GUI::ObjectGridTable::ObjectGridCol::choices, Slic3r::coBool, Slic3r::coEnum, Slic3r::coFloat, Slic3r::coInt, col_filaments, col_name, col_plate_index, col_speed_perimeter, col_speed_perimeter_reset, Slic3r::coPercent, Slic3r::coString, get_grid_col(), get_grid_row(), get_row_count(), m_panel, Slic3r::GUI::ObjectGridTable::ObjectGridRow::row_type, row_volume, and Slic3r::GUI::ObjectGridTable::ObjectGridCol::type.
| void Slic3r::GUI::ObjectGridTable::update_value_to_config | ( | ModelConfig * | config, |
| std::string & | key, | ||
| ConfigOption & | new_value, | ||
| ConfigOption & | ori_value ) |
References Slic3r::ConfigOption::clone(), Slic3r::ModelConfig::erase(), Slic3r::ModelConfig::has(), Slic3r::ModelConfig::set_key_value(), and Slic3r::ModelConfig::touch().
Referenced by OnCellLeftClick(), SetValue(), SetValueAsBool(), SetValueAsDouble(), SetValueAsLong(), and update_filament_to_config().
| void Slic3r::GUI::ObjectGridTable::update_value_to_object | ( | Model * | model, |
| ObjectGridRow * | grid_row, | ||
| int | col ) |
References col_name, col_printable, Slic3r::GUI::ObjectGridTable::ObjectGridRow::name, Slic3r::ModelVolume::name, Slic3r::GUI::ObjectGridTable::ObjectGridRow::object_id, Slic3r::Model::objects, Slic3r::GUI::ObjectGridTable::ObjectGridRow::printable, row_object, Slic3r::GUI::ObjectGridTable::ObjectGridRow::row_type, Slic3r::ConfigOptionSingle< T >::value, and Slic3r::GUI::ObjectGridTable::ObjectGridRow::volume_id.
Referenced by OnCellLeftClick(), SetValue(), and SetValueAsBool().
| void Slic3r::GUI::ObjectGridTable::update_volume_values_from_object | ( | int | row, |
| int | col ) |
References col_filaments, Slic3r::GUI::ObjectGridTable::ObjectGridRow::config, Slic3r::ModelConfig::erase(), Slic3r::GUI::ObjectGridTable::ObjectGridRow::filaments, m_col_data, m_grid_data, m_panel, Slic3r::ModelConfig::option(), reload_part_data(), row_object, Slic3r::GUI::ObjectGridTable::ObjectGridRow::row_type, and row_volume.
Referenced by OnCellLeftClick(), and SetValue().
|
static |
|
private |
Referenced by ~ObjectGridTable(), CanGetValueAs(), construct_object_configs(), get_col_count(), get_grid_col(), GetNumberCols(), GetTypeName(), GetValue(), init_cols(), IsEmptyCell(), OnCellLeftClick(), OnCellValueChanged(), OnSelectCell(), release_object_configs(), reload_object_data(), reload_part_data(), resetValuesInCurrentCell(), SetValue(), SetValueAsBool(), SetValueAsDouble(), SetValueAsLong(), and update_volume_values_from_object().
|
private |
Referenced by GetColLabelValue(), and SetColLabelValue().
|
private |
Referenced by OnSelectCell(), and resetValuesInCurrentCell().
|
private |
Referenced by OnSelectCell(), and resetValuesInCurrentCell().
|
private |
Referenced by construct_object_configs(), GetValue(), GetValueAsBool(), GetValueAsDouble(), GetValueAsLong(), and release_object_configs().
|
private |
Referenced by ~ObjectGridTable(), CanGetValueAs(), construct_object_configs(), get_grid_row(), get_row_count(), GetNumberRows(), GetValue(), GetValueAsBool(), GetValueAsDouble(), GetValueAsLong(), IsEmptyCell(), OnCellLeftClick(), OnCellValueChanged(), OnSelectCell(), release_object_configs(), reload_cell_data(), resetValuesInCurrentCell(), SetSelection(), SetValue(), SetValueAsBool(), SetValueAsDouble(), SetValueAsLong(), sort_row_data(), and update_volume_values_from_object().
| int Slic3r::GUI::ObjectGridTable::m_icon_col_width { 0 } |
Referenced by Slic3r::GUI::GridCellIconRenderer::Draw().
| int Slic3r::GUI::ObjectGridTable::m_icon_row_height { 0 } |
Referenced by Slic3r::GUI::GridCellIconRenderer::Draw().
| ObjectTablePanel* Slic3r::GUI::ObjectGridTable::m_panel { nullptr } |
Referenced by ObjectGridTable(), construct_object_configs(), get_color_bitmap(), get_undo_bitmap(), init_cols(), OnCellLeftClick(), OnCellValueChanged(), OnSelectCell(), reload_cell_data(), resetValuesInCurrentCell(), SetSelection(), SetValue(), SetValueAsBool(), update_row_properties(), and update_volume_values_from_object().
|
private |
Referenced by ~ObjectGridTable(), and OnSelectCell().
|
private |
Referenced by sort_by_col(), and sort_by_default().
|
static |
Referenced by construct_object_configs(), sort_by_col(), and sort_by_default().