|
KiCad PCB EDA Suite
|
#include <wx_grid.h>
Public Member Functions | |
| ~WX_GRID_TABLE_BASE () override | |
| void | SetColAttr (wxGridCellAttr *aAttr, int aCol) override |
| wxGridCellAttr * | GetAttr (int aRow, int aCol, wxGridCellAttr::wxAttrKind aKind) override |
| virtual bool | IsExpanderColumn (int aCol) const |
| virtual ROW_STATE | GetRowState (int aRow) const |
| virtual bool | HasUndoStateSerialization () const |
| Optional identity-based serialization for the host dialog's Ctrl+Z/Ctrl+Y. | |
| virtual wxString | SerializeUndoState () const |
| virtual void | RestoreUndoState (const wxString &aState) |
| void | Clear () override |
Protected Member Functions | |
| wxGridCellAttr * | enhanceAttr (wxGridCellAttr *aInputAttr, int aRow, int aCol, wxGridCellAttr::wxAttrKind aKind) |
Protected Attributes | |
| std::map< int, wxGridCellAttr * > | m_colAttrs |
|
inlineoverride |
Definition at line 60 of file wx_grid.h.
References m_colAttrs.
|
protected |
Definition at line 43 of file wx_grid.cpp.
Referenced by FIELDS_GRID_TABLE::GetAttr(), LAYERS_GRID_TABLE::GetAttr(), LIB_TABLE_GRID_DATA_MODEL::GetAttr(), PCB_FIELDS_GRID_TABLE::GetAttr(), SCH_PIN_TABLE_DATA_MODEL::GetAttr(), and GetAttr().
|
inlineoverride |
Definition at line 72 of file wx_grid.h.
References enhanceAttr(), and m_colAttrs.
Referenced by FOOTPRINT_FIELDS_EDITOR_GRID_DATA_MODEL::GetAttr(), and SYMBOL_FIELDS_EDITOR_GRID_DATA_MODEL::GetAttr().
|
inlinevirtual |
Reimplemented in FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >, FIELDS_TABLE_DATA_MODEL< FOOTPRINT_REF >, FIELDS_TABLE_DATA_MODEL< LIB_SYMBOL * >, and FIELDS_TABLE_DATA_MODEL< SCH_REFERENCE >.
Definition at line 84 of file wx_grid.h.
References ROW_STATE::ROW_STATE.
Referenced by FIELDS_TABLE_DATA_MODEL_BASE::Export().
|
inlinevirtual |
Optional identity-based serialization for the host dialog's Ctrl+Z/Ctrl+Y.
The dialog's generic grid undo snapshots cells by (row, col) position, which is wrong for tables whose rows can regroup/sort/reorder. A table that returns true here is asked to serialize and restore its own state by stable identity instead.
Reimplemented in FIELDS_TABLE_DATA_MODEL_BASE.
|
inlinevirtual |
Reimplemented in FIELDS_TABLE_DATA_MODEL_BASE.
|
inlinevirtual |
Reimplemented in FIELDS_TABLE_DATA_MODEL_BASE.
|
inlinevirtual |
Reimplemented in FIELDS_TABLE_DATA_MODEL_BASE.
|
inlineoverride |
Definition at line 66 of file wx_grid.h.
References m_colAttrs.
Referenced by DIALOG_FIELDS_TABLE::SetupColumnProperties().
|
protected |
Definition at line 108 of file wx_grid.h.
Referenced by GetAttr(), SetColAttr(), and ~WX_GRID_TABLE_BASE().