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

#include <panel_sch_selection_filter.h>

Inheritance diagram for PANEL_SCH_SELECTION_FILTER:
PANEL_SCH_SELECTION_FILTER_BASE WX_PANEL

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_FRAMEm_frame
 
EE_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_sch_selection_filter.h.

Constructor & Destructor Documentation

◆ PANEL_SCH_SELECTION_FILTER()

◆ ~PANEL_SCH_SELECTION_FILTER()

PANEL_SCH_SELECTION_FILTER::~PANEL_SCH_SELECTION_FILTER ( )

Definition at line 86 of file panel_sch_selection_filter.cpp.

References m_frame, and OnLanguageChanged().

Member Function Documentation

◆ OnFilterChanged()

◆ OnLanguageChanged()

◆ OnPaint()

◆ onPopupSelection()

◆ onRightClick()

void PANEL_SCH_SELECTION_FILTER::onRightClick ( wxMouseEvent &  aEvent)
private

Definition at line 152 of file panel_sch_selection_filter.cpp.

References _, m_onlyCheckbox, and onPopupSelection().

Referenced by PANEL_SCH_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_cbGraphics

◆ m_cbImages

◆ m_cbLabels

◆ m_cbLockedItems

◆ m_cbOtherItems

◆ m_cbPins

◆ m_cbSymbols

◆ m_cbText

◆ m_cbWires

◆ m_frame

SCH_BASE_FRAME* PANEL_SCH_SELECTION_FILTER::m_frame
private

◆ m_gridSizer

wxGridBagSizer* PANEL_SCH_SELECTION_FILTER_BASE::m_gridSizer
protectedinherited

◆ 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_SCH_SELECTION_FILTER::m_onlyCheckbox
private

Definition at line 54 of file panel_sch_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

EE_SELECTION_TOOL* PANEL_SCH_SELECTION_FILTER::m_tool
private

Definition at line 53 of file panel_sch_selection_filter.h.

Referenced by OnFilterChanged(), and PANEL_SCH_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: