![]() |
Prusa Slicer 2.6.0
|
#include <src/slic3r/GUI/Search.hpp>
Inheritance diagram for Slic3r::Search::SearchDialog:
Collaboration diagram for Slic3r::Search::SearchDialog:Public Member Functions | |
| SearchDialog (OptionsSearcher *searcher) | |
| ~SearchDialog () | |
| void | Popup (wxPoint position=wxDefaultPosition) |
| void | ProcessSelection (wxDataViewItem selection) |
| void | msw_rescale () |
| void | on_sys_color_changed () override |
| float | scale_factor () const |
| float | prev_scale_factor () const |
| int | em_unit () const |
| const wxFont & | normal_font () const |
| void | enable_force_rescale () |
Protected Member Functions | |
| void | on_dpi_changed (const wxRect &suggested_rect) override |
Private Member Functions | |
| void | OnInputText (wxCommandEvent &event) |
| void | OnLeftUpInTextCtrl (wxEvent &event) |
| void | OnKeyDown (wxKeyEvent &event) |
| void | OnActivate (wxDataViewEvent &event) |
| void | OnSelect (wxDataViewEvent &event) |
| void | OnCheck (wxCommandEvent &event) |
| void | OnMotion (wxMouseEvent &event) |
| void | OnLeftDown (wxMouseEvent &event) |
| void | update_list () |
| bool | is_new_scale_factor () const |
| void | scale_win_font (wxWindow *window, const int font_point_size) |
| void | scale_controls_fonts (wxWindow *window, const int font_point_size) |
| void | rescale (const wxRect &suggested_rect) |
Private Attributes | |
| wxString | search_str |
| wxString | default_string |
| bool | prevent_list_events {false} |
| wxTextCtrl * | search_line { nullptr } |
| wxDataViewCtrl * | search_list { nullptr } |
| SearchListModel * | search_list_model { nullptr } |
| wxCheckBox * | check_category { nullptr } |
| wxCheckBox * | check_english { nullptr } |
| OptionsSearcher * | searcher { nullptr } |
| float | m_scale_factor |
| int | m_em_unit |
| wxFont | m_normal_font |
| float | m_prev_scale_factor |
| bool | m_can_rescale { true } |
| bool | m_force_rescale { false } |
| int | m_new_font_point_size |
| Slic3r::Search::SearchDialog::SearchDialog | ( | OptionsSearcher * | searcher | ) |
References _L, check_category, check_english, Slic3r::Search::SearchListModel::colIcon, Slic3r::Search::SearchListModel::colMarkedText, default_string, Slic3r::GUI::DPIAware< P >::em_unit(), Slic3r::GUI::DPIAware< P >::normal_font(), OnActivate(), OnCheck(), OnInputText(), OnKeyDown(), OnLeftDown(), OnLeftUpInTextCtrl(), OnMotion(), OnSelect(), search_line, search_list, and search_list_model.
Here is the call graph for this function:
|
inline |
|
inlineinherited |
References Slic3r::GUI::DPIAware< P >::m_em_unit.
Referenced by Slic3r::GUI::AboutDialog::AboutDialog(), Slic3r::GUI::CopyrightsDialog::CopyrightsDialog(), Slic3r::GUI::FileArchiveDialog::FileArchiveDialog(), Slic3r::GUI::GalleryDialog::GalleryDialog(), Slic3r::GUI::PageMaterials::PageMaterials(), SearchDialog(), Slic3r::GUI::SendSystemInfoDialog::SendSystemInfoDialog(), Slic3r::GUI::SettingsDialog::SettingsDialog(), Slic3r::GUI::SysInfoDialog::SysInfoDialog(), Slic3r::GUI::ExtruderSequenceDialog::apply_extruder_sequence(), Slic3r::GUI::UnsavedChangesDialog::build(), Slic3r::GUI::DiffPresetDialog::complete_dialog_creation(), Slic3r::GUI::DiffPresetDialog::create_edit_sizer(), Slic3r::GUI::DiffPresetDialog::create_presets_sizer(), Slic3r::GUI::DiffPresetDialog::create_tree(), em_unit(), Slic3r::GUI::SavePresetDialog::Item::init_input_name_ctrl(), msw_rescale(), Slic3r::GUI::SendSystemInfoDialog::on_dpi_changed(), Slic3r::GUI::CopyrightsDialog::on_dpi_changed(), Slic3r::GUI::AboutDialog::on_dpi_changed(), Slic3r::GUI::BedShapeDialog::on_dpi_changed(), Slic3r::GUI::ConfigSnapshotDialog::on_dpi_changed(), Slic3r::GUI::ConfigWizard::on_dpi_changed(), Slic3r::GUI::ExtruderSequenceDialog::on_dpi_changed(), Slic3r::GUI::FileArchiveDialog::on_dpi_changed(), Slic3r::FirmwareDialog::on_dpi_changed(), Slic3r::GUI::GalleryDialog::on_dpi_changed(), Slic3r::GUI::KBShortcutsDialog::on_dpi_changed(), Slic3r::GUI::SettingsDialog::on_dpi_changed(), Slic3r::GUI::PhysicalPrinterDialog::on_dpi_changed(), Slic3r::GUI::LoadProjectsDialog::on_dpi_changed(), Slic3r::GUI::ProjectDropDialog::on_dpi_changed(), Slic3r::GUI::PrintHostQueueDialog::on_dpi_changed(), Slic3r::GUI::SavePresetDialog::on_dpi_changed(), Slic3r::GUI::SysInfoDialog::on_dpi_changed(), Slic3r::GUI::UnsavedChangesDialog::on_dpi_changed(), Slic3r::GUI::DiffPresetDialog::on_dpi_changed(), and Slic3r::GUI::GUI_App::update_fonts().
Here is the caller graph for this function:
|
inlineinherited |
References Slic3r::GUI::DPIAware< P >::m_force_rescale.
Referenced by Slic3r::GUI::MainFrame::update_layout().
Here is the caller graph for this function:
|
inlineprivateinherited |
References Slic3r::GUI::DPIAware< P >::m_prev_scale_factor, and Slic3r::GUI::DPIAware< P >::m_scale_factor.
Referenced by Slic3r::GUI::DPIAware< P >::DPIAware().
Here is the caller graph for this function:| void Slic3r::Search::SearchDialog::msw_rescale | ( | ) |
References Slic3r::Search::SearchListModel::colIcon, Slic3r::Search::SearchListModel::colMarkedText, Slic3r::GUI::DPIAware< P >::em_unit(), and search_list.
Referenced by Slic3r::Search::OptionsSearcher::dlg_msw_rescale(), and on_dpi_changed().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineinherited |
References Slic3r::GUI::DPIAware< P >::m_normal_font.
Referenced by Slic3r::GUI::AboutDialog::AboutDialog(), Slic3r::GUI::ConfigSnapshotDialog::ConfigSnapshotDialog(), Slic3r::GUI::ConfigWizard::ConfigWizard(), Slic3r::GUI::CopyrightsDialog::CopyrightsDialog(), Slic3r::GUI::DiffPresetDialog::DiffPresetDialog(), Slic3r::GUI::ExtruderSequenceDialog::ExtruderSequenceDialog(), Slic3r::GUI::GalleryDialog::GalleryDialog(), Slic3r::GUI::KBShortcutsDialog::KBShortcutsDialog(), Slic3r::GUI::LoadProjectsDialog::LoadProjectsDialog(), Slic3r::GUI::PhysicalPrinterDialog::PhysicalPrinterDialog(), Slic3r::GUI::ProjectDropDialog::ProjectDropDialog(), SearchDialog(), Slic3r::GUI::SendSystemInfoDialog::SendSystemInfoDialog(), Slic3r::GUI::SettingsDialog::SettingsDialog(), Slic3r::GUI::SysInfoDialog::SysInfoDialog(), Slic3r::GUI::UnsavedChangesDialog::build(), Slic3r::GUI::SavePresetDialog::build(), Slic3r::GUI::BedShapeDialog::build_dialog(), Slic3r::GUI::PhysicalPrinterDialog::build_printhost_settings(), Slic3r::GUI::MainFrame::init_menubar_as_editor(), Slic3r::GUI::MainFrame::init_tabpanel(), Slic3r::GUI::ExtruderSequenceDialog::on_dpi_changed(), Slic3r::GUI::MainFrame::on_dpi_changed(), and Slic3r::GUI::GUI_App::update_fonts().
Here is the caller graph for this function:
|
inlineoverrideprotectedvirtual |
Implements Slic3r::GUI::DPIAware< P >.
References msw_rescale().
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from Slic3r::GUI::DPIAware< P >.
References check_category, check_english, search_line, search_list, search_list_model, and Slic3r::Search::SearchListModel::sys_color_changed().
Referenced by Slic3r::Search::OptionsSearcher::dlg_sys_color_changed().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
References ProcessSelection().
Referenced by SearchDialog().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
References Slic3r::Search::OptionViewParameters::category, check_category, check_english, Slic3r::Search::OptionViewParameters::english, Slic3r::Search::OptionsSearcher::search(), searcher, update_list(), and Slic3r::Search::OptionsSearcher::view_params.
Referenced by SearchDialog().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
References default_string, Slic3r::Search::OptionsSearcher::search(), search_line, searcher, and update_list().
Referenced by SearchDialog().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
References prevent_list_events, ProcessSelection(), search_list, and search_list_model.
Referenced by SearchDialog().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
References ProcessSelection(), and search_list.
Referenced by SearchDialog().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
References default_string, and search_line.
Referenced by SearchDialog().
Here is the caller graph for this function:
|
private |
References col(), and search_list.
Referenced by SearchDialog().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
References prevent_list_events, ProcessSelection(), and search_list.
Referenced by SearchDialog().
Here is the call graph for this function:
Here is the caller graph for this function:| void Slic3r::Search::SearchDialog::Popup | ( | wxPoint | position = wxDefaultPosition | ) |
References Slic3r::Search::OptionViewParameters::category, check_category, check_english, default_string, Slic3r::Search::OptionViewParameters::english, search_line, Slic3r::Search::OptionsSearcher::search_string(), searcher, update_list(), and Slic3r::Search::OptionsSearcher::view_params.
Referenced by Slic3r::Search::OptionsSearcher::show_dialog().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineinherited |
References Slic3r::GUI::DPIAware< P >::m_prev_scale_factor.
| void Slic3r::Search::SearchDialog::ProcessSelection | ( | wxDataViewItem | selection | ) |
References search_list_model.
Referenced by OnActivate(), OnKeyDown(), OnLeftDown(), and OnSelect().
Here is the caller graph for this function:
|
inlineprivateinherited |
References Slic3r::GUI::DPIAware< P >::m_em_unit, Slic3r::GUI::DPIAware< P >::m_force_rescale, Slic3r::GUI::DPIAware< P >::m_new_font_point_size, Slic3r::GUI::DPIAware< P >::m_normal_font, Slic3r::GUI::DPIAware< P >::m_prev_scale_factor, Slic3r::GUI::DPIAware< P >::m_scale_factor, Slic3r::GUI::DPIAware< P >::on_dpi_changed(), Slic3r::GUI::DPIAware< P >::scale_controls_fonts(), and Slic3r::GUI::DPIAware< P >::scale_win_font().
Referenced by Slic3r::GUI::DPIAware< P >::DPIAware(), and Slic3r::GUI::DiffPresetDialog::on_dpi_changed().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprivateinherited |
References Slic3r::GUI::DPIAware< P >::scale_controls_fonts(), and Slic3r::GUI::DPIAware< P >::scale_win_font().
Referenced by Slic3r::GUI::DPIAware< P >::rescale(), and Slic3r::GUI::DPIAware< P >::scale_controls_fonts().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineinherited |
References Slic3r::GUI::DPIAware< P >::m_scale_factor.
|
inlineprivateinherited |
Referenced by Slic3r::GUI::DPIAware< P >::rescale(), and Slic3r::GUI::DPIAware< P >::scale_controls_fonts().
Here is the caller graph for this function:
|
private |
References Slic3r::Search::SearchListModel::Clear(), Slic3r::Search::OptionsSearcher::found_options(), Slic3r::Search::SearchListModel::Prepend(), prevent_list_events, search_list, search_list_model, and searcher.
Referenced by OnCheck(), OnInputText(), and Popup().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Referenced by SearchDialog(), on_sys_color_changed(), OnCheck(), and Popup().
|
private |
Referenced by SearchDialog(), on_sys_color_changed(), OnCheck(), and Popup().
|
private |
Referenced by SearchDialog(), OnInputText(), OnLeftUpInTextCtrl(), and Popup().
|
privateinherited |
Referenced by Slic3r::GUI::DPIAware< P >::DPIAware().
|
privateinherited |
|
privateinherited |
|
privateinherited |
Referenced by Slic3r::GUI::DPIAware< P >::DPIAware(), and Slic3r::GUI::DPIAware< P >::rescale().
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
private |
Referenced by OnKeyDown(), OnSelect(), and update_list().
|
private |
Referenced by SearchDialog(), on_sys_color_changed(), OnInputText(), OnLeftUpInTextCtrl(), and Popup().
|
private |
Referenced by SearchDialog(), msw_rescale(), on_sys_color_changed(), OnKeyDown(), OnLeftDown(), OnMotion(), OnSelect(), and update_list().
|
private |
Referenced by SearchDialog(), on_sys_color_changed(), OnKeyDown(), ProcessSelection(), and update_list().
|
private |
|
private |
Referenced by OnCheck(), OnInputText(), Popup(), and update_list().