37 m_symbolEditFrame( aParent ),
42 wxBoxSizer* boxSizer =
new wxBoxSizer( wxVERTICAL );
45 boxSizer->Add(
m_tree, 1, wxEXPAND, 5 );
49 boxSizer->Fit(
this );
static TOOL_ACTION editSymbol
Symbol library management helper that is specific to the symbol library editor frame.
wxObjectDataPtr< LIB_TREE_MODEL_ADAPTER > & GetAdapter()
Return the adapter object that provides the stored data.
Widget displaying a tree of symbols with optional search text control and description panel....
void RefreshLibTree()
Refreshes the tree (mainly to update highlighting and asterisking)
void Unselect()
Unselect currently selected item in wxDataViewCtrl.
SCH_DRAW_PANEL * GetCanvas() const override
Return a pointer to GAL-based canvas of given EDA draw frame.
The symbol library editor main window.
LIB_SYMBOL * GetCurSymbol() const
Return the current symbol being edited or NULL if none selected.
static SYMBOL_LIB_TABLE & GetGlobalLibTable()
void onUpdateUI(wxUpdateUIEvent &aEvent)
LIB_SYMBOL_LIBRARY_MANAGER * m_libMgr
SYMBOL_TREE_PANE(SYMBOL_EDIT_FRAME *aParent, LIB_SYMBOL_LIBRARY_MANAGER *aLibMgr)
SYMBOL_EDIT_FRAME * m_symbolEditFrame
void onSymbolSelected(wxCommandEvent &aEvent)
LIB_TREE * m_tree
symbol search tree widget