30 m_onlyCheckbox( nullptr )
130 return aOptions.
All();
138 wxCheckBox* cb = dynamic_cast<wxCheckBox*>( aEvent.GetEventObject() );
146 label.Printf(
_(
"Only %s" ), cb->GetLabel().Lower() );
148 menu.Append(
new wxMenuItem( &menu, wxID_ANY, label, wxEmptyString, wxITEM_NORMAL ) );
176 wxCommandEvent
dummy;
void onPopupSelection(wxCommandEvent &aEvent)
wxCheckBox * m_cbOtherItems
bool otherItems
Anything not fitting one of the above categories.
wxCheckBox * m_cbFootprints
wxFont GetInfoFont(wxWindow *aWindow)
wxCheckBox * m_cbAllItems
wxCheckBox * m_cbLockedItems
static LIB_SYMBOL * dummy()
Used to draw a dummy shape when a LIB_SYMBOL is not found in library.
wxCheckBox * m_onlyCheckbox
void SetCheckboxesFromFilter(SELECTION_FILTER_OPTIONS &aOptions)
bool text
Text (free or attached to a footprint)
void SetBorders(bool aLeft, bool aRight, bool aTop, bool aBottom)
bool dimensions
Dimension items.
bool keepouts
Keepout zones.
bool graphics
Graphic lines, shapes, polygons.
void OnFilterChanged(wxCommandEvent &aEvent) override
wxCheckBox * m_cbDimensions
This file contains data structures that are saved in the project file or project local settings file ...
bool tracks
Copper tracks.
bool footprints
Allow selecting entire footprints.
bool vias
Vias (all types>
bool lockedItems
Allow selecting locked items.
void onRightClick(wxMouseEvent &aEvent)
Common, abstract interface for edit frames.
PCB_BASE_EDIT_FRAME * m_frame
Class PANEL_SELECTION_FILTER_BASE.
bool setFilterFromCheckboxes(SELECTION_FILTER_OPTIONS &aOptions)
PCB_SELECTION_TOOL * m_tool
PANEL_SELECTION_FILTER(wxWindow *aParent)
wxCheckBox * m_cbGraphics
wxCheckBox * m_cbKeepouts