|
| PIN_TABLE_DATA_MODEL (SYMBOL_EDIT_FRAME *aFrame, DIALOG_LIB_EDIT_PIN_TABLE *aPinTable, LIB_SYMBOL *aSymbol, const std::vector< SCH_PIN * > &aOrigSelectedPins) |
|
| ~PIN_TABLE_DATA_MODEL () |
|
void | onUnitsChanged (wxCommandEvent &aEvent) |
|
void | SetUnitFilter (int aFilter) |
|
void | SetBodyStyleFilter (int aFilter) |
|
void | SetFilterBySelection (bool aFilter) |
|
int | GetNumberRows () override |
|
int | GetNumberCols () override |
|
wxString | GetColLabelValue (int aCol) override |
|
bool | IsEmptyCell (int row, int col) override |
|
wxString | GetValue (int aRow, int aCol) override |
|
void | SetValue (int aRow, int aCol, const wxString &aValue) override |
|
void | RebuildRows (const std::vector< SCH_PIN * > &aPins, bool groupByName, bool groupBySelection) |
|
void | SortRows (int aSortCol, bool ascending) |
|
void | SortPins (std::vector< SCH_PIN * > &aRow) |
|
void | AppendRow (SCH_PIN *aPin) |
|
std::vector< SCH_PIN * > | RemoveRow (int aRow) |
|
std::vector< SCH_PIN * > | GetRowPins (int aRow) |
|
bool | IsEdited () |
|
void | SetColAttr (wxGridCellAttr *aAttr, int aCol) override |
|
wxGridCellAttr * | GetAttr (int aRow, int aCol, wxGridCellAttr::wxAttrKind aKind) override |
|
|
wxGridCellAttr * | enhanceAttr (wxGridCellAttr *aInputAttr, int aRow, int aCol, wxGridCellAttr::wxAttrKind aKind) |
|
◆ PIN_TABLE_DATA_MODEL()
◆ ~PIN_TABLE_DATA_MODEL()
PIN_TABLE_DATA_MODEL::~PIN_TABLE_DATA_MODEL |
( |
| ) |
|
|
inline |
◆ AppendRow()
void PIN_TABLE_DATA_MODEL::AppendRow |
( |
SCH_PIN * | aPin | ) |
|
|
inline |
◆ compare()
static bool PIN_TABLE_DATA_MODEL::compare |
( |
const std::vector< SCH_PIN * > & | lhs, |
|
|
const std::vector< SCH_PIN * > & | rhs, |
|
|
int | sortCol, |
|
|
bool | ascending, |
|
|
EDA_DRAW_FRAME * | parentFrame ) |
|
inlinestatic |
Definition at line 599 of file dialog_lib_edit_pin_table.cpp.
References COL_BODY_STYLE, COL_LENGTH, COL_NAME, COL_NAME_SIZE, COL_NUMBER, COL_NUMBER_SIZE, COL_POSX, COL_POSY, COL_UNIT, COL_VISIBLE, PIN_NUMBERS::Compare(), GetValue(), res, StrNumCmp(), and UNITS_PROVIDER::ValueFromString().
◆ enhanceAttr()
wxGridCellAttr * WX_GRID_TABLE_BASE::enhanceAttr |
( |
wxGridCellAttr * | aInputAttr, |
|
|
int | aRow, |
|
|
int | aCol, |
|
|
wxGridCellAttr::wxAttrKind | aKind ) |
|
protectedinherited |
◆ findRow()
static int PIN_TABLE_DATA_MODEL::findRow |
( |
const std::vector< std::vector< SCH_PIN * > > & | aRowSet, |
|
|
const wxString & | aName ) |
|
inlinestatic |
◆ GetAttr()
wxGridCellAttr * WX_GRID_TABLE_BASE::GetAttr |
( |
int | aRow, |
|
|
int | aCol, |
|
|
wxGridCellAttr::wxAttrKind | aKind ) |
|
inlineoverrideinherited |
◆ GetColLabelValue()
wxString PIN_TABLE_DATA_MODEL::GetColLabelValue |
( |
int | aCol | ) |
|
|
inlineoverride |
◆ GetNumberCols()
int PIN_TABLE_DATA_MODEL::GetNumberCols |
( |
| ) |
|
|
inlineoverride |
◆ GetNumberRows()
int PIN_TABLE_DATA_MODEL::GetNumberRows |
( |
| ) |
|
|
inlineoverride |
◆ GetRowPins()
std::vector< SCH_PIN * > PIN_TABLE_DATA_MODEL::GetRowPins |
( |
int | aRow | ) |
|
|
inline |
◆ GetValue() [1/2]
static wxString PIN_TABLE_DATA_MODEL::GetValue |
( |
const std::vector< SCH_PIN * > & | pins, |
|
|
int | aCol, |
|
|
EDA_DRAW_FRAME * | aParentFrame ) |
|
inlinestatic |
◆ GetValue() [2/2]
wxString PIN_TABLE_DATA_MODEL::GetValue |
( |
int | aRow, |
|
|
int | aCol ) |
|
inlineoverride |
◆ IsEdited()
bool PIN_TABLE_DATA_MODEL::IsEdited |
( |
| ) |
|
|
inline |
◆ IsEmptyCell()
bool PIN_TABLE_DATA_MODEL::IsEmptyCell |
( |
int | row, |
|
|
int | col ) |
|
inlineoverride |
◆ onUnitsChanged()
void PIN_TABLE_DATA_MODEL::onUnitsChanged |
( |
wxCommandEvent & | aEvent | ) |
|
|
inline |
◆ RebuildRows()
void PIN_TABLE_DATA_MODEL::RebuildRows |
( |
const std::vector< SCH_PIN * > & | aPins, |
|
|
bool | groupByName, |
|
|
bool | groupBySelection ) |
|
inline |
Definition at line 655 of file dialog_lib_edit_pin_table.cpp.
References CANDIDATE, findRow(), getSelectedArea(), grid, m_bodyStyleFilter, m_filterBySelection, m_origSelectedPins, m_rows, m_unitFilter, pin, SortPins(), and SortRows().
◆ RemoveRow()
std::vector< SCH_PIN * > PIN_TABLE_DATA_MODEL::RemoveRow |
( |
int | aRow | ) |
|
|
inline |
◆ SetBodyStyleFilter()
void PIN_TABLE_DATA_MODEL::SetBodyStyleFilter |
( |
int | aFilter | ) |
|
|
inline |
◆ SetColAttr()
void WX_GRID_TABLE_BASE::SetColAttr |
( |
wxGridCellAttr * | aAttr, |
|
|
int | aCol ) |
|
inlineoverrideinherited |
◆ SetFilterBySelection()
void PIN_TABLE_DATA_MODEL::SetFilterBySelection |
( |
bool | aFilter | ) |
|
|
inline |
◆ SetUnitFilter()
void PIN_TABLE_DATA_MODEL::SetUnitFilter |
( |
int | aFilter | ) |
|
|
inline |
◆ SetValue()
void PIN_TABLE_DATA_MODEL::SetValue |
( |
int | aRow, |
|
|
int | aCol, |
|
|
const wxString & | aValue ) |
|
inlineoverride |
Definition at line 479 of file dialog_lib_edit_pin_table.cpp.
References COL_LENGTH, COL_NAME_SIZE, COL_NUMBER, COL_NUMBER_SIZE, COL_POSX, COL_POSY, GetAppSettings(), SCH_PIN::GetName(), SCH_PIN::GetOrientation(), SCH_PIN::GetPosition(), SCH_PIN::GetShape(), SCH_PIN::GetType(), SCH_ITEM::GetUnit(), INDETERMINATE_STATE, m_edited, m_eval, m_evalOriginal, m_frame, m_pinTable, m_rows, m_symbol, pin, PIN_LEFT, PIN_RIGHT, schIUScale, SCH_PIN::SetName(), SCH_PIN::SetNumber(), SCH_PIN::SetOrientation(), SCH_PIN::SetPosition(), SCH_PIN::SetShape(), SCH_PIN::SetType(), SCH_ITEM::SetUnit(), PIN_INFO_FORMATTER::UpdatePin(), VECTOR2< T >::x, VECTOR2< T >::y, and PIN_INFO_FORMATTER::ZERO_ONE.
◆ SortPins()
void PIN_TABLE_DATA_MODEL::SortPins |
( |
std::vector< SCH_PIN * > & | aRow | ) |
|
|
inline |
◆ SortRows()
void PIN_TABLE_DATA_MODEL::SortRows |
( |
int | aSortCol, |
|
|
bool | ascending ) |
|
inline |
◆ m_bodyStyleFilter
int PIN_TABLE_DATA_MODEL::m_bodyStyleFilter |
|
private |
◆ m_colAttrs
std::map<int, wxGridCellAttr*> WX_GRID_TABLE_BASE::m_colAttrs |
|
protectedinherited |
◆ m_edited
bool PIN_TABLE_DATA_MODEL::m_edited |
|
private |
◆ m_eval
◆ m_evalOriginal
std::map< std::pair<std::vector<SCH_PIN*>, int>, wxString > PIN_TABLE_DATA_MODEL::m_evalOriginal |
|
private |
◆ m_filterBySelection
bool PIN_TABLE_DATA_MODEL::m_filterBySelection |
|
private |
◆ m_frame
◆ m_origSelectedPins
const std::vector<SCH_PIN*>& PIN_TABLE_DATA_MODEL::m_origSelectedPins |
|
private |
◆ m_pinTable
◆ m_rows
std::vector<std::vector<SCH_PIN*> > PIN_TABLE_DATA_MODEL::m_rows |
|
private |
◆ m_symbol
◆ m_unitFilter
int PIN_TABLE_DATA_MODEL::m_unitFilter |
|
private |
The documentation for this class was generated from the following file: