KiCad PCB EDA Suite
|
#include <grid_layer_box_helpers.h>
Public Member Functions | |
GRID_CELL_LAYER_SELECTOR (PCB_BASE_FRAME *aFrame, const LSET &forbiddenLayers, bool aShowNonActivated=false) | |
wxGridCellEditor * | Clone () const override |
void | Create (wxWindow *aParent, wxWindowID aId, wxEvtHandler *aEventHandler) override |
wxString | GetValue () const override |
void | SetSize (const wxRect &aRect) override |
void | BeginEdit (int aRow, int aCol, wxGrid *aGrid) override |
bool | EndEdit (int, int, const wxGrid *, const wxString &, wxString *newval) override |
void | ApplyEdit (int aRow, int aCol, wxGrid *aGrid) override |
void | Reset () override |
Protected Member Functions | |
void | onComboDropDown (wxCommandEvent &aEvent) |
void | onComboCloseUp (wxCommandEvent &aEvent) |
PCB_LAYER_BOX_SELECTOR * | LayerBox () const |
wxDECLARE_NO_COPY_CLASS (GRID_CELL_LAYER_SELECTOR) | |
Protected Attributes | |
PCB_BASE_FRAME * | m_frame |
LSET | m_mask |
bool | m_showNonActivated |
int | m_value |
Definition at line 58 of file grid_layer_box_helpers.h.
GRID_CELL_LAYER_SELECTOR::GRID_CELL_LAYER_SELECTOR | ( | PCB_BASE_FRAME * | aFrame, |
const LSET & | forbiddenLayers, | ||
bool | aShowNonActivated = false ) |
Definition at line 108 of file grid_layer_box_helpers.cpp.
References m_frame, m_mask, m_showNonActivated, and m_value.
Referenced by Clone(), and wxDECLARE_NO_COPY_CLASS().
|
override |
Definition at line 231 of file grid_layer_box_helpers.cpp.
References m_value.
|
override |
Definition at line 174 of file grid_layer_box_helpers.cpp.
References LayerBox(), m_frame, m_mask, m_value, onComboCloseUp(), onComboDropDown(), PCB_LAYER_BOX_SELECTOR::Resync(), LAYER_BOX_SELECTOR::SetLayerSelection(), PCB_LAYER_BOX_SELECTOR::SetNotAllowedLayerSet(), PCB_LAYER_BOX_SELECTOR::ShowNonActivatedLayers(), and ToLAYER_ID().
|
override |
Definition at line 118 of file grid_layer_box_helpers.cpp.
References GRID_CELL_LAYER_SELECTOR(), m_frame, and m_mask.
|
override |
Definition at line 124 of file grid_layer_box_helpers.cpp.
References LayerBox(), m_frame, m_mask, m_showNonActivated, PCB_LAYER_BOX_SELECTOR::SetBoardFrame(), LAYER_SELECTOR::SetLayersHotkeys(), PCB_LAYER_BOX_SELECTOR::SetNotAllowedLayerSet(), and PCB_LAYER_BOX_SELECTOR::ShowNonActivatedLayers().
|
override |
Definition at line 214 of file grid_layer_box_helpers.cpp.
References LAYER_BOX_SELECTOR::GetLayerSelection(), GetValue(), LayerBox(), and m_value.
|
override |
Definition at line 140 of file grid_layer_box_helpers.cpp.
References BOARD::GetStandardLayerName(), LayerBox(), m_frame, ToLAYER_ID(), and UNDEFINED_LAYER.
Referenced by EndEdit().
|
inlineprotected |
Definition at line 81 of file grid_layer_box_helpers.h.
Referenced by BeginEdit(), Create(), EndEdit(), GetValue(), Reset(), and SetSize().
|
protected |
Definition at line 256 of file grid_layer_box_helpers.cpp.
Referenced by BeginEdit().
|
protected |
Definition at line 243 of file grid_layer_box_helpers.cpp.
Referenced by BeginEdit().
|
override |
Definition at line 237 of file grid_layer_box_helpers.cpp.
References LayerBox(), m_value, and LAYER_BOX_SELECTOR::SetLayerSelection().
|
override |
Definition at line 156 of file grid_layer_box_helpers.cpp.
References LayerBox().
|
protected |
References GRID_CELL_LAYER_SELECTOR().
|
protected |
Definition at line 86 of file grid_layer_box_helpers.h.
Referenced by BeginEdit(), Clone(), Create(), GetValue(), and GRID_CELL_LAYER_SELECTOR().
|
protected |
Definition at line 87 of file grid_layer_box_helpers.h.
Referenced by BeginEdit(), Clone(), Create(), and GRID_CELL_LAYER_SELECTOR().
|
protected |
Definition at line 88 of file grid_layer_box_helpers.h.
Referenced by Create(), and GRID_CELL_LAYER_SELECTOR().
|
protected |
Definition at line 89 of file grid_layer_box_helpers.h.
Referenced by ApplyEdit(), BeginEdit(), EndEdit(), GRID_CELL_LAYER_SELECTOR(), and Reset().