KiCad PCB EDA Suite
Loading...
Searching...
No Matches
LAYERS_GRID_TABLE Class Reference
Inheritance diagram for LAYERS_GRID_TABLE:
WX_GRID_TABLE_BASE

Public Member Functions

 LAYERS_GRID_TABLE (PCB_BASE_FRAME *aFrame, const LSET &aForbiddenLayers)
 
 ~LAYERS_GRID_TABLE ()
 
int GetNumberRows () override
 
int GetNumberCols () override
 
bool CanGetValueAs (int aRow, int aCol, const wxString &aTypeName) override
 
bool CanSetValueAs (int aRow, int aCol, const wxString &aTypeName) override
 
wxGridCellAttr * GetAttr (int aRow, int aCol, wxGridCellAttr::wxAttrKind aKind) override
 
wxString GetValue (int aRow, int aCol) override
 
long GetValueAsLong (int aRow, int aCol) override
 
void SetValue (int aRow, int aCol, const wxString &aValue) override
 
void SetValueAsLong (int aRow, int aCol, long aValue) override
 
void SetColAttr (wxGridCellAttr *aAttr, int aCol) override
 

Public Attributes

T elements
 STL member.
 

Protected Member Functions

wxGridCellAttr * enhanceAttr (wxGridCellAttr *aInputAttr, int aRow, int aCol, wxGridCellAttr::wxAttrKind aKind)
 

Protected Attributes

std::map< int, wxGridCellAttr * > m_colAttrs
 

Private Attributes

PCB_BASE_FRAMEm_frame
 
wxGridCellAttr * m_layerColAttr
 

Detailed Description

Definition at line 66 of file dialog_footprint_properties_fp_editor.cpp.

Constructor & Destructor Documentation

◆ LAYERS_GRID_TABLE()

LAYERS_GRID_TABLE::LAYERS_GRID_TABLE ( PCB_BASE_FRAME * aFrame,
const LSET & aForbiddenLayers )

Definition at line 91 of file dialog_footprint_properties_fp_editor.cpp.

References m_frame, and m_layerColAttr.

◆ ~LAYERS_GRID_TABLE()

LAYERS_GRID_TABLE::~LAYERS_GRID_TABLE ( )

Definition at line 101 of file dialog_footprint_properties_fp_editor.cpp.

References m_layerColAttr.

Member Function Documentation

◆ CanGetValueAs()

bool LAYERS_GRID_TABLE::CanGetValueAs ( int aRow,
int aCol,
const wxString & aTypeName )
override

Definition at line 107 of file dialog_footprint_properties_fp_editor.cpp.

◆ CanSetValueAs()

bool LAYERS_GRID_TABLE::CanSetValueAs ( int aRow,
int aCol,
const wxString & aTypeName )
override

Definition at line 113 of file dialog_footprint_properties_fp_editor.cpp.

◆ enhanceAttr()

wxGridCellAttr * WX_GRID_TABLE_BASE::enhanceAttr ( wxGridCellAttr * aInputAttr,
int aRow,
int aCol,
wxGridCellAttr::wxAttrKind aKind )
protectedinherited

◆ GetAttr()

wxGridCellAttr * LAYERS_GRID_TABLE::GetAttr ( int aRow,
int aCol,
wxGridCellAttr::wxAttrKind aKind )
override

◆ GetNumberCols()

int LAYERS_GRID_TABLE::GetNumberCols ( )
inlineoverride

Definition at line 73 of file dialog_footprint_properties_fp_editor.cpp.

◆ GetNumberRows()

int LAYERS_GRID_TABLE::GetNumberRows ( )
inlineoverride

Definition at line 72 of file dialog_footprint_properties_fp_editor.cpp.

◆ GetValue()

wxString LAYERS_GRID_TABLE::GetValue ( int aRow,
int aCol )
override

Definition at line 126 of file dialog_footprint_properties_fp_editor.cpp.

References m_frame.

◆ GetValueAsLong()

long LAYERS_GRID_TABLE::GetValueAsLong ( int aRow,
int aCol )
override

Definition at line 132 of file dialog_footprint_properties_fp_editor.cpp.

◆ SetColAttr()

void WX_GRID_TABLE_BASE::SetColAttr ( wxGridCellAttr * aAttr,
int aCol )
inlineoverrideinherited

Definition at line 51 of file wx_grid.h.

References m_colAttrs.

◆ SetValue()

void LAYERS_GRID_TABLE::SetValue ( int aRow,
int aCol,
const wxString & aValue )
override

Definition at line 138 of file dialog_footprint_properties_fp_editor.cpp.

◆ SetValueAsLong()

void LAYERS_GRID_TABLE::SetValueAsLong ( int aRow,
int aCol,
long aValue )
override

Definition at line 144 of file dialog_footprint_properties_fp_editor.cpp.

References ToLAYER_ID().

Member Data Documentation

◆ elements

T std::vector< T >::elements
inherited

STL member.

◆ m_colAttrs

std::map<int, wxGridCellAttr*> WX_GRID_TABLE_BASE::m_colAttrs
protectedinherited

◆ m_frame

PCB_BASE_FRAME* LAYERS_GRID_TABLE::m_frame
private

Definition at line 86 of file dialog_footprint_properties_fp_editor.cpp.

Referenced by GetValue(), and LAYERS_GRID_TABLE().

◆ m_layerColAttr

wxGridCellAttr* LAYERS_GRID_TABLE::m_layerColAttr
private

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