24#ifndef FP_TEXT_GRID_TABLE_H
25#define FP_TEXT_GRID_TABLE_H
73 bool CanGetValueAs(
int aRow,
int aCol,
const wxString& aTypeName )
override;
74 bool CanSetValueAs(
int aRow,
int aCol,
const wxString& aTypeName )
override;
75 wxGridCellAttr*
GetAttr(
int aRow,
int aCol, wxGridCellAttr::wxAttrKind aKind )
override;
77 wxString
GetValue(
int aRow,
int aCol )
override;
81 void SetValue(
int aRow,
int aCol,
const wxString& aValue )
override;
107 std::unique_ptr<NUMERIC_EVALUATOR>
m_eval;
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
A text control validator used for validating the text allowed in fields.
Base PCB main window class for Pcbnew, Gerbview, and CvPcb footprint viewer.
wxGridCellAttr * m_referenceAttr
void onUnitsChanged(wxCommandEvent &aEvent)
void SetValue(int aRow, int aCol, const wxString &aValue) override
bool GetValueAsBool(int aRow, int aCol) override
wxString GetColLabelValue(int aCol) override
bool IsEmptyCell(int row, int col) override
bool CanGetValueAs(int aRow, int aCol, const wxString &aTypeName) override
std::map< std::pair< int, int >, wxString > m_evalOriginal
FIELD_VALIDATOR m_nonUrlValidator
int GetNumberRows() override
long GetValueAsLong(int aRow, int aCol) override
wxGridCellAttr * m_readOnlyAttr
FIELD_VALIDATOR m_urlValidator
FIELD_VALIDATOR m_valueValidator
wxGridCellAttr * m_footprintAttr
wxString GetValue(int aRow, int aCol) override
wxGridCellAttr * GetAttr(int aRow, int aCol, wxGridCellAttr::wxAttrKind aKind) override
int GetNumberCols() override
std::unique_ptr< NUMERIC_EVALUATOR > m_eval
void SetValueAsBool(int aRow, int aCol, bool aValue) override
wxGridCellAttr * m_urlAttr
FIELD_VALIDATOR m_referenceValidator
bool CanSetValueAs(int aRow, int aCol, const wxString &aTypeName) override
FIELD_VALIDATOR m_fieldNameValidator
wxGridCellAttr * m_boolColAttr
wxGridCellAttr * m_layerColAttr
wxGridCellAttr * m_orientationColAttr
wxGridCellAttr * m_valueAttr
void SetValueAsLong(int aRow, int aCol, long aValue) override
Custom text control validator definitions.