KiCad PCB EDA Suite
|
#include <panel_sch_selection_filter.h>
Public Member Functions | |
PANEL_SCH_SELECTION_FILTER (wxWindow *aParent) | |
~PANEL_SCH_SELECTION_FILTER () | |
void | SetCheckboxesFromFilter (SCH_SELECTION_FILTER_OPTIONS &aOptions) |
void | SetBorders (bool aLeft, bool aRight, bool aTop, bool aBottom) |
void | SetBorderColor (const KIGFX::COLOR4D &aColor) |
Protected Member Functions | |
void | OnFilterChanged (wxCommandEvent &aEvent) override |
void | OnLanguageChanged (wxCommandEvent &aEvent) |
Protected Attributes | |
wxGridBagSizer * | m_gridSizer |
wxCheckBox * | m_cbAllItems |
wxCheckBox * | m_cbLockedItems |
wxCheckBox * | m_cbSymbols |
wxCheckBox * | m_cbPins |
wxCheckBox * | m_cbWires |
wxCheckBox * | m_cbLabels |
wxCheckBox * | m_cbGraphics |
wxCheckBox * | m_cbImages |
wxCheckBox * | m_cbText |
wxCheckBox * | m_cbOtherItems |
Private Member Functions | |
bool | setFilterFromCheckboxes (SCH_SELECTION_FILTER_OPTIONS &aOptions) |
void | onRightClick (wxMouseEvent &aEvent) |
void | onPopupSelection (wxCommandEvent &aEvent) |
void | OnPaint (wxPaintEvent &event) |
Private Attributes | |
SCH_BASE_FRAME * | m_frame |
EE_SELECTION_TOOL * | m_tool |
wxCheckBox * | m_onlyCheckbox |
bool | m_leftBorder |
bool | m_rightBorder |
bool | m_topBorder |
bool | m_bottomBorder |
KIGFX::COLOR4D | m_borderColor |
Definition at line 31 of file panel_sch_selection_filter.h.
PANEL_SCH_SELECTION_FILTER::PANEL_SCH_SELECTION_FILTER | ( | wxWindow * | aParent | ) |
Definition at line 28 of file panel_sch_selection_filter.cpp.
References FRAME_SCH_SYMBOL_EDITOR, EE_SELECTION_TOOL::GetFilter(), EDA_BASE_FRAME::GetFrameType(), KIUI::GetInfoFont(), TOOL_MANAGER::GetTool(), TOOLS_HOLDER::GetToolManager(), PANEL_SCH_SELECTION_FILTER_BASE::m_cbAllItems, PANEL_SCH_SELECTION_FILTER_BASE::m_cbGraphics, PANEL_SCH_SELECTION_FILTER_BASE::m_cbImages, PANEL_SCH_SELECTION_FILTER_BASE::m_cbLabels, PANEL_SCH_SELECTION_FILTER_BASE::m_cbLockedItems, PANEL_SCH_SELECTION_FILTER_BASE::m_cbOtherItems, PANEL_SCH_SELECTION_FILTER_BASE::m_cbPins, PANEL_SCH_SELECTION_FILTER_BASE::m_cbSymbols, PANEL_SCH_SELECTION_FILTER_BASE::m_cbText, PANEL_SCH_SELECTION_FILTER_BASE::m_cbWires, m_frame, PANEL_SCH_SELECTION_FILTER_BASE::m_gridSizer, m_tool, OnLanguageChanged(), onRightClick(), WX_PANEL::SetBorders(), and SetCheckboxesFromFilter().
PANEL_SCH_SELECTION_FILTER::~PANEL_SCH_SELECTION_FILTER | ( | ) |
Definition at line 86 of file panel_sch_selection_filter.cpp.
References m_frame, and OnLanguageChanged().
|
overrideprotectedvirtual |
Reimplemented from PANEL_SCH_SELECTION_FILTER_BASE.
Definition at line 112 of file panel_sch_selection_filter.cpp.
References EE_SELECTION_TOOL::GetFilter(), PANEL_SCH_SELECTION_FILTER_BASE::m_cbAllItems, PANEL_SCH_SELECTION_FILTER_BASE::m_cbGraphics, PANEL_SCH_SELECTION_FILTER_BASE::m_cbImages, PANEL_SCH_SELECTION_FILTER_BASE::m_cbLabels, PANEL_SCH_SELECTION_FILTER_BASE::m_cbOtherItems, PANEL_SCH_SELECTION_FILTER_BASE::m_cbPins, PANEL_SCH_SELECTION_FILTER_BASE::m_cbSymbols, PANEL_SCH_SELECTION_FILTER_BASE::m_cbText, PANEL_SCH_SELECTION_FILTER_BASE::m_cbWires, m_tool, and setFilterFromCheckboxes().
Referenced by onPopupSelection().
|
protected |
Definition at line 197 of file panel_sch_selection_filter.cpp.
References _, PANEL_SCH_SELECTION_FILTER_BASE::m_cbAllItems, PANEL_SCH_SELECTION_FILTER_BASE::m_cbGraphics, PANEL_SCH_SELECTION_FILTER_BASE::m_cbImages, PANEL_SCH_SELECTION_FILTER_BASE::m_cbLabels, PANEL_SCH_SELECTION_FILTER_BASE::m_cbLockedItems, PANEL_SCH_SELECTION_FILTER_BASE::m_cbOtherItems, PANEL_SCH_SELECTION_FILTER_BASE::m_cbPins, PANEL_SCH_SELECTION_FILTER_BASE::m_cbSymbols, PANEL_SCH_SELECTION_FILTER_BASE::m_cbText, and PANEL_SCH_SELECTION_FILTER_BASE::m_cbWires.
Referenced by PANEL_SCH_SELECTION_FILTER(), and ~PANEL_SCH_SELECTION_FILTER().
|
privateinherited |
Definition at line 47 of file wx_panel.cpp.
References WX_PANEL::m_borderColor, WX_PANEL::m_bottomBorder, WX_PANEL::m_leftBorder, WX_PANEL::m_rightBorder, WX_PANEL::m_topBorder, KIGFX::COLOR4D::Mix(), KIGFX::COLOR4D::ToColour(), and KIGFX::COLOR4D::UNSPECIFIED.
Referenced by WX_PANEL::WX_PANEL(), and WX_PANEL::~WX_PANEL().
|
private |
Definition at line 174 of file panel_sch_selection_filter.cpp.
References dummy, PANEL_SCH_SELECTION_FILTER_BASE::m_cbAllItems, PANEL_SCH_SELECTION_FILTER_BASE::m_cbGraphics, PANEL_SCH_SELECTION_FILTER_BASE::m_cbImages, PANEL_SCH_SELECTION_FILTER_BASE::m_cbLabels, PANEL_SCH_SELECTION_FILTER_BASE::m_cbOtherItems, PANEL_SCH_SELECTION_FILTER_BASE::m_cbPins, PANEL_SCH_SELECTION_FILTER_BASE::m_cbSymbols, PANEL_SCH_SELECTION_FILTER_BASE::m_cbText, PANEL_SCH_SELECTION_FILTER_BASE::m_cbWires, m_onlyCheckbox, and OnFilterChanged().
Referenced by onRightClick().
|
private |
Definition at line 152 of file panel_sch_selection_filter.cpp.
References _, m_onlyCheckbox, and onPopupSelection().
Referenced by PANEL_SCH_SELECTION_FILTER().
|
inlineinherited |
Definition at line 47 of file wx_panel.h.
References WX_PANEL::m_borderColor.
Referenced by SYMBOL_TREE_SYNCHRONIZING_ADAPTER::ShowPreview().
|
inlineinherited |
Definition at line 39 of file wx_panel.h.
References WX_PANEL::m_bottomBorder, WX_PANEL::m_leftBorder, WX_PANEL::m_rightBorder, and WX_PANEL::m_topBorder.
Referenced by APPEARANCE_CONTROLS::APPEARANCE_CONTROLS(), APPEARANCE_CONTROLS_3D::APPEARANCE_CONTROLS_3D(), PAGED_DIALOG::PAGED_DIALOG(), PANEL_COLOR_SETTINGS::PANEL_COLOR_SETTINGS(), PANEL_PACKAGES_VIEW::PANEL_PACKAGES_VIEW(), PANEL_SCH_SELECTION_FILTER(), PANEL_SELECTION_FILTER::PANEL_SELECTION_FILTER(), PANEL_SETUP_BOARD_STACKUP::PANEL_SETUP_BOARD_STACKUP(), PANEL_SETUP_NETCLASSES::PANEL_SETUP_NETCLASSES(), and SYMBOL_TREE_SYNCHRONIZING_ADAPTER::ShowPreview().
void PANEL_SCH_SELECTION_FILTER::SetCheckboxesFromFilter | ( | SCH_SELECTION_FILTER_OPTIONS & | aOptions | ) |
Definition at line 92 of file panel_sch_selection_filter.cpp.
References SCH_SELECTION_FILTER_OPTIONS::All(), SCH_SELECTION_FILTER_OPTIONS::graphics, SCH_SELECTION_FILTER_OPTIONS::images, SCH_SELECTION_FILTER_OPTIONS::labels, SCH_SELECTION_FILTER_OPTIONS::lockedItems, PANEL_SCH_SELECTION_FILTER_BASE::m_cbAllItems, PANEL_SCH_SELECTION_FILTER_BASE::m_cbGraphics, PANEL_SCH_SELECTION_FILTER_BASE::m_cbImages, PANEL_SCH_SELECTION_FILTER_BASE::m_cbLabels, PANEL_SCH_SELECTION_FILTER_BASE::m_cbLockedItems, PANEL_SCH_SELECTION_FILTER_BASE::m_cbOtherItems, PANEL_SCH_SELECTION_FILTER_BASE::m_cbPins, PANEL_SCH_SELECTION_FILTER_BASE::m_cbSymbols, PANEL_SCH_SELECTION_FILTER_BASE::m_cbText, PANEL_SCH_SELECTION_FILTER_BASE::m_cbWires, SCH_SELECTION_FILTER_OPTIONS::otherItems, SCH_SELECTION_FILTER_OPTIONS::pins, SCH_SELECTION_FILTER_OPTIONS::symbols, SCH_SELECTION_FILTER_OPTIONS::text, and SCH_SELECTION_FILTER_OPTIONS::wires.
Referenced by SCH_EDIT_FRAME::LoadProjectSettings(), and PANEL_SCH_SELECTION_FILTER().
|
private |
Definition at line 136 of file panel_sch_selection_filter.cpp.
References SCH_SELECTION_FILTER_OPTIONS::All(), SCH_SELECTION_FILTER_OPTIONS::graphics, SCH_SELECTION_FILTER_OPTIONS::images, SCH_SELECTION_FILTER_OPTIONS::labels, SCH_SELECTION_FILTER_OPTIONS::lockedItems, PANEL_SCH_SELECTION_FILTER_BASE::m_cbGraphics, PANEL_SCH_SELECTION_FILTER_BASE::m_cbImages, PANEL_SCH_SELECTION_FILTER_BASE::m_cbLabels, PANEL_SCH_SELECTION_FILTER_BASE::m_cbLockedItems, PANEL_SCH_SELECTION_FILTER_BASE::m_cbOtherItems, PANEL_SCH_SELECTION_FILTER_BASE::m_cbPins, PANEL_SCH_SELECTION_FILTER_BASE::m_cbSymbols, PANEL_SCH_SELECTION_FILTER_BASE::m_cbText, PANEL_SCH_SELECTION_FILTER_BASE::m_cbWires, SCH_SELECTION_FILTER_OPTIONS::otherItems, SCH_SELECTION_FILTER_OPTIONS::pins, SCH_SELECTION_FILTER_OPTIONS::symbols, SCH_SELECTION_FILTER_OPTIONS::text, and SCH_SELECTION_FILTER_OPTIONS::wires.
Referenced by OnFilterChanged().
|
privateinherited |
Definition at line 61 of file wx_panel.h.
Referenced by WX_PANEL::OnPaint(), and WX_PANEL::SetBorderColor().
|
privateinherited |
Definition at line 59 of file wx_panel.h.
Referenced by WX_PANEL::OnPaint(), and WX_PANEL::SetBorders().
|
protectedinherited |
Definition at line 35 of file panel_sch_selection_filter_base.h.
Referenced by OnFilterChanged(), OnLanguageChanged(), onPopupSelection(), PANEL_SCH_SELECTION_FILTER(), PANEL_SCH_SELECTION_FILTER_BASE::PANEL_SCH_SELECTION_FILTER_BASE(), SetCheckboxesFromFilter(), and PANEL_SCH_SELECTION_FILTER_BASE::~PANEL_SCH_SELECTION_FILTER_BASE().
|
protectedinherited |
Definition at line 41 of file panel_sch_selection_filter_base.h.
Referenced by OnFilterChanged(), OnLanguageChanged(), onPopupSelection(), PANEL_SCH_SELECTION_FILTER(), PANEL_SCH_SELECTION_FILTER_BASE::PANEL_SCH_SELECTION_FILTER_BASE(), SetCheckboxesFromFilter(), setFilterFromCheckboxes(), and PANEL_SCH_SELECTION_FILTER_BASE::~PANEL_SCH_SELECTION_FILTER_BASE().
|
protectedinherited |
Definition at line 42 of file panel_sch_selection_filter_base.h.
Referenced by OnFilterChanged(), OnLanguageChanged(), onPopupSelection(), PANEL_SCH_SELECTION_FILTER(), PANEL_SCH_SELECTION_FILTER_BASE::PANEL_SCH_SELECTION_FILTER_BASE(), SetCheckboxesFromFilter(), setFilterFromCheckboxes(), and PANEL_SCH_SELECTION_FILTER_BASE::~PANEL_SCH_SELECTION_FILTER_BASE().
|
protectedinherited |
Definition at line 40 of file panel_sch_selection_filter_base.h.
Referenced by OnFilterChanged(), OnLanguageChanged(), onPopupSelection(), PANEL_SCH_SELECTION_FILTER(), PANEL_SCH_SELECTION_FILTER_BASE::PANEL_SCH_SELECTION_FILTER_BASE(), SetCheckboxesFromFilter(), setFilterFromCheckboxes(), and PANEL_SCH_SELECTION_FILTER_BASE::~PANEL_SCH_SELECTION_FILTER_BASE().
|
protectedinherited |
Definition at line 36 of file panel_sch_selection_filter_base.h.
Referenced by OnLanguageChanged(), PANEL_SCH_SELECTION_FILTER(), PANEL_SCH_SELECTION_FILTER_BASE::PANEL_SCH_SELECTION_FILTER_BASE(), SetCheckboxesFromFilter(), setFilterFromCheckboxes(), and PANEL_SCH_SELECTION_FILTER_BASE::~PANEL_SCH_SELECTION_FILTER_BASE().
|
protectedinherited |
Definition at line 44 of file panel_sch_selection_filter_base.h.
Referenced by OnFilterChanged(), OnLanguageChanged(), onPopupSelection(), PANEL_SCH_SELECTION_FILTER(), PANEL_SCH_SELECTION_FILTER_BASE::PANEL_SCH_SELECTION_FILTER_BASE(), SetCheckboxesFromFilter(), setFilterFromCheckboxes(), and PANEL_SCH_SELECTION_FILTER_BASE::~PANEL_SCH_SELECTION_FILTER_BASE().
|
protectedinherited |
Definition at line 38 of file panel_sch_selection_filter_base.h.
Referenced by OnFilterChanged(), OnLanguageChanged(), onPopupSelection(), PANEL_SCH_SELECTION_FILTER(), PANEL_SCH_SELECTION_FILTER_BASE::PANEL_SCH_SELECTION_FILTER_BASE(), SetCheckboxesFromFilter(), setFilterFromCheckboxes(), and PANEL_SCH_SELECTION_FILTER_BASE::~PANEL_SCH_SELECTION_FILTER_BASE().
|
protectedinherited |
Definition at line 37 of file panel_sch_selection_filter_base.h.
Referenced by OnFilterChanged(), OnLanguageChanged(), onPopupSelection(), PANEL_SCH_SELECTION_FILTER(), PANEL_SCH_SELECTION_FILTER_BASE::PANEL_SCH_SELECTION_FILTER_BASE(), SetCheckboxesFromFilter(), setFilterFromCheckboxes(), and PANEL_SCH_SELECTION_FILTER_BASE::~PANEL_SCH_SELECTION_FILTER_BASE().
|
protectedinherited |
Definition at line 43 of file panel_sch_selection_filter_base.h.
Referenced by OnFilterChanged(), OnLanguageChanged(), onPopupSelection(), PANEL_SCH_SELECTION_FILTER(), PANEL_SCH_SELECTION_FILTER_BASE::PANEL_SCH_SELECTION_FILTER_BASE(), SetCheckboxesFromFilter(), setFilterFromCheckboxes(), and PANEL_SCH_SELECTION_FILTER_BASE::~PANEL_SCH_SELECTION_FILTER_BASE().
|
protectedinherited |
Definition at line 39 of file panel_sch_selection_filter_base.h.
Referenced by OnFilterChanged(), OnLanguageChanged(), onPopupSelection(), PANEL_SCH_SELECTION_FILTER(), PANEL_SCH_SELECTION_FILTER_BASE::PANEL_SCH_SELECTION_FILTER_BASE(), SetCheckboxesFromFilter(), setFilterFromCheckboxes(), and PANEL_SCH_SELECTION_FILTER_BASE::~PANEL_SCH_SELECTION_FILTER_BASE().
|
private |
Definition at line 52 of file panel_sch_selection_filter.h.
Referenced by PANEL_SCH_SELECTION_FILTER(), and ~PANEL_SCH_SELECTION_FILTER().
|
protectedinherited |
Definition at line 34 of file panel_sch_selection_filter_base.h.
Referenced by PANEL_SCH_SELECTION_FILTER(), and PANEL_SCH_SELECTION_FILTER_BASE::PANEL_SCH_SELECTION_FILTER_BASE().
|
privateinherited |
Definition at line 56 of file wx_panel.h.
Referenced by WX_PANEL::OnPaint(), and WX_PANEL::SetBorders().
|
private |
Definition at line 54 of file panel_sch_selection_filter.h.
Referenced by onPopupSelection(), and onRightClick().
|
privateinherited |
Definition at line 57 of file wx_panel.h.
Referenced by WX_PANEL::OnPaint(), and WX_PANEL::SetBorders().
|
private |
Definition at line 53 of file panel_sch_selection_filter.h.
Referenced by OnFilterChanged(), and PANEL_SCH_SELECTION_FILTER().
|
privateinherited |
Definition at line 58 of file wx_panel.h.
Referenced by WX_PANEL::OnPaint(), and WX_PANEL::SetBorders().