31 m_onlyCheckbox( nullptr )
154 return aOptions.
All();
162 wxCheckBox* cb =
dynamic_cast<wxCheckBox*
>( aEvent.GetEventObject() );
170 label.Printf(
_(
"Only %s" ), cb->GetLabel().Lower() );
172 menu.Append(
new wxMenuItem( &menu, wxID_ANY, label, wxEmptyString, wxITEM_NORMAL ) );
199 wxCommandEvent
dummy;
FRAME_T GetFrameType() const
Class PANEL_SCH_SELECTION_FILTER_BASE.
wxCheckBox * m_cbGraphics
wxCheckBox * m_cbLockedItems
wxCheckBox * m_cbAllItems
wxCheckBox * m_cbRuleAreas
wxGridBagSizer * m_gridSizer
wxCheckBox * m_cbOtherItems
bool setFilterFromCheckboxes(SCH_SELECTION_FILTER_OPTIONS &aOptions)
wxCheckBox * m_onlyCheckbox
void OnLanguageChanged(wxCommandEvent &aEvent)
~PANEL_SCH_SELECTION_FILTER()
void SetCheckboxesFromFilter(SCH_SELECTION_FILTER_OPTIONS &aOptions)
void onRightClick(wxMouseEvent &aEvent)
void OnFilterChanged(wxCommandEvent &aEvent) override
PANEL_SCH_SELECTION_FILTER(wxWindow *aParent)
void onPopupSelection(wxCommandEvent &aEvent)
SCH_SELECTION_TOOL * m_tool
A shim class between EDA_DRAW_FRAME and several derived classes: SYMBOL_EDIT_FRAME,...
void SetBorders(bool aLeft, bool aRight, bool aTop, bool aBottom)
@ FRAME_SCH_SYMBOL_EDITOR
KICOMMON_API wxFont GetInfoFont(wxWindow *aWindow)
std::vector< FAB_LAYER_COLOR > dummy
bool text
Text and fields.
bool symbols
Allow selecting symbols and sheet symbols.
bool labels
Net and bus labels.
bool pins
Symbol and sheet pins.
bool graphics
Graphic lines, shapes, polygons.
bool lockedItems
Allow selecting locked items.
bool images
Bitmap/vector images.
bool otherItems
Anything not fitting one of the above categories.
bool ruleAreas
Rule areas.
bool wires
Net and bus wires and junctions.