KiCad PCB EDA Suite
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
TEXT_ITEMS_GRID_TABLE Class Reference
Inheritance diagram for TEXT_ITEMS_GRID_TABLE:

Public Member Functions

 TEXT_ITEMS_GRID_TABLE (bool aForFieldProps)
 
int GetNumberRows () override
 
int GetNumberCols () override
 
wxString GetColLabelValue (int aCol) override
 
wxString GetRowLabelValue (int aRow) 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
 
bool GetValueAsBool (int row, int col) override
 
void SetValueAsBool (int row, int col, bool 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
 

Private Attributes

bool m_forFieldProps
 
std::vector< TEXT_ITEM_INFOm_items
 

Detailed Description

Definition at line 39 of file panel_fp_editor_field_defaults.cpp.

Constructor & Destructor Documentation

◆ TEXT_ITEMS_GRID_TABLE()

TEXT_ITEMS_GRID_TABLE::TEXT_ITEMS_GRID_TABLE ( bool  aForFieldProps)
inline

Definition at line 45 of file panel_fp_editor_field_defaults.cpp.

Member Function Documentation

◆ AppendRows()

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

Definition at line 135 of file panel_fp_editor_field_defaults.cpp.

References F_SilkS, and m_items.

◆ CanGetValueAs()

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

Definition at line 85 of file panel_fp_editor_field_defaults.cpp.

References m_forFieldProps.

Referenced by CanSetValueAs().

◆ CanSetValueAs()

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

Definition at line 108 of file panel_fp_editor_field_defaults.cpp.

References CanGetValueAs().

◆ DeleteRows()

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

Definition at line 149 of file panel_fp_editor_field_defaults.cpp.

References m_items.

◆ GetColLabelValue()

wxString TEXT_ITEMS_GRID_TABLE::GetColLabelValue ( int  aCol)
inlineoverride

Definition at line 52 of file panel_fp_editor_field_defaults.cpp.

References _, and m_forFieldProps.

◆ GetNumberCols()

int TEXT_ITEMS_GRID_TABLE::GetNumberCols ( )
inlineoverride

Definition at line 50 of file panel_fp_editor_field_defaults.cpp.

References m_forFieldProps.

Referenced by SetValueAsLong().

◆ GetNumberRows()

int TEXT_ITEMS_GRID_TABLE::GetNumberRows ( )
inlineoverride

Definition at line 49 of file panel_fp_editor_field_defaults.cpp.

References m_items.

◆ GetRowLabelValue()

wxString TEXT_ITEMS_GRID_TABLE::GetRowLabelValue ( int  aRow)
inlineoverride

Definition at line 75 of file panel_fp_editor_field_defaults.cpp.

References _.

◆ GetValue()

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

Definition at line 113 of file panel_fp_editor_field_defaults.cpp.

References m_items.

◆ GetValueAsBool()

bool TEXT_ITEMS_GRID_TABLE::GetValueAsBool ( int  row,
int  col 
)
inlineoverride

Definition at line 120 of file panel_fp_editor_field_defaults.cpp.

References m_items.

◆ GetValueAsLong()

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

Definition at line 127 of file panel_fp_editor_field_defaults.cpp.

References m_items.

◆ SetValue()

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

Definition at line 114 of file panel_fp_editor_field_defaults.cpp.

References m_items.

◆ SetValueAsBool()

void TEXT_ITEMS_GRID_TABLE::SetValueAsBool ( int  row,
int  col,
bool  value 
)
inlineoverride

Definition at line 121 of file panel_fp_editor_field_defaults.cpp.

References m_items.

◆ SetValueAsLong()

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

Definition at line 128 of file panel_fp_editor_field_defaults.cpp.

References GetNumberCols(), and m_items.

Member Data Documentation

◆ m_forFieldProps

bool TEXT_ITEMS_GRID_TABLE::m_forFieldProps
private

◆ m_items

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

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