24#ifndef FIELDS_GRID_TABLE_H
25#define FIELDS_GRID_TABLE_H
98 bool CanGetValueAs(
int aRow,
int aCol,
const wxString& aTypeName )
override;
99 bool CanSetValueAs(
int aRow,
int aCol,
const wxString& aTypeName )
override;
100 wxGridCellAttr*
GetAttr(
int row,
int col, wxGridCellAttr::wxAttrKind kind )
override;
102 wxString
GetValue(
int aRow,
int aCol )
override;
105 void SetValue(
int aRow,
int aCol,
const wxString& aValue )
override;
Implementation of conversion functions that require both schematic and board internal units.
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
wxString GetValue(int aRow, int aCol) override
LIB_ID_VALIDATOR m_libIdValidator
wxGridCellAttr * m_nonUrlAttr
wxGridCellAttr * m_readOnlyAttr
wxGridCellAttr * m_vAlignAttr
bool CanSetValueAs(int aRow, int aCol, const wxString &aTypeName) override
wxGridCellAttr * m_netclassAttr
int GetNumberCols() override
bool GetValueAsBool(int aRow, int aCol) override
void onUnitsChanged(wxCommandEvent &aEvent)
wxGridCellAttr * m_boolAttr
int m_mandatoryFieldCount
SCH_FIELD_VALIDATOR m_fieldNameValidator
wxString GetColLabelValue(int aCol) override
wxGridCellAttr * m_footprintAttr
wxGridCellAttr * m_filepathAttr
wxGridCellAttr * m_orientationAttr
SCH_FIELD_VALIDATOR m_urlValidator
void SetValue(int aRow, int aCol, const wxString &aValue) override
wxGridCellAttr * m_fontAttr
wxGridCellAttr * m_referenceAttr
wxGridCellAttr * m_colorAttr
bool CanGetValueAs(int aRow, int aCol, const wxString &aTypeName) override
bool IsEmptyCell(int row, int col) override
FIELDS_GRID_TABLE(DIALOG_SHIM *aDialog, SCH_BASE_FRAME *aFrame, WX_GRID *aGrid, LIB_SYMBOL *aSymbol)
SCH_FIELD_VALIDATOR m_valueValidator
SCH_FIELD_VALIDATOR m_referenceValidator
wxGridCellAttr * GetAttr(int row, int col, wxGridCellAttr::wxAttrKind kind) override
wxString StringFromBool(bool aValue) const
SCH_FIELD_VALIDATOR m_nonUrlValidator
wxGridCellAttr * m_urlAttr
void SetValueAsBool(int aRow, int aCol, bool aValue) override
int GetNumberRows() override
bool BoolFromString(wxString aValue) const
wxGridCellAttr * m_valueAttr
void initGrid(WX_GRID *aGrid)
wxGridCellAttr * m_fieldNameAttr
wxGridCellAttr * m_hAlignAttr
SCH_FIELD_VALIDATOR m_filepathValidator
FIELDS_GRID_TRICKS(WX_GRID *aGrid, DIALOG_SHIM *aDialog)
virtual void showPopupMenu(wxMenu &menu) override
virtual void doPopupSelection(wxCommandEvent &event) override
Add mouse and command handling (such as cut, copy, and paste) to a WX_GRID instance.
Custom validator that verifies that a string defines a valid LIB_ID.
Define a library symbol object.
A shim class between EDA_DRAW_FRAME and several derived classes: SYMBOL_EDIT_FRAME,...
Schematic editor (Eeschema) main window.
A text control validator used for validating the text allowed in library and schematic symbol fields.
Sheet symbol placed in a schematic, and is the entry point for a sub schematic.
Definitions of control validators for schematic dialogs.
KICAD_T
The set of class identification values stored in EDA_ITEM::m_structType.
Custom text control validator definitions.