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

#include <dialog_footprint_properties_fp_editor.h>

Inheritance diagram for PRIVATE_LAYERS_GRID_TABLE:

Public Member Functions

 PRIVATE_LAYERS_GRID_TABLE (PCB_BASE_FRAME *aFrame)
 
 ~PRIVATE_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 row, int col, wxGridCellAttr::wxAttrKind kind) 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
 

Public Attributes

elements
 STL member.
 

Private Attributes

PCB_BASE_FRAMEm_frame
 
wxGridCellAttr * m_layerColAttr
 

Detailed Description

Definition at line 39 of file dialog_footprint_properties_fp_editor.h.

Constructor & Destructor Documentation

◆ PRIVATE_LAYERS_GRID_TABLE()

PRIVATE_LAYERS_GRID_TABLE::PRIVATE_LAYERS_GRID_TABLE ( PCB_BASE_FRAME aFrame)

◆ ~PRIVATE_LAYERS_GRID_TABLE()

PRIVATE_LAYERS_GRID_TABLE::~PRIVATE_LAYERS_GRID_TABLE ( )

Definition at line 69 of file dialog_footprint_properties_fp_editor.cpp.

References m_layerColAttr.

Member Function Documentation

◆ CanGetValueAs()

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

Definition at line 75 of file dialog_footprint_properties_fp_editor.cpp.

◆ CanSetValueAs()

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

Definition at line 81 of file dialog_footprint_properties_fp_editor.cpp.

◆ GetAttr()

wxGridCellAttr * PRIVATE_LAYERS_GRID_TABLE::GetAttr ( int  row,
int  col,
wxGridCellAttr::wxAttrKind  kind 
)
override

Definition at line 87 of file dialog_footprint_properties_fp_editor.cpp.

References m_layerColAttr.

◆ GetNumberCols()

int PRIVATE_LAYERS_GRID_TABLE::GetNumberCols ( )
inlineoverride

Definition at line 46 of file dialog_footprint_properties_fp_editor.h.

◆ GetNumberRows()

int PRIVATE_LAYERS_GRID_TABLE::GetNumberRows ( )
inlineoverride

◆ GetValue()

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

◆ GetValueAsLong()

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

Definition at line 101 of file dialog_footprint_properties_fp_editor.cpp.

◆ SetValue()

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

Definition at line 107 of file dialog_footprint_properties_fp_editor.cpp.

◆ SetValueAsLong()

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

Definition at line 113 of file dialog_footprint_properties_fp_editor.cpp.

References ToLAYER_ID().

Member Data Documentation

◆ elements

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

STL member.

◆ m_frame

PCB_BASE_FRAME* PRIVATE_LAYERS_GRID_TABLE::m_frame
private

Definition at line 59 of file dialog_footprint_properties_fp_editor.h.

Referenced by GetValue(), and PRIVATE_LAYERS_GRID_TABLE().

◆ m_layerColAttr

wxGridCellAttr* PRIVATE_LAYERS_GRID_TABLE::m_layerColAttr
private

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