KiCad PCB EDA Suite
Loading...
Searching...
No Matches
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 37 of file panel_fp_editor_defaults.cpp.

Constructor & Destructor Documentation

◆ TEXT_ITEMS_GRID_TABLE()

TEXT_ITEMS_GRID_TABLE::TEXT_ITEMS_GRID_TABLE ( bool  aForFieldProps)
inline

Definition at line 43 of file panel_fp_editor_defaults.cpp.

Member Function Documentation

◆ AppendRows()

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

Definition at line 117 of file panel_fp_editor_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 71 of file panel_fp_editor_defaults.cpp.

Referenced by CanSetValueAs().

◆ CanSetValueAs()

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

Definition at line 82 of file panel_fp_editor_defaults.cpp.

References CanGetValueAs().

◆ DeleteRows()

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

Definition at line 131 of file panel_fp_editor_defaults.cpp.

References m_items.

◆ GetColLabelValue()

wxString TEXT_ITEMS_GRID_TABLE::GetColLabelValue ( int  aCol)
inlineoverride

Definition at line 50 of file panel_fp_editor_defaults.cpp.

References _, and m_forFieldProps.

◆ GetNumberCols()

int TEXT_ITEMS_GRID_TABLE::GetNumberCols ( )
inlineoverride

Definition at line 48 of file panel_fp_editor_defaults.cpp.

◆ GetNumberRows()

int TEXT_ITEMS_GRID_TABLE::GetNumberRows ( )
inlineoverride

Definition at line 47 of file panel_fp_editor_defaults.cpp.

References m_items.

◆ GetRowLabelValue()

wxString TEXT_ITEMS_GRID_TABLE::GetRowLabelValue ( int  aRow)
inlineoverride

Definition at line 61 of file panel_fp_editor_defaults.cpp.

References _.

◆ GetValue()

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

Definition at line 87 of file panel_fp_editor_defaults.cpp.

References m_items.

◆ GetValueAsBool()

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

Definition at line 97 of file panel_fp_editor_defaults.cpp.

References m_items.

◆ GetValueAsLong()

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

Definition at line 107 of file panel_fp_editor_defaults.cpp.

References m_items.

◆ SetValue()

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

Definition at line 91 of file panel_fp_editor_defaults.cpp.

References m_items.

◆ SetValueAsBool()

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

Definition at line 101 of file panel_fp_editor_defaults.cpp.

References m_items.

◆ SetValueAsLong()

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

Definition at line 111 of file panel_fp_editor_defaults.cpp.

References m_items.

Member Data Documentation

◆ m_forFieldProps

bool TEXT_ITEMS_GRID_TABLE::m_forFieldProps
private

Definition at line 39 of file panel_fp_editor_defaults.cpp.

Referenced by GetColLabelValue().

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