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