30#include <wx/stattext.h>
42 case TOOLBAR_LOC::LEFT:
43 case TOOLBAR_LOC::RIGHT:
44 case TOOLBAR_LOC::TOP_AUX:
47 case TOOLBAR_LOC::TOP_MAIN:
82 auto footprintFilterFactory =
89 wxString msg_bold =
_(
"Footprint Filters:" );
90 wxStaticText*
text =
new wxStaticText(
m_tbTopMain, wxID_ANY, msg_bold );
94 text->SetLabelMarkup(
"<b>" + msg_bold +
"</b>" );
97 aToolbar->AddControl(
text );
103 aToolbar->AddScaledSeparator(
this );
107 m_tcFilterString =
new wxTextCtrl( aToolbar, wxID_ANY, wxEmptyString, wxDefaultPosition,
108 wxDefaultSize, wxTE_PROCESS_ENTER );
123 _(
"Footprint filtering controls" ) );
static TOOL_ACTION showFootprintLibTable
static TOOL_ACTION deleteAll
static TOOL_ACTION gotoPreviousNA
Navigate the component tree.
static TOOL_ACTION gotoNextNA
static TOOL_ACTION FilterFPbyLibrary
static TOOL_ACTION filterFPbyPin
static TOOL_ACTION autoAssociate
Footprint Association actions.
static TOOL_ACTION FilterFPbyFPFilters
Footprint Filtering actions.
static TOOL_ACTION saveAssociationsToSchematic
Management actions.
static TOOL_ACTION showFootprintViewer
Open the footprint viewer.
void onTextFilterChanged(wxCommandEvent &event)
void configureToolbars() override
wxTextCtrl * m_tcFilterString
void RegisterCustomToolbarControlFactory(const ACTION_TOOLBAR_CONTROL &aControlDesc, const ACTION_TOOLBAR_CONTROL_FACTORY &aControlFactory)
Register a creation factory for toolbar controls that are present in this frame.
virtual void configureToolbars()
ACTION_TOOLBAR * m_tbTopMain