#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/Search.hpp>
Public Member Functions | |
| void | OnInputText (wxCommandEvent &event) |
| void | OnLeftUpInTextCtrl (wxEvent &event) |
| void | update_list () |
| SearchDialog (OptionsSearcher *searcher, Preset::Type type, wxWindow *parent, TextInput *input, wxWindow *search_btn) | |
| ~SearchDialog () | |
| void | Popup (wxWindow *focus=nullptr) override |
| void | OnDismiss () override |
| void | Dismiss () override |
| void | Die () |
| void | msw_rescale () |
| bool | Create (wxWindow *parent, int flags=wxBORDER_NONE) |
Public Attributes | |
| wxColour | m_bg_colour |
| wxColour | m_thumb_color |
| wxBoxSizer * | m_sizer_body {nullptr} |
| wxBoxSizer * | m_sizer_main {nullptr} |
| wxBoxSizer * | m_sizer_border {nullptr} |
| wxWindow * | m_border_panel {nullptr} |
| wxWindow * | m_client_panel {nullptr} |
| wxWindow * | m_event_tag {nullptr} |
| wxWindow * | m_search_item_tag {nullptr} |
| int | em |
| const int | POPUP_WIDTH = 38 |
| const int | POPUP_HEIGHT = 40 |
| TextInput * | search_line {nullptr} |
| wxTextCtrl * | search_line2 {nullptr} |
| Preset::Type | search_type = Preset::TYPE_INVALID |
| ScrolledWindow * | m_scrolledWindow {nullptr} |
| OptionsSearcher * | searcher {nullptr} |
Protected Member Functions | |
| virtual bool | ShouldDismissOnTopWindowDeactivate () |
| Slic3r::Search::SearchDialog::SearchDialog | ( | OptionsSearcher * | searcher, |
| Preset::Type | type, | ||
| wxWindow * | parent, | ||
| TextInput * | input, | ||
| wxWindow * | search_btn ) |
References PopupWindow::PopupWindow(), em, m_bg_colour, m_border_panel, m_client_panel, m_event_tag, m_scrolledWindow, m_search_item_tag, m_sizer_body, m_sizer_border, m_sizer_main, m_thumb_color, OnInputText(), OnLeftUpInTextCtrl(), POPUP_HEIGHT, POPUP_WIDTH, search_line, search_line2, search_type, and searcher.
| Slic3r::Search::SearchDialog::~SearchDialog | ( | ) |
|
inherited |
References GetTopParent(), and style.
Referenced by PopupWindow(), and DropDown::Create().
| void Slic3r::Search::SearchDialog::Die | ( | ) |
References search_line.
Referenced by Dismiss().
|
override |
References Die(), m_event_tag, m_search_item_tag, and search_line.
| void Slic3r::Search::SearchDialog::msw_rescale | ( | ) |
|
override |
| void Slic3r::Search::SearchDialog::OnInputText | ( | wxCommandEvent & | event | ) |
References Slic3r::into_u8(), search_line2, search_type, searcher, and update_list().
Referenced by SearchDialog().
| void Slic3r::Search::SearchDialog::OnLeftUpInTextCtrl | ( | wxEvent & | event | ) |
References search_line2.
Referenced by SearchDialog().
|
override |
References search_line2, and update_list().
|
inlineprotectedvirtualinherited |
Reimplemented in DropDown.
| void Slic3r::Search::SearchDialog::update_list | ( | ) |
References StateColor::darkModeColorFor(), em, Slic3r::from_u8(), m_bg_colour, m_client_panel, m_scrolledWindow, m_sizer_body, m_thumb_color, POPUP_HEIGHT, POPUP_WIDTH, and searcher.
Referenced by OnInputText(), and Popup().
| int Slic3r::Search::SearchDialog::em |
Referenced by SearchDialog(), and update_list().
| wxColour Slic3r::Search::SearchDialog::m_bg_colour |
Referenced by SearchDialog(), and update_list().
| wxWindow* Slic3r::Search::SearchDialog::m_border_panel {nullptr} |
Referenced by SearchDialog().
| wxWindow* Slic3r::Search::SearchDialog::m_client_panel {nullptr} |
Referenced by SearchDialog(), and update_list().
| wxWindow* Slic3r::Search::SearchDialog::m_event_tag {nullptr} |
Referenced by SearchDialog(), and Dismiss().
| ScrolledWindow* Slic3r::Search::SearchDialog::m_scrolledWindow {nullptr} |
Referenced by SearchDialog(), and update_list().
| wxWindow* Slic3r::Search::SearchDialog::m_search_item_tag {nullptr} |
Referenced by SearchDialog(), and Dismiss().
| wxBoxSizer* Slic3r::Search::SearchDialog::m_sizer_body {nullptr} |
Referenced by SearchDialog(), and update_list().
| wxBoxSizer* Slic3r::Search::SearchDialog::m_sizer_border {nullptr} |
Referenced by SearchDialog().
| wxBoxSizer* Slic3r::Search::SearchDialog::m_sizer_main {nullptr} |
Referenced by SearchDialog().
| wxColour Slic3r::Search::SearchDialog::m_thumb_color |
Referenced by SearchDialog(), and update_list().
| const int Slic3r::Search::SearchDialog::POPUP_HEIGHT = 40 |
Referenced by SearchDialog(), and update_list().
| const int Slic3r::Search::SearchDialog::POPUP_WIDTH = 38 |
Referenced by SearchDialog(), and update_list().
Referenced by SearchDialog(), Die(), and Dismiss().
| wxTextCtrl* Slic3r::Search::SearchDialog::search_line2 {nullptr} |
Referenced by SearchDialog(), OnInputText(), OnLeftUpInTextCtrl(), and Popup().
| Preset::Type Slic3r::Search::SearchDialog::search_type = Preset::TYPE_INVALID |
Referenced by SearchDialog(), and OnInputText().
| OptionsSearcher* Slic3r::Search::SearchDialog::searcher {nullptr} |
Referenced by SearchDialog(), OnInputText(), and update_list().