31#define ID_TOGGLE_ZOOM_TO_SELECTION 14000
32#define ID_TOGGLE_PAN_TO_SELECTION 14001
40 Add(
_(
"Zoom to Selection" ),
_(
"Toggle zooming to selections in the search pane" ),
42 Add(
_(
"Pan to Selection" ),
_(
"Toggle panning to selections in the search pane" ),
52 const int id = aEvent.GetId();
53 const wxMenuItem* item = FindItem(
id );
101 [&]( wxMouseEvent& event )
120 for(
size_t i = 0; i <
m_notebook->GetPageCount(); ++i )
wxBitmapBundle KiBitmapBundle(BITMAPS aBitmap)
virtual APP_SETTINGS_BASE * config() const
Returns the settings object used in SaveSettings(), and is overloaded in KICAD_MANAGER_FRAME.
The base class for create windows for drawing purpose.
wxSearchCtrl * m_searchCtrl1
wxBitmapButton * m_menuButton
void Search(wxString &query)
SEARCH_HANDLER * GetSearchHandler() const
void RefreshColumnNames()
void AddSearcher(SEARCH_HANDLER *aHandler)
void OnSearchTextEntry(wxCommandEvent &aEvent) override
void OnNotebookPageChanged(wxBookCtrlEvent &aEvent) override
std::vector< SEARCH_PANE_TAB * > m_tabs
void OnLanguageChange(wxCommandEvent &aEvent)
SEARCH_PANE(EDA_DRAW_FRAME *aFrame)
SEARCH_PANE_TAB * GetCurrentTab() const
std::vector< SEARCH_HANDLER * > m_handlers
#define ID_TOGGLE_ZOOM_TO_SELECTION
#define ID_TOGGLE_PAN_TO_SELECTION
SELECTION_ZOOM selection_zoom