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:
WX_GRID_TABLE_BASE

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 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
 

Public Attributes

elements
 STL member.
 

Protected Member Functions

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

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 68 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 74 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 80 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 * PRIVATE_LAYERS_GRID_TABLE::GetAttr ( int  aRow,
int  aCol,
wxGridCellAttr::wxAttrKind  aKind 
)
override

◆ 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 100 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 106 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 112 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: