25#ifndef SYMBOL_CHOOSER_FRAME_H
26#define SYMBOL_CHOOSER_FRAME_H
55 bool ShowModal( wxString* aSymbol, wxWindow* aParent )
override;
69 void OnPaint( wxPaintEvent& aEvent );
70 void OnOK( wxCommandEvent& aEvent );
APP_SETTINGS_BASE is a settings class that should be derived for each standalone KiCad application.
A minimalistic software bus for communications between various DLLs/DSOs (DSOs) within the same KiCad...
Model class in the component selector Model-View-Adapter (mediated MVC) architecture.
SCH_BASE_FRAME(KIWAY *aKiway, wxWindow *aParent, FRAME_T aWindowType, const wxString &aTitle, const wxPoint &aPosition, const wxSize &aSize, long aStyle, const wxString &aFrameName)
void OnOK(wxCommandEvent &aEvent)
void doCloseWindow() override
SYMBOL_CHOOSER_FRAME(KIWAY *aKiway, wxWindow *aParent, bool &aCancelled)
void OnPaint(wxPaintEvent &aEvent)
WINDOW_SETTINGS * GetWindowSettings(APP_SETTINGS_BASE *aCfg) override
Return a pointer to the window settings for this frame.
bool ShowModal(wxString *aSymbol, wxWindow *aParent) override
Runs the symbol viewer as a modal dialog.
PANEL_SYMBOL_CHOOSER * m_chooserPanel
EDA_DRAW_PANEL_GAL * GetPreviewCanvas() const
void SetFilter(std::function< bool(LIB_TREE_NODE &aNode)> *aFilter)
Set a filter to display only libraries and/or symbols which match the filter.
void CloseSymbolChooser(wxCommandEvent &aEvent)
Store the common settings that are saved and loaded for each window / frame.