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

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)
 

Public Attributes

elements
 STL member.
 

Detailed Description

Definition at line 39 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 42 of file dialog_pin_properties.cpp.

Member Function Documentation

◆ AppendRow()

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

◆ GetColLabelValue()

wxString ALT_PIN_DATA_MODEL::GetColLabelValue ( int  aCol)
inlineoverride

Definition at line 49 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 47 of file dialog_pin_properties.cpp.

References COL_COUNT.

◆ GetNumberRows()

int ALT_PIN_DATA_MODEL::GetNumberRows ( )
inlineoverride

Definition at line 46 of file dialog_pin_properties.cpp.

◆ GetValue()

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

Definition at line 65 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 60 of file dialog_pin_properties.cpp.

◆ RemoveRow()

void ALT_PIN_DATA_MODEL::RemoveRow ( int  aRow)
inline

Definition at line 113 of file dialog_pin_properties.cpp.

Referenced by DIALOG_PIN_PROPERTIES::OnDeleteAlternate().

◆ SetValue()

void ALT_PIN_DATA_MODEL::SetValue ( int  aRow,
int  aCol,
const wxString &  aValue 
)
inlineoverride

Definition at line 76 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.


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