#include <grid_layer_box_helpers.h>
|
| GRID_CELL_LAYER_SELECTOR (PCB_BASE_FRAME *aFrame, LSET forbiddenLayers) |
|
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 |
|
Definition at line 56 of file grid_layer_box_helpers.h.
◆ GRID_CELL_LAYER_SELECTOR()
GRID_CELL_LAYER_SELECTOR::GRID_CELL_LAYER_SELECTOR |
( |
PCB_BASE_FRAME * |
aFrame, |
|
|
LSET |
forbiddenLayers |
|
) |
| |
◆ ApplyEdit()
void GRID_CELL_LAYER_SELECTOR::ApplyEdit |
( |
int |
aRow, |
|
|
int |
aCol, |
|
|
wxGrid * |
aGrid |
|
) |
| |
|
override |
◆ BeginEdit()
void GRID_CELL_LAYER_SELECTOR::BeginEdit |
( |
int |
aRow, |
|
|
int |
aCol, |
|
|
wxGrid * |
aGrid |
|
) |
| |
|
override |
Definition at line 172 of file grid_layer_box_helpers.cpp.
References PCB_BASE_FRAME::GetBoard(), BOARD::IsLayerEnabled(), LayerBox(), m_frame, m_value, onComboCloseUp(), onComboDropDown(), PCB_LAYER_BOX_SELECTOR::Resync(), LAYER_BOX_SELECTOR::SetLayerSelection(), PCB_LAYER_BOX_SELECTOR::ShowNonActivatedLayers(), and ToLAYER_ID().
◆ Clone()
wxGridCellEditor * GRID_CELL_LAYER_SELECTOR::Clone |
( |
| ) |
const |
|
override |
◆ Create()
void GRID_CELL_LAYER_SELECTOR::Create |
( |
wxWindow * |
aParent, |
|
|
wxWindowID |
aId, |
|
|
wxEvtHandler * |
aEventHandler |
|
) |
| |
|
override |
◆ EndEdit()
bool GRID_CELL_LAYER_SELECTOR::EndEdit |
( |
int |
, |
|
|
int |
, |
|
|
const wxGrid * |
, |
|
|
const wxString & |
, |
|
|
wxString * |
newval |
|
) |
| |
|
override |
◆ GetValue()
wxString GRID_CELL_LAYER_SELECTOR::GetValue |
( |
| ) |
const |
|
override |
◆ LayerBox()
◆ onComboCloseUp()
void GRID_CELL_LAYER_SELECTOR::onComboCloseUp |
( |
wxCommandEvent & |
aEvent | ) |
|
|
protected |
◆ onComboDropDown()
void GRID_CELL_LAYER_SELECTOR::onComboDropDown |
( |
wxCommandEvent & |
aEvent | ) |
|
|
protected |
◆ Reset()
void GRID_CELL_LAYER_SELECTOR::Reset |
( |
| ) |
|
|
override |
◆ SetSize()
void GRID_CELL_LAYER_SELECTOR::SetSize |
( |
const wxRect & |
aRect | ) |
|
|
override |
◆ wxDECLARE_NO_COPY_CLASS()
◆ m_frame
◆ m_mask
LSET GRID_CELL_LAYER_SELECTOR::m_mask |
|
protected |
◆ m_value
int GRID_CELL_LAYER_SELECTOR::m_value |
|
protected |
The documentation for this class was generated from the following files: