KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PANEL_SELECTION_FILTER Class Reference

#include <panel_selection_filter.h>

Inheritance diagram for PANEL_SELECTION_FILTER:
PANEL_SELECTION_FILTER_BASE WX_PANEL

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_FRAMEm_frame
 
PCB_SELECTION_TOOLm_tool
 
wxCheckBox * m_onlyCheckbox
 
bool m_leftBorder
 
bool m_rightBorder
 
bool m_topBorder
 
bool m_bottomBorder
 
KIGFX::COLOR4D m_borderColor
 

Detailed Description

Definition at line 31 of file panel_selection_filter.h.

Constructor & Destructor Documentation

◆ PANEL_SELECTION_FILTER()

◆ ~PANEL_SELECTION_FILTER()

PANEL_SELECTION_FILTER::~PANEL_SELECTION_FILTER ( )

Definition at line 70 of file panel_selection_filter.cpp.

References m_frame, and OnLanguageChanged().

Member Function Documentation

◆ OnFilterChanged()

◆ OnLanguageChanged()

◆ OnPaint()

◆ onPopupSelection()

◆ onRightClick()

void PANEL_SELECTION_FILTER::onRightClick ( wxMouseEvent &  aEvent)
private

Definition at line 142 of file panel_selection_filter.cpp.

References _, m_onlyCheckbox, and onPopupSelection().

Referenced by PANEL_SELECTION_FILTER().

◆ SetBorderColor()

void WX_PANEL::SetBorderColor ( const KIGFX::COLOR4D aColor)
inlineinherited

Definition at line 47 of file wx_panel.h.

References WX_PANEL::m_borderColor.

Referenced by SYMBOL_TREE_SYNCHRONIZING_ADAPTER::ShowPreview().

◆ SetBorders()

◆ SetCheckboxesFromFilter()

◆ setFilterFromCheckboxes()

Member Data Documentation

◆ m_borderColor

KIGFX::COLOR4D WX_PANEL::m_borderColor
privateinherited

Definition at line 61 of file wx_panel.h.

Referenced by WX_PANEL::OnPaint(), and WX_PANEL::SetBorderColor().

◆ m_bottomBorder

bool WX_PANEL::m_bottomBorder
privateinherited

Definition at line 59 of file wx_panel.h.

Referenced by WX_PANEL::OnPaint(), and WX_PANEL::SetBorders().

◆ m_cbAllItems

◆ m_cbDimensions

◆ m_cbFootprints

◆ m_cbGraphics

◆ m_cbKeepouts

◆ m_cbLockedItems

◆ m_cbOtherItems

◆ m_cbPads

◆ m_cbText

◆ m_cbTracks

◆ m_cbVias

◆ m_cbZones

◆ m_frame

PCB_BASE_EDIT_FRAME* PANEL_SELECTION_FILTER::m_frame
private

Definition at line 52 of file panel_selection_filter.h.

Referenced by PANEL_SELECTION_FILTER(), and ~PANEL_SELECTION_FILTER().

◆ m_leftBorder

bool WX_PANEL::m_leftBorder
privateinherited

Definition at line 56 of file wx_panel.h.

Referenced by WX_PANEL::OnPaint(), and WX_PANEL::SetBorders().

◆ m_onlyCheckbox

wxCheckBox* PANEL_SELECTION_FILTER::m_onlyCheckbox
private

Definition at line 54 of file panel_selection_filter.h.

Referenced by onPopupSelection(), and onRightClick().

◆ m_rightBorder

bool WX_PANEL::m_rightBorder
privateinherited

Definition at line 57 of file wx_panel.h.

Referenced by WX_PANEL::OnPaint(), and WX_PANEL::SetBorders().

◆ m_tool

PCB_SELECTION_TOOL* PANEL_SELECTION_FILTER::m_tool
private

Definition at line 53 of file panel_selection_filter.h.

Referenced by OnFilterChanged(), and PANEL_SELECTION_FILTER().

◆ m_topBorder

bool WX_PANEL::m_topBorder
privateinherited

Definition at line 58 of file wx_panel.h.

Referenced by WX_PANEL::OnPaint(), and WX_PANEL::SetBorders().


The documentation for this class was generated from the following files: