96 if(
m_plugin->TestConnection( &errorMsg ) )
101 wxCommandEvent
dummy;
121 std::vector<wxString> libs;
122 m_plugin->GetSubLibraryNames( libs );
DATABASE_CACHE_SETTINGS m_Cache
wxStaticText * m_stLibrariesStatus
wxStaticText * m_stConnectionTestStatus
DIALOG_DATABASE_LIB_SETTINGS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Database Library Settings"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(500, 600), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
wxSpinCtrl * m_spinCacheSize
wxRadioButton * m_rbConnectionString
wxTextCtrl * m_txtPassword
wxTextCtrl * m_txtConnectionString
wxSpinCtrl * m_spinCacheTimeout
void OnDSNSelected(wxCommandEvent &aEvent) override
bool hasPotentiallyValidConfig()
bool TransferDataFromWindow() override
DIALOG_DATABASE_LIB_SETTINGS(wxWindow *aParent, SCH_IO_DATABASE *aPlugin)
SCH_IO_DATABASE * m_plugin
void OnConnectionStringSelected(wxCommandEvent &aEvent) override
bool TransferDataToWindow() override
void OnBtnTest(wxCommandEvent &aEvent) override
void OnBtnReloadConfig(wxCommandEvent &aEvent) override
void SetupStandardButtons(std::map< int, wxString > aLabels={})
void finishDialogSettings()
In all dialogs, we must call the same functions to fix minimal dlg size, the default position and per...
A KiCad database library provides both symbol and footprint metadata, so there are "shim" plugins on ...
std::vector< FAB_LAYER_COLOR > dummy
int max_age
Max age of cached rows before they expire, in seconds.
int max_size
Maximum number of single-row results to cache.
std::string connection_string