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

Public Member Functions

 LAYER_NAMES_GRID_TABLE ()
 
int GetNumberRows () override
 
int GetNumberCols () override
 
wxString GetColLabelValue (int aCol) override
 
bool CanGetValueAs (int aRow, int aCol, const wxString &aTypeName) override
 
bool CanSetValueAs (int aRow, int aCol, const wxString &aTypeName) override
 
wxString GetValue (int row, int col) override
 
void SetValue (int row, int col, const wxString &value) override
 
long GetValueAsLong (int row, int col) override
 
void SetValueAsLong (int row, int col, long value) override
 
bool AppendRows (size_t aNumRows=1) override
 
bool DeleteRows (size_t aPos, size_t aNumRows) override
 
void SetColAttr (wxGridCellAttr *aAttr, int aCol) override
 
wxGridCellAttr * GetAttr (int aRow, int aCol, wxGridCellAttr::wxAttrKind aKind) override
 
virtual bool IsExpanderColumn (int aCol) const
 
virtual GROUP_TYPE GetGroupType (int aRow) const
 

Protected Member Functions

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

Protected Attributes

std::map< int, wxGridCellAttr * > m_colAttrs
 

Private Attributes

std::vector< TEXT_ITEM_INFOm_items
 

Detailed Description

Definition at line 45 of file panel_display_options.cpp.

Constructor & Destructor Documentation

◆ LAYER_NAMES_GRID_TABLE()

LAYER_NAMES_GRID_TABLE::LAYER_NAMES_GRID_TABLE ( )
inline

Definition at line 50 of file panel_display_options.cpp.

Member Function Documentation

◆ AppendRows()

bool LAYER_NAMES_GRID_TABLE::AppendRows ( size_t aNumRows = 1)
inlineoverride

Definition at line 94 of file panel_display_options.cpp.

References IsUserLayer(), m_items, and User_1.

◆ CanGetValueAs()

bool LAYER_NAMES_GRID_TABLE::CanGetValueAs ( int aRow,
int aCol,
const wxString & aTypeName )
inlineoverride

Definition at line 65 of file panel_display_options.cpp.

Referenced by CanSetValueAs().

◆ CanSetValueAs()

bool LAYER_NAMES_GRID_TABLE::CanSetValueAs ( int aRow,
int aCol,
const wxString & aTypeName )
inlineoverride

Definition at line 75 of file panel_display_options.cpp.

References CanGetValueAs().

◆ DeleteRows()

bool LAYER_NAMES_GRID_TABLE::DeleteRows ( size_t aPos,
size_t aNumRows )
inlineoverride

Definition at line 128 of file panel_display_options.cpp.

References m_items.

◆ enhanceAttr()

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

◆ GetAttr()

wxGridCellAttr * WX_GRID_TABLE_BASE::GetAttr ( int aRow,
int aCol,
wxGridCellAttr::wxAttrKind aKind )
inlineoverrideinherited

Definition at line 68 of file wx_grid.h.

References enhanceAttr(), and m_colAttrs.

◆ GetColLabelValue()

wxString LAYER_NAMES_GRID_TABLE::GetColLabelValue ( int aCol)
inlineoverride

Definition at line 55 of file panel_display_options.cpp.

References _.

◆ GetGroupType()

virtual GROUP_TYPE WX_GRID_TABLE_BASE::GetGroupType ( int aRow) const
inlinevirtualinherited

Reimplemented in FIELDS_EDITOR_GRID_DATA_MODEL, and LIB_FIELDS_EDITOR_GRID_DATA_MODEL.

Definition at line 80 of file wx_grid.h.

References GROUP_SINGLETON, and GROUP_TYPE.

◆ GetNumberCols()

int LAYER_NAMES_GRID_TABLE::GetNumberCols ( )
inlineoverride

Definition at line 53 of file panel_display_options.cpp.

◆ GetNumberRows()

int LAYER_NAMES_GRID_TABLE::GetNumberRows ( )
inlineoverride

Definition at line 52 of file panel_display_options.cpp.

References m_items.

◆ GetValue()

wxString LAYER_NAMES_GRID_TABLE::GetValue ( int row,
int col )
inlineoverride

Definition at line 80 of file panel_display_options.cpp.

References m_items.

◆ GetValueAsLong()

long LAYER_NAMES_GRID_TABLE::GetValueAsLong ( int row,
int col )
inlineoverride

Definition at line 87 of file panel_display_options.cpp.

References m_items.

◆ IsExpanderColumn()

virtual bool WX_GRID_TABLE_BASE::IsExpanderColumn ( int aCol) const
inlinevirtualinherited

Reimplemented in FIELDS_EDITOR_GRID_DATA_MODEL, and LIB_FIELDS_EDITOR_GRID_DATA_MODEL.

Definition at line 79 of file wx_grid.h.

◆ SetColAttr()

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

Definition at line 62 of file wx_grid.h.

References m_colAttrs.

◆ SetValue()

void LAYER_NAMES_GRID_TABLE::SetValue ( int row,
int col,
const wxString & value )
inlineoverride

Definition at line 81 of file panel_display_options.cpp.

References m_items.

◆ SetValueAsLong()

void LAYER_NAMES_GRID_TABLE::SetValueAsLong ( int row,
int col,
long value )
inlineoverride

Definition at line 88 of file panel_display_options.cpp.

References m_items.

Member Data Documentation

◆ m_colAttrs

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

◆ m_items

std::vector<TEXT_ITEM_INFO> LAYER_NAMES_GRID_TABLE::m_items
private

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