KiCad PCB EDA Suite
|
#include <panel_selection_filter.h>
Public Member Functions | |
PANEL_SELECTION_FILTER (wxWindow *aParent) | |
~PANEL_SELECTION_FILTER () | |
void | SetCheckboxesFromFilter (PCB_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 | |
wxCheckBox * | m_cbAllItems |
wxCheckBox * | m_cbLockedItems |
wxCheckBox * | m_cbFootprints |
wxCheckBox * | m_cbText |
wxCheckBox * | m_cbTracks |
wxCheckBox * | m_cbVias |
wxCheckBox * | m_cbPads |
wxCheckBox * | m_cbGraphics |
wxCheckBox * | m_cbZones |
wxCheckBox * | m_cbKeepouts |
wxCheckBox * | m_cbDimensions |
wxCheckBox * | m_cbOtherItems |
Private Member Functions | |
bool | setFilterFromCheckboxes (PCB_SELECTION_FILTER_OPTIONS &aOptions) |
void | onRightClick (wxMouseEvent &aEvent) |
void | onPopupSelection (wxCommandEvent &aEvent) |
void | OnPaint (wxPaintEvent &event) |
Private Attributes | |
PCB_BASE_EDIT_FRAME * | m_frame |
PCB_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_selection_filter.h.
PANEL_SELECTION_FILTER::PANEL_SELECTION_FILTER | ( | wxWindow * | aParent | ) |
Definition at line 27 of file panel_selection_filter.cpp.
References PCB_SELECTION_TOOL::GetFilter(), KIUI::GetInfoFont(), TOOL_MANAGER::GetTool(), TOOLS_HOLDER::GetToolManager(), PANEL_SELECTION_FILTER_BASE::m_cbAllItems, PANEL_SELECTION_FILTER_BASE::m_cbDimensions, PANEL_SELECTION_FILTER_BASE::m_cbFootprints, PANEL_SELECTION_FILTER_BASE::m_cbGraphics, PANEL_SELECTION_FILTER_BASE::m_cbKeepouts, PANEL_SELECTION_FILTER_BASE::m_cbLockedItems, PANEL_SELECTION_FILTER_BASE::m_cbOtherItems, PANEL_SELECTION_FILTER_BASE::m_cbPads, PANEL_SELECTION_FILTER_BASE::m_cbText, PANEL_SELECTION_FILTER_BASE::m_cbTracks, PANEL_SELECTION_FILTER_BASE::m_cbVias, PANEL_SELECTION_FILTER_BASE::m_cbZones, m_frame, m_tool, OnLanguageChanged(), onRightClick(), WX_PANEL::SetBorders(), and SetCheckboxesFromFilter().
PANEL_SELECTION_FILTER::~PANEL_SELECTION_FILTER | ( | ) |
Definition at line 70 of file panel_selection_filter.cpp.
References m_frame, and OnLanguageChanged().
|
overrideprotectedvirtual |
Reimplemented from PANEL_SELECTION_FILTER_BASE.
Definition at line 98 of file panel_selection_filter.cpp.
References PCB_SELECTION_TOOL::GetFilter(), PANEL_SELECTION_FILTER_BASE::m_cbAllItems, PANEL_SELECTION_FILTER_BASE::m_cbDimensions, PANEL_SELECTION_FILTER_BASE::m_cbFootprints, PANEL_SELECTION_FILTER_BASE::m_cbGraphics, PANEL_SELECTION_FILTER_BASE::m_cbKeepouts, PANEL_SELECTION_FILTER_BASE::m_cbOtherItems, PANEL_SELECTION_FILTER_BASE::m_cbPads, PANEL_SELECTION_FILTER_BASE::m_cbText, PANEL_SELECTION_FILTER_BASE::m_cbTracks, PANEL_SELECTION_FILTER_BASE::m_cbVias, PANEL_SELECTION_FILTER_BASE::m_cbZones, m_tool, and setFilterFromCheckboxes().
Referenced by onPopupSelection().
|
protected |
Definition at line 189 of file panel_selection_filter.cpp.
References _, PANEL_SELECTION_FILTER_BASE::m_cbAllItems, PANEL_SELECTION_FILTER_BASE::m_cbDimensions, PANEL_SELECTION_FILTER_BASE::m_cbFootprints, PANEL_SELECTION_FILTER_BASE::m_cbGraphics, PANEL_SELECTION_FILTER_BASE::m_cbKeepouts, PANEL_SELECTION_FILTER_BASE::m_cbLockedItems, PANEL_SELECTION_FILTER_BASE::m_cbOtherItems, PANEL_SELECTION_FILTER_BASE::m_cbPads, PANEL_SELECTION_FILTER_BASE::m_cbText, PANEL_SELECTION_FILTER_BASE::m_cbTracks, PANEL_SELECTION_FILTER_BASE::m_cbVias, and PANEL_SELECTION_FILTER_BASE::m_cbZones.
Referenced by PANEL_SELECTION_FILTER(), and ~PANEL_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 164 of file panel_selection_filter.cpp.
References dummy, PANEL_SELECTION_FILTER_BASE::m_cbAllItems, PANEL_SELECTION_FILTER_BASE::m_cbDimensions, PANEL_SELECTION_FILTER_BASE::m_cbFootprints, PANEL_SELECTION_FILTER_BASE::m_cbGraphics, PANEL_SELECTION_FILTER_BASE::m_cbKeepouts, PANEL_SELECTION_FILTER_BASE::m_cbOtherItems, PANEL_SELECTION_FILTER_BASE::m_cbPads, PANEL_SELECTION_FILTER_BASE::m_cbText, PANEL_SELECTION_FILTER_BASE::m_cbTracks, PANEL_SELECTION_FILTER_BASE::m_cbVias, PANEL_SELECTION_FILTER_BASE::m_cbZones, m_onlyCheckbox, and OnFilterChanged().
Referenced by onRightClick().
|
private |
Definition at line 142 of file panel_selection_filter.cpp.
References _, m_onlyCheckbox, and onPopupSelection().
Referenced by PANEL_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_SCH_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_SELECTION_FILTER::SetCheckboxesFromFilter | ( | PCB_SELECTION_FILTER_OPTIONS & | aOptions | ) |
Definition at line 76 of file panel_selection_filter.cpp.
References PCB_SELECTION_FILTER_OPTIONS::All(), PCB_SELECTION_FILTER_OPTIONS::dimensions, PCB_SELECTION_FILTER_OPTIONS::footprints, PCB_SELECTION_FILTER_OPTIONS::graphics, PCB_SELECTION_FILTER_OPTIONS::keepouts, PCB_SELECTION_FILTER_OPTIONS::lockedItems, PANEL_SELECTION_FILTER_BASE::m_cbAllItems, PANEL_SELECTION_FILTER_BASE::m_cbDimensions, PANEL_SELECTION_FILTER_BASE::m_cbFootprints, PANEL_SELECTION_FILTER_BASE::m_cbGraphics, PANEL_SELECTION_FILTER_BASE::m_cbKeepouts, PANEL_SELECTION_FILTER_BASE::m_cbLockedItems, PANEL_SELECTION_FILTER_BASE::m_cbOtherItems, PANEL_SELECTION_FILTER_BASE::m_cbPads, PANEL_SELECTION_FILTER_BASE::m_cbText, PANEL_SELECTION_FILTER_BASE::m_cbTracks, PANEL_SELECTION_FILTER_BASE::m_cbVias, PANEL_SELECTION_FILTER_BASE::m_cbZones, PCB_SELECTION_FILTER_OPTIONS::otherItems, PCB_SELECTION_FILTER_OPTIONS::pads, PCB_SELECTION_FILTER_OPTIONS::text, PCB_SELECTION_FILTER_OPTIONS::tracks, PCB_SELECTION_FILTER_OPTIONS::vias, and PCB_SELECTION_FILTER_OPTIONS::zones.
Referenced by PCB_EDIT_FRAME::LoadProjectSettings(), FOOTPRINT_EDIT_FRAME::LoadSettings(), and PANEL_SELECTION_FILTER().
|
private |
Definition at line 124 of file panel_selection_filter.cpp.
References PCB_SELECTION_FILTER_OPTIONS::All(), PCB_SELECTION_FILTER_OPTIONS::dimensions, PCB_SELECTION_FILTER_OPTIONS::footprints, PCB_SELECTION_FILTER_OPTIONS::graphics, PCB_SELECTION_FILTER_OPTIONS::keepouts, PCB_SELECTION_FILTER_OPTIONS::lockedItems, PANEL_SELECTION_FILTER_BASE::m_cbDimensions, PANEL_SELECTION_FILTER_BASE::m_cbFootprints, PANEL_SELECTION_FILTER_BASE::m_cbGraphics, PANEL_SELECTION_FILTER_BASE::m_cbKeepouts, PANEL_SELECTION_FILTER_BASE::m_cbLockedItems, PANEL_SELECTION_FILTER_BASE::m_cbOtherItems, PANEL_SELECTION_FILTER_BASE::m_cbPads, PANEL_SELECTION_FILTER_BASE::m_cbText, PANEL_SELECTION_FILTER_BASE::m_cbTracks, PANEL_SELECTION_FILTER_BASE::m_cbVias, PANEL_SELECTION_FILTER_BASE::m_cbZones, PCB_SELECTION_FILTER_OPTIONS::otherItems, PCB_SELECTION_FILTER_OPTIONS::pads, PCB_SELECTION_FILTER_OPTIONS::text, PCB_SELECTION_FILTER_OPTIONS::tracks, PCB_SELECTION_FILTER_OPTIONS::vias, and PCB_SELECTION_FILTER_OPTIONS::zones.
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 34 of file panel_selection_filter_base.h.
Referenced by OnFilterChanged(), OnLanguageChanged(), onPopupSelection(), PANEL_SELECTION_FILTER(), PANEL_SELECTION_FILTER_BASE::PANEL_SELECTION_FILTER_BASE(), SetCheckboxesFromFilter(), and PANEL_SELECTION_FILTER_BASE::~PANEL_SELECTION_FILTER_BASE().
|
protectedinherited |
Definition at line 44 of file panel_selection_filter_base.h.
Referenced by OnFilterChanged(), OnLanguageChanged(), onPopupSelection(), PANEL_SELECTION_FILTER(), PANEL_SELECTION_FILTER_BASE::PANEL_SELECTION_FILTER_BASE(), SetCheckboxesFromFilter(), setFilterFromCheckboxes(), and PANEL_SELECTION_FILTER_BASE::~PANEL_SELECTION_FILTER_BASE().
|
protectedinherited |
Definition at line 36 of file panel_selection_filter_base.h.
Referenced by OnFilterChanged(), OnLanguageChanged(), onPopupSelection(), PANEL_SELECTION_FILTER(), PANEL_SELECTION_FILTER_BASE::PANEL_SELECTION_FILTER_BASE(), SetCheckboxesFromFilter(), setFilterFromCheckboxes(), and PANEL_SELECTION_FILTER_BASE::~PANEL_SELECTION_FILTER_BASE().
|
protectedinherited |
Definition at line 41 of file panel_selection_filter_base.h.
Referenced by OnFilterChanged(), OnLanguageChanged(), onPopupSelection(), PANEL_SELECTION_FILTER(), PANEL_SELECTION_FILTER_BASE::PANEL_SELECTION_FILTER_BASE(), SetCheckboxesFromFilter(), setFilterFromCheckboxes(), and PANEL_SELECTION_FILTER_BASE::~PANEL_SELECTION_FILTER_BASE().
|
protectedinherited |
Definition at line 43 of file panel_selection_filter_base.h.
Referenced by OnFilterChanged(), OnLanguageChanged(), onPopupSelection(), PANEL_SELECTION_FILTER(), PANEL_SELECTION_FILTER_BASE::PANEL_SELECTION_FILTER_BASE(), SetCheckboxesFromFilter(), setFilterFromCheckboxes(), and PANEL_SELECTION_FILTER_BASE::~PANEL_SELECTION_FILTER_BASE().
|
protectedinherited |
Definition at line 35 of file panel_selection_filter_base.h.
Referenced by OnLanguageChanged(), PANEL_SELECTION_FILTER(), PANEL_SELECTION_FILTER_BASE::PANEL_SELECTION_FILTER_BASE(), SetCheckboxesFromFilter(), setFilterFromCheckboxes(), and PANEL_SELECTION_FILTER_BASE::~PANEL_SELECTION_FILTER_BASE().
|
protectedinherited |
Definition at line 45 of file panel_selection_filter_base.h.
Referenced by OnFilterChanged(), OnLanguageChanged(), onPopupSelection(), PANEL_SELECTION_FILTER(), PANEL_SELECTION_FILTER_BASE::PANEL_SELECTION_FILTER_BASE(), SetCheckboxesFromFilter(), setFilterFromCheckboxes(), and PANEL_SELECTION_FILTER_BASE::~PANEL_SELECTION_FILTER_BASE().
|
protectedinherited |
Definition at line 40 of file panel_selection_filter_base.h.
Referenced by OnFilterChanged(), OnLanguageChanged(), onPopupSelection(), PANEL_SELECTION_FILTER(), PANEL_SELECTION_FILTER_BASE::PANEL_SELECTION_FILTER_BASE(), SetCheckboxesFromFilter(), setFilterFromCheckboxes(), and PANEL_SELECTION_FILTER_BASE::~PANEL_SELECTION_FILTER_BASE().
|
protectedinherited |
Definition at line 37 of file panel_selection_filter_base.h.
Referenced by OnFilterChanged(), OnLanguageChanged(), onPopupSelection(), PANEL_SELECTION_FILTER(), PANEL_SELECTION_FILTER_BASE::PANEL_SELECTION_FILTER_BASE(), SetCheckboxesFromFilter(), setFilterFromCheckboxes(), and PANEL_SELECTION_FILTER_BASE::~PANEL_SELECTION_FILTER_BASE().
|
protectedinherited |
Definition at line 38 of file panel_selection_filter_base.h.
Referenced by OnFilterChanged(), OnLanguageChanged(), onPopupSelection(), PANEL_SELECTION_FILTER(), PANEL_SELECTION_FILTER_BASE::PANEL_SELECTION_FILTER_BASE(), SetCheckboxesFromFilter(), setFilterFromCheckboxes(), and PANEL_SELECTION_FILTER_BASE::~PANEL_SELECTION_FILTER_BASE().
|
protectedinherited |
Definition at line 39 of file panel_selection_filter_base.h.
Referenced by OnFilterChanged(), OnLanguageChanged(), onPopupSelection(), PANEL_SELECTION_FILTER(), PANEL_SELECTION_FILTER_BASE::PANEL_SELECTION_FILTER_BASE(), SetCheckboxesFromFilter(), setFilterFromCheckboxes(), and PANEL_SELECTION_FILTER_BASE::~PANEL_SELECTION_FILTER_BASE().
|
protectedinherited |
Definition at line 42 of file panel_selection_filter_base.h.
Referenced by OnFilterChanged(), OnLanguageChanged(), onPopupSelection(), PANEL_SELECTION_FILTER(), PANEL_SELECTION_FILTER_BASE::PANEL_SELECTION_FILTER_BASE(), SetCheckboxesFromFilter(), setFilterFromCheckboxes(), and PANEL_SELECTION_FILTER_BASE::~PANEL_SELECTION_FILTER_BASE().
|
private |
Definition at line 52 of file panel_selection_filter.h.
Referenced by PANEL_SELECTION_FILTER(), and ~PANEL_SELECTION_FILTER().
|
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_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_selection_filter.h.
Referenced by OnFilterChanged(), and PANEL_SELECTION_FILTER().
|
privateinherited |
Definition at line 58 of file wx_panel.h.
Referenced by WX_PANEL::OnPaint(), and WX_PANEL::SetBorders().