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

Public Member Functions

 ALT_PIN_DATA_MODEL (EDA_UNITS aUserUnits)
 
int GetNumberRows () override
 
int GetNumberCols () override
 
wxString GetColLabelValue (int aCol) override
 
bool IsEmptyCell (int row, int col) override
 
wxString GetValue (int aRow, int aCol) override
 
void SetValue (int aRow, int aCol, const wxString &aValue) override
 
void AppendRow (const SCH_PIN::ALT &aAlt)
 
void RemoveRow (int aRow)
 
void SetColAttr (wxGridCellAttr *aAttr, int aCol) override
 
wxGridCellAttr * GetAttr (int aRow, int aCol, wxGridCellAttr::wxAttrKind aKind) 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
 

Detailed Description

Definition at line 40 of file dialog_pin_properties.cpp.

Constructor & Destructor Documentation

◆ ALT_PIN_DATA_MODEL()

ALT_PIN_DATA_MODEL::ALT_PIN_DATA_MODEL ( EDA_UNITS aUserUnits)
inline

Definition at line 43 of file dialog_pin_properties.cpp.

Member Function Documentation

◆ AppendRow()

void ALT_PIN_DATA_MODEL::AppendRow ( const SCH_PIN::ALT & aAlt)
inline

Definition at line 103 of file dialog_pin_properties.cpp.

◆ 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 57 of file wx_grid.h.

References enhanceAttr(), and m_colAttrs.

Referenced by FIELDS_EDITOR_GRID_DATA_MODEL::GetAttr().

◆ GetColLabelValue()

wxString ALT_PIN_DATA_MODEL::GetColLabelValue ( int aCol)
inlineoverride

Definition at line 50 of file dialog_pin_properties.cpp.

References _, COL_NAME, COL_SHAPE, and COL_TYPE.

◆ GetNumberCols()

int ALT_PIN_DATA_MODEL::GetNumberCols ( )
inlineoverride

Definition at line 48 of file dialog_pin_properties.cpp.

References COL_COUNT.

◆ GetNumberRows()

int ALT_PIN_DATA_MODEL::GetNumberRows ( )
inlineoverride

Definition at line 47 of file dialog_pin_properties.cpp.

◆ GetValue()

wxString ALT_PIN_DATA_MODEL::GetValue ( int aRow,
int aCol )
inlineoverride

Definition at line 66 of file dialog_pin_properties.cpp.

References COL_NAME, COL_SHAPE, COL_TYPE, PinShapeNames(), and PinTypeNames().

◆ IsEmptyCell()

bool ALT_PIN_DATA_MODEL::IsEmptyCell ( int row,
int col )
inlineoverride

Definition at line 61 of file dialog_pin_properties.cpp.

◆ RemoveRow()

void ALT_PIN_DATA_MODEL::RemoveRow ( int aRow)
inline

Definition at line 114 of file dialog_pin_properties.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 ALT_PIN_DATA_MODEL::SetValue ( int aRow,
int aCol,
const wxString & aValue )
inlineoverride

Definition at line 77 of file dialog_pin_properties.cpp.

References COL_NAME, COL_SHAPE, COL_TYPE, PinShapeNames(), and PinTypeNames().

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

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