22 #ifndef SYMBOL_TREE_MODEL_ADAPTER_H 23 #define SYMBOL_TREE_MODEL_ADAPTER_H 54 bool AddLibraries(
const std::vector<wxString>& aNicknames, wxWindow* aParent );
56 void AddLibrary( wxString
const& aLibNickname );
76 #endif // SYMBOL_TREE_MODEL_ADAPTER_H
void AddLibrary(wxString const &aLibNickname)
wxString GenerateInfo(LIB_ID const &aLibId, int aUnit) override
static wxObjectDataPtr< LIB_TREE_MODEL_ADAPTER > Create(EDA_BASE_FRAME *aParent, LIB_TABLE *aLibs)
Factory function: create a model adapter in a reference-counting container.
A logical library item identifier and consists of various portions much like a URI.
SYMBOL_TREE_MODEL_ADAPTER(EDA_BASE_FRAME *aParent, LIB_TABLE *aLibs)
Constructor; takes a set of libraries to be included in the search.
SYMBOL_LIB_TABLE * m_libs
static bool m_show_progress
Flag to only show the symbol library table load progress dialog the first time.
The base frame for deriving all KiCad main window classes.
~SYMBOL_TREE_MODEL_ADAPTER()
Destructor.
bool AddLibraries(const std::vector< wxString > &aNicknames, wxWindow *aParent)
Add all the libraries in a SYMBOL_LIB_TABLE to the model.
Manage LIB_TABLE_ROW records (rows), and can be searched based on library nickname.