|
KiCad PCB EDA Suite
|
The rest of the generic fields data model stuff, primarily around row functionality. More...
#include <fields_table_data_model.h>
Public Member Functions | |
| void | AddColumn (const wxString &aFieldName, const wxString &aLabel, bool aAddedByUser) override |
| void | ClearCell (int aRow, int aCol) override |
| Clears the field from the data store, rather than setting its value to an empty string. | |
| bool | IsCellClear (int aRow, int aCol) override |
| Returns true if the cell is not present in the data store for any item in the row, not just empty. | |
| bool | IsCellEdited (int aRow, int aCol) override |
| Returns true if the cell has been modified from the live value in any item in the row (symbol/footprint/etc). | |
| int | GetNumberRows () override |
| ROW_STATE | GetRowState (int aRow) const override |
| std::vector< KIID_PATH > | GetRowItemKeys (int aRow) const override |
| Return the stable data-store keys of every item represented by a row. | |
| std::vector< ITEM_TYPE > | GetRowReferences (int aRow) const |
| void | RevertRow (int aRow) override |
| Go through and revert all the fields in the row to their live values from the item (symbol/footprint/etc). | |
| void | ExpandRow (int aRow) |
| void | CollapseRow (int aRow) |
| void | ExpandCollapseRow (int aRow) override |
| void | CollapseForSort () |
| void | ExpandAfterSort () |
| wxString | GetGroupedValue (const DATA_MODEL_ROW< ITEM_TYPE > &aRow, int aCol, const wxString &refDelimiter=wxT(", "), const wxString &refRangeDelimiter=wxT("-"), bool resolveVars=false, bool listMixedValues=false) |
| wxString | GetValue (int aRow, int aCol) override |
| wxString | GetResolvedValue (int aRow, int aCol) override |
| wxString | GetExportValue (int aRow, int aCol, const wxString &refDelimiter, const wxString &refRangeDelimiter) override |
| bool | IsCellReadOnly (int aRow, int aCol) override |
| virtual KIID_PATH | getDataStoreKey (const ITEM_TYPE &aItem) const =0 |
| virtual wxString | getItemIdentifier (const ITEM_TYPE &aItem) const =0 |
| virtual wxString | getFieldResolvedLiveValue (const ITEM_TYPE &aItem, const wxString &aFieldName)=0 |
| Explicitly bypasses the data store's field values and retries them from the item's current field value on the editing canvas. | |
| virtual wxString | resolveTextVars (const ITEM_TYPE &aItem, const wxString &aText)=0 |
| bool | IsEdited () |
| void | MoveColumn (int aCol, int aNewPos) |
| void | RemoveColumn (int aCol) |
| void | RenameColumn (int aCol, const wxString &newName) |
| int | GetNumberCols () override |
| void | SetColLabelValue (int aCol, const wxString &aLabel) override |
| wxString | GetColLabelValue (int aCol) override |
| wxString | GetColFieldName (int aCol) |
| int | GetColDataWidth (int aCol) |
| int | GetFieldNameCol (const wxString &aFieldName) const |
| std::vector< BOM_FIELD > | GetFieldsOrdered () |
| void | SetFieldsOrder (const std::vector< wxString > &aNewOrder) |
| bool | IsEmptyCell (int aRow, int aCol) override |
| bool | ColIsReference (int aCol) const |
| bool | ColIsQuantity (int aCol) const |
| bool | ColIsItemNumber (int aCol) const |
| bool | ColIsValue (int aCol) const |
| bool | ColIsFootprint (int aCol) const |
| bool | ColIsAttribute (int aCol) const |
| bool | ColIsItemProperty (int aCol) const |
| bool | ColIsComputed (int aCol) const |
| virtual bool | ColIsItemIdentifier (int aCol) const |
| Reference for symbol/fields tables, lib_id for lib tables. | |
| virtual bool | ColIsReadOnly (int aCol) const |
| bool | IsExpanderColumn (int aCol) const override |
| void | SetSorting (int aCol, bool aAscending) |
| int | GetSortCol () |
| bool | GetSortAsc () |
| void | EnableRebuilds () |
| void | DisableRebuilds () |
| virtual void | RebuildRows ()=0 |
| void | SetFilter (const wxString &aFilter) |
| const wxString & | GetFilter () |
| void | SetFilterScope (BOM_FILTER_SCOPE aScope) |
| BOM_FILTER_SCOPE | GetFilterScope () const |
| void | SetSelectionItems (const std::unordered_set< KIID_PATH > &aItems) |
| void | ClearSelectionItems () |
| void | SetGroupingEnabled (bool aGroup) |
| bool | GetGroupingEnabled () |
| void | SetIncludeExcludedFromBOM (bool aInclude) |
| bool | GetIncludeExcludedFromBOM () |
| void | SetExcludeDNP (bool aExclude) |
| bool | GetExcludeDNP () |
| void | SetGroupColumn (int aCol, bool aGroup) |
| bool | GetGroupColumn (int aCol) |
| void | SetShowColumn (int aCol, bool aShow) |
| bool | GetShowColumn (int aCol) |
| void | ApplyBomPreset (const BOM_PRESET &aPreset) |
| BOM_PRESET | GetBomSettings () |
| wxString | Export (const BOM_FMT_PRESET &aSettings) |
| bool | CanClearCell (int aRow, int aCol) |
| bool | IsRowEdited (int aRow) |
| Return true if any cell in the row has been edited. | |
| void | SetCurrentVariant (const wxString &aVariantName) |
| Set the current variant name for highlighting purposes. | |
| const wxString & | GetCurrentVariant () const |
| void | SetVariantNames (const std::vector< wxString > &aVariantNames) |
| const std::vector< wxString > & | GetVariantNames () const |
| bool | HasUndoStateSerialization () const override |
| Optional identity-based serialization for the host dialog's Ctrl+Z/Ctrl+Y. | |
| wxString | SerializeUndoState () const override |
| void | RestoreUndoState (const wxString &aState) override |
| void | SetColAttr (wxGridCellAttr *aAttr, int aCol) override |
| wxGridCellAttr * | GetAttr (int aRow, int aCol, wxGridCellAttr::wxAttrKind aKind) override |
| void | Clear () override |
Static Public Attributes | |
| static const wxString | QUANTITY_VARIABLE = wxS( "${QUANTITY}" ) |
| static const wxString | ITEM_NUMBER_VARIABLE = wxS( "${ITEM_NUMBER}" ) |
Protected Member Functions | |
| bool | MatchesFilter (const ITEM_TYPE &aItem, const wxString &aReference, EDA_COMBINED_MATCHER &aMatcher) |
| virtual bool | attributeForcedOnBySheet (const ITEM_TYPE &aItem, const wxString &aAttributeName) const |
| Sheets can force all the symbols in them to have certain attributes on, like DNP. | |
| bool | allRowItemsHaveAttributeForcedOnBySheet (const DATA_MODEL_ROW< ITEM_TYPE > &aRow, int aCol) |
| bool | cmpRows (const DATA_MODEL_ROW< ITEM_TYPE > &lhRow, const DATA_MODEL_ROW< ITEM_TYPE > &rhRow, int aSortCol, bool aAscending) |
| virtual bool | cmpRowItems (const ITEM_TYPE &lhItem, const ITEM_TYPE &rhItem) |
| virtual bool | unitMatch (const ITEM_TYPE &lhItem, const ITEM_TYPE &rhItem)=0 |
| bool | groupMatch (const ITEM_TYPE &lhItem, const ITEM_TYPE &rhItem) |
| void | Sort () |
| virtual bool | getLiveFieldValue (const ITEM_TYPE &aItem, const wxString &aFieldName, wxString &aValue)=0 |
| Gets the current value of the field from the live item, e.g. | |
| const std::map< wxString, wxString > & | getStoredFields (const ITEM_TYPE &aItem) const |
| Returns all stored fields for an item without creating a data-store entry. | |
| bool | getStoredFieldValue (const ITEM_TYPE &aItem, const wxString &aFieldName, wxString &aValue) const |
| Gets the stored value of the field from the data store, not from the live item, e.g. | |
| void | setStoredFieldValue (const ITEM_TYPE &aItem, const wxString &aFieldName, const wxString &aValue) |
| Creates or updates a field in the data store. | |
| void | ensureStoredFieldPresent (const ITEM_TYPE &aItem, const wxString &aFieldName) |
| Makes sure a field is at least marked present-but-empty without changing its value if it has one already. | |
| void | clearStoredField (const ITEM_TYPE &aItem, const wxString &aFieldName) |
| Clears a field, e.g. | |
| bool | fieldIsModified (const ITEM_TYPE &aItem, const wxString &aFieldName) |
| Compares the live value of the field to the stored value in the data store. | |
| void | updateDataStoreItemFieldFromLive (const ITEM_TYPE &aItem, const wxString &aFieldName) |
| Updates the data store with the current value of the field from the live item. | |
| void | initializeDataStoreItemField (const ITEM_TYPE &aItem, const DATA_MODEL_COL &aCol) |
| Puts the live value of the field in the data store, correctly handling a missing field in the souce item as empty or not-present based on whether the col was added by the user. | |
| void | initializeDataStoreItem (const ITEM_TYPE &aItem) |
| Initializes every column in the data store for a newly added (or refreshed) item. | |
| virtual std::vector< ITEM_TYPE > | getAllItems () const =0 |
| virtual bool | fieldIsAttribute (const wxString &aFieldName) const |
| virtual bool | fieldIsItemProperty (const wxString &aFieldName) const |
| virtual wxString | getAttributeResolvedValue (const wxString &aFieldName, bool aValue) const |
| bool | cellUsesResolvedTextRenderer (int aRow, int aCol) |
| void | applyResolvedTextRenderer (wxGridCellAttr *aAttr, bool aApplyTint) |
| bool | cellUsesUrlEditor (int aRow, int aCol) |
| wxGridCellAttr * | cloneUrlEditorAttr () |
| wxGridCellAttr * | applyCellDecorations (wxGridCellAttr *aAttr, int aRow, int aCol) |
| wxGridCellAttr * | applyFieldPresenceRenderer (wxGridCellAttr *aAttr, int aRow, int aCol) |
| void | commitPendingGridChanges () |
| wxGridCellAttr * | enhanceAttr (wxGridCellAttr *aInputAttr, int aRow, int aCol, wxGridCellAttr::wxAttrKind aKind) |
Protected Attributes | |
| std::vector< DATA_MODEL_ROW< ITEM_TYPE > > | m_rows |
| wxGridCellRenderer * | m_stripedRenderer |
| wxGridCellRenderer * | m_resolvedTextRenderer |
| bool | m_edited |
| int | m_sortColumn |
| bool | m_sortAscending |
| wxString | m_filter |
| BOM_FILTER_SCOPE | m_filterScope |
| bool | m_groupingEnabled |
| bool | m_excludeDNP |
| bool | m_includeExcluded |
| bool | m_rebuildsEnabled |
| Items included by the user selection scope. | |
| std::unordered_set< KIID_PATH > | m_selectionItems |
| wxString | m_currentVariant |
| Current variant name for highlighting. | |
| std::vector< wxString > | m_variantNames |
| Variant names for multi-variant DNP filtering. | |
| std::vector< DATA_MODEL_COL > | m_cols |
| std::map< KIID_PATH, std::map< wxString, wxString > > | m_dataStore |
| std::map< int, wxGridCellAttr * > | m_colAttrs |
The rest of the generic fields data model stuff, primarily around row functionality.
Templated because rows differ per model, e.g. SCH_REFERENCE for the schematic fields table.
Definition at line 357 of file fields_table_data_model.h.
|
inlineoverridevirtual |
Implements FIELDS_TABLE_DATA_MODEL_BASE.
Definition at line 360 of file fields_table_data_model.h.
References FIELDS_TABLE_DATA_MODEL_BASE::commitPendingGridChanges(), getAllItems(), FIELDS_TABLE_DATA_MODEL_BASE::GetFieldNameCol(), grid, initializeDataStoreItemField(), FIELDS_TABLE_DATA_MODEL_BASE::m_cols, and FIELDS_TABLE_DATA_MODEL_BASE::m_edited.
Referenced by BOOST_FIXTURE_TEST_CASE(), BOOST_FIXTURE_TEST_CASE(), EESCHEMA_JOBS_HANDLER::JobExportBom(), and PCBNEW_JOBS_HANDLER::JobExportBom().
|
inlineprotected |
Definition at line 817 of file fields_table_data_model.h.
References attributeForcedOnBySheet(), FIELDS_TABLE_DATA_MODEL_BASE::ColIsAttribute(), FIELDS_TABLE_DATA_MODEL_BASE::m_cols, and DATA_MODEL_ROW< ITEM_TYPE >::m_items.
Referenced by IsCellReadOnly().
|
inherited |
Definition at line 582 of file fields_table_data_model.cpp.
References AddColumn(), ColIsItemIdentifier(), GetFieldNameCol(), GetNumberCols(), BOM_FIELD::groupBy, BOM_FIELD::label, m_cols, BOM_FIELD::name, RebuildRows(), SetColLabelValue(), SetExcludeDNP(), SetFieldsOrder(), SetFilter(), SetFilterScope(), SetGroupColumn(), SetGroupingEnabled(), SetIncludeExcludedFromBOM(), SetShowColumn(), SetSorting(), and BOM_FIELD::show.
Referenced by DIALOG_FIELDS_TABLE::doApplyBomPreset(), EESCHEMA_JOBS_HANDLER::JobExportBom(), and PCBNEW_JOBS_HANDLER::JobExportBom().
|
protectedinherited |
Definition at line 188 of file fields_table_data_model.cpp.
References applyFieldPresenceRenderer(), and grid.
|
protectedinherited |
Definition at line 164 of file fields_table_data_model.cpp.
References ColIsAttribute(), and IsCellClear().
Referenced by applyCellDecorations().
|
protectedinherited |
Definition at line 112 of file fields_table_data_model.cpp.
References m_resolvedTextRenderer, FIELDS_TABLE_COLOR::TEXT_VARIABLE_DARK_AMBER(), and FIELDS_TABLE_COLOR::TEXT_VARIABLE_LIGHT_YELLOW().
|
inlineprotectedvirtual |
Sheets can force all the symbols in them to have certain attributes on, like DNP.
They can't force them off.
Returns true if the attribute is forced on by a sheet
Reimplemented in FOOTPRINT_FIELDS_EDITOR_GRID_DATA_MODEL, and SYMBOL_FIELDS_EDITOR_GRID_DATA_MODEL.
Definition at line 811 of file fields_table_data_model.h.
Referenced by allRowItemsHaveAttributeForcedOnBySheet(), GetGroupedValue(), groupMatch(), and MatchesFilter().
|
inherited |
Definition at line 492 of file fields_table_data_model.cpp.
References GetDefaultFieldName(), IsCellClear(), IsCellReadOnly(), IsGeneratedField(), m_cols, MANDATORY_FIELDS, and UNTRANSLATED.
Referenced by FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::ClearCell().
|
protectedinherited |
Definition at line 102 of file fields_table_data_model.cpp.
References ColIsItemIdentifier(), ColIsItemNumber(), ColIsQuantity(), GetNumberCols(), and IsGeneratedValue().
|
protectedinherited |
Definition at line 133 of file fields_table_data_model.cpp.
|
inlineoverridevirtual |
Clears the field from the data store, rather than setting its value to an empty string.
Implements FIELDS_TABLE_DATA_MODEL_BASE.
Reimplemented in SYMBOL_FIELDS_EDITOR_GRID_DATA_MODEL.
Definition at line 388 of file fields_table_data_model.h.
References FIELDS_TABLE_DATA_MODEL_BASE::CanClearCell(), clearStoredField(), FIELDS_TABLE_DATA_MODEL_BASE::m_cols, FIELDS_TABLE_DATA_MODEL_BASE::m_edited, and m_rows.
|
inlineinherited |
Definition at line 195 of file fields_table_data_model.h.
References m_selectionItems.
|
inlineprotected |
Clears a field, e.g.
marks in not-present (as opposed to an empty string)
Definition at line 1054 of file fields_table_data_model.h.
References getDataStoreKey(), and FIELDS_TABLE_DATA_MODEL_BASE::m_dataStore.
Referenced by ClearCell(), and updateDataStoreItemFieldFromLive().
|
protectedinherited |
Definition at line 152 of file fields_table_data_model.cpp.
|
inlineprotectedvirtual |
Definition at line 878 of file fields_table_data_model.h.
References getItemIdentifier(), and StrNumCmp().
Referenced by cmpRows().
|
inlineprotected |
Definition at line 833 of file fields_table_data_model.h.
References cmpRowItems(), FIELDS_TABLE_DATA_MODEL_BASE::ColIsItemIdentifier(), GetGroupedValue(), FIELDS_TABLE_DATA_MODEL_BASE::GetNumberCols(), DATA_MODEL_ROW< ITEM_TYPE >::m_items, and ValueStringCompare().
|
inherited |
Definition at line 438 of file fields_table_data_model.cpp.
References fieldIsAttribute(), and m_cols.
Referenced by FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::allRowItemsHaveAttributeForcedOnBySheet(), applyFieldPresenceRenderer(), FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::GetGroupedValue(), FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::groupMatch(), and FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::MatchesFilter().
|
inherited |
Definition at line 454 of file fields_table_data_model.cpp.
References ColIsItemProperty(), IsGeneratedField(), and m_cols.
Referenced by ColIsReadOnly(), FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::GetGroupedValue(), FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::groupMatch(), and FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::MatchesFilter().
|
inherited |
Definition at line 431 of file fields_table_data_model.cpp.
References FOOTPRINT, GetDefaultFieldName(), m_cols, and UNTRANSLATED.
|
inlinevirtualinherited |
Reference for symbol/fields tables, lib_id for lib tables.
Reimplemented in LIB_FIELDS_EDITOR_GRID_DATA_MODEL, and LIB_FOOTPRINT_FIELDS_EDITOR_GRID_DATA_MODEL.
Definition at line 173 of file fields_table_data_model.h.
References ColIsReference().
Referenced by ApplyBomPreset(), cellUsesResolvedTextRenderer(), FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::cmpRows(), ColIsReadOnly(), FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::GetGroupedValue(), and FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::groupMatch().
|
inherited |
Definition at line 417 of file fields_table_data_model.cpp.
References ITEM_NUMBER_VARIABLE, and m_cols.
Referenced by cellUsesResolvedTextRenderer(), FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::GetGroupedValue(), and SetGroupColumn().
|
inherited |
Definition at line 446 of file fields_table_data_model.cpp.
References fieldIsItemProperty(), and m_cols.
Referenced by ColIsComputed().
|
inherited |
Definition at line 410 of file fields_table_data_model.cpp.
References m_cols, and QUANTITY_VARIABLE.
Referenced by cellUsesResolvedTextRenderer(), FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::GetGroupedValue(), and SetGroupColumn().
|
virtualinherited |
Reimplemented in FOOTPRINT_FIELDS_EDITOR_GRID_DATA_MODEL.
Definition at line 475 of file fields_table_data_model.cpp.
References ColIsComputed(), ColIsItemIdentifier(), IsExpanderColumn(), and m_cols.
Referenced by FOOTPRINT_FIELDS_EDITOR_GRID_DATA_MODEL::ColIsReadOnly(), and IsCellReadOnly().
|
inherited |
Definition at line 403 of file fields_table_data_model.cpp.
References GetDefaultFieldName(), m_cols, REFERENCE, and UNTRANSLATED.
Referenced by ColIsItemIdentifier(), FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::GetGroupedValue(), and FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::groupMatch().
|
inherited |
Definition at line 424 of file fields_table_data_model.cpp.
References GetDefaultFieldName(), m_cols, UNTRANSLATED, and VALUE.
|
inline |
Definition at line 572 of file fields_table_data_model.h.
References CollapseRow(), and m_rows.
Referenced by Sort().
|
inline |
Definition at line 543 of file fields_table_data_model.h.
References m_rows.
Referenced by CollapseForSort(), and ExpandCollapseRow().
|
protectedinherited |
Definition at line 220 of file fields_table_data_model.cpp.
References grid.
Referenced by FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::AddColumn(), FIELDS_TABLE_DATA_MODEL< FOOTPRINT_REF >::fieldIsAttribute(), RenameColumn(), and SetFieldsOrder().
|
inherited |
Definition at line 544 of file fields_table_data_model.cpp.
References m_rebuildsEnabled.
Referenced by DIALOG_FIELDS_TABLE::doApplyBomPreset().
|
inherited |
Definition at line 538 of file fields_table_data_model.cpp.
References m_rebuildsEnabled.
Referenced by DIALOG_FIELDS_TABLE::doApplyBomPreset().
|
protectedinherited |
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().
|
inlineprotected |
Makes sure a field is at least marked present-but-empty without changing its value if it has one already.
Definition at line 1046 of file fields_table_data_model.h.
References getDataStoreKey(), and FIELDS_TABLE_DATA_MODEL_BASE::m_dataStore.
Referenced by initializeDataStoreItemField().
|
inline |
Definition at line 585 of file fields_table_data_model.h.
References ExpandRow(), and m_rows.
Referenced by Sort().
|
inlineoverridevirtual |
Implements FIELDS_TABLE_DATA_MODEL_BASE.
Definition at line 563 of file fields_table_data_model.h.
References CollapseRow(), ExpandRow(), and m_rows.
|
inline |
Definition at line 500 of file fields_table_data_model.h.
References m_rows, and unitMatch().
Referenced by ExpandAfterSort(), and ExpandCollapseRow().
|
inherited |
Definition at line 670 of file fields_table_data_model.cpp.
References BOM_FMT_PRESET::fieldDelimiter, GetExportValue(), WX_GRID_TABLE_BASE::GetRowState(), BOM_FMT_PRESET::includeByteOrderMark, BOM_FMT_PRESET::keepLineBreaks, BOM_FMT_PRESET::keepTabs, m_cols, BOM_FMT_PRESET::refDelimiter, BOM_FMT_PRESET::refRangeDelimiter, and BOM_FMT_PRESET::stringDelimiter.
Referenced by EESCHEMA_JOBS_HANDLER::JobExportBom(), and PCBNEW_JOBS_HANDLER::JobExportBom().
|
protectedvirtualinherited |
Reimplemented in LIB_FIELDS_EDITOR_GRID_DATA_MODEL.
Definition at line 744 of file fields_table_data_model.cpp.
Referenced by ColIsAttribute(), LIB_FIELDS_EDITOR_GRID_DATA_MODEL::fieldIsAttribute(), and fieldIsItemProperty().
|
protectedvirtualinherited |
Reimplemented in LIB_FIELDS_EDITOR_GRID_DATA_MODEL, and LIB_FOOTPRINT_FIELDS_EDITOR_GRID_DATA_MODEL.
Definition at line 752 of file fields_table_data_model.cpp.
References fieldIsAttribute().
Referenced by ColIsItemProperty(), LIB_FIELDS_EDITOR_GRID_DATA_MODEL::fieldIsItemProperty(), and LIB_FOOTPRINT_FIELDS_EDITOR_GRID_DATA_MODEL::fieldIsItemProperty().
|
inlineprotected |
Compares the live value of the field to the stored value in the data store.
If they differ in presence or value then the field has been modified
Definition at line 1067 of file fields_table_data_model.h.
References getLiveFieldValue(), and getStoredFieldValue().
Referenced by IsCellEdited(), and RevertRow().
|
protectedpure virtual |
Implemented in FOOTPRINT_FIELDS_EDITOR_GRID_DATA_MODEL, LIB_FIELDS_EDITOR_GRID_DATA_MODEL, and SYMBOL_FIELDS_EDITOR_GRID_DATA_MODEL.
Referenced by AddColumn(), and RevertRow().
|
inlineoverrideinherited |
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().
|
protectedvirtualinherited |
Reimplemented in LIB_FIELDS_EDITOR_GRID_DATA_MODEL.
Definition at line 758 of file fields_table_data_model.cpp.
Referenced by LIB_FIELDS_EDITOR_GRID_DATA_MODEL::getAttributeResolvedValue(), FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::GetGroupedValue(), and FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::MatchesFilter().
|
inherited |
Definition at line 650 of file fields_table_data_model.cpp.
References GetColFieldName(), GetExcludeDNP(), GetFieldsOrdered(), GetFilter(), GetFilterScope(), GetGroupingEnabled(), GetIncludeExcludedFromBOM(), GetNumberCols(), GetSortAsc(), and GetSortCol().
Referenced by DIALOG_FIELDS_TABLE::getDataModelBomPreset(), DIALOG_FIELDS_TABLE::saveJobSettings(), and DIALOG_FIELDS_TABLE::savePresets().
|
inherited |
Definition at line 345 of file fields_table_data_model.cpp.
References GetColLabelValue(), GetResolvedValue(), and KIUI::GetTextSize().
Referenced by DIALOG_FIELDS_TABLE::SetupAllColumnProperties().
|
inherited |
Definition at line 338 of file fields_table_data_model.cpp.
References m_cols.
Referenced by GetBomSettings().
|
overrideinherited |
Definition at line 331 of file fields_table_data_model.cpp.
References m_cols.
Referenced by DIALOG_FIELDS_TABLE::doApplyBomPreset(), and GetColDataWidth().
|
inlineinherited |
Definition at line 244 of file fields_table_data_model.h.
References m_currentVariant.
|
pure virtual |
Implemented in FOOTPRINT_FIELDS_EDITOR_GRID_DATA_MODEL, LIB_FIELDS_EDITOR_GRID_DATA_MODEL, and SYMBOL_FIELDS_EDITOR_GRID_DATA_MODEL.
Referenced by clearStoredField(), ensureStoredFieldPresent(), GetRowItemKeys(), getStoredFields(), and setStoredFieldValue().
|
inlineinherited |
Definition at line 208 of file fields_table_data_model.h.
References m_excludeDNP.
Referenced by GetBomSettings().
|
inlineoverridevirtual |
Implements FIELDS_TABLE_DATA_MODEL_BASE.
Definition at line 733 of file fields_table_data_model.h.
References GetGroupedValue(), and m_rows.
|
inherited |
Definition at line 356 of file fields_table_data_model.cpp.
References FieldNamesAreDuplicates(), and m_cols.
Referenced by FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::AddColumn(), ApplyBomPreset(), DIALOG_FIELDS_TABLE::doApplyBomPreset(), EESCHEMA_JOBS_HANDLER::JobExportBom(), PCBNEW_JOBS_HANDLER::JobExportBom(), DIALOG_FIELDS_TABLE::OnRemoveField(), DIALOG_FIELDS_TABLE::OnRenameField(), DIALOG_FIELDS_TABLE::OnViewControlsCellChanged(), and DIALOG_FIELDS_TABLE::SetupAllColumnProperties().
|
pure virtual |
Explicitly bypasses the data store's field values and retries them from the item's current field value on the editing canvas.
Will also handle generated fields as necessary. Returns empty string for private/missing fields.
Example: BOM template provides ${DNP} as a field, but they symbol doesn't have the field.
Implemented in FOOTPRINT_FIELDS_EDITOR_GRID_DATA_MODEL, LIB_FIELDS_EDITOR_GRID_DATA_MODEL, and SYMBOL_FIELDS_EDITOR_GRID_DATA_MODEL.
Referenced by GetGroupedValue(), groupMatch(), and MatchesFilter().
|
inherited |
Definition at line 368 of file fields_table_data_model.cpp.
References m_cols.
Referenced by GetBomSettings(), EESCHEMA_JOBS_HANDLER::JobExportBom(), and PCBNEW_JOBS_HANDLER::JobExportBom().
|
inlineinherited |
Definition at line 190 of file fields_table_data_model.h.
References m_filter.
Referenced by GetBomSettings().
|
inlineinherited |
Definition at line 192 of file fields_table_data_model.h.
References m_filterScope.
Referenced by GetBomSettings().
|
inherited |
Definition at line 561 of file fields_table_data_model.cpp.
References m_cols.
Referenced by DIALOG_FIELDS_TABLE::doApplyBomPreset().
|
inline |
Definition at line 594 of file fields_table_data_model.h.
References attributeForcedOnBySheet(), FIELDS_TABLE_DATA_MODEL_BASE::ColIsAttribute(), FIELDS_TABLE_DATA_MODEL_BASE::ColIsComputed(), FIELDS_TABLE_DATA_MODEL_BASE::ColIsItemIdentifier(), FIELDS_TABLE_DATA_MODEL_BASE::ColIsItemNumber(), FIELDS_TABLE_DATA_MODEL_BASE::ColIsQuantity(), FIELDS_TABLE_DATA_MODEL_BASE::ColIsReference(), UTIL::FormatRefDesRanges(), FIELDS_TABLE_DATA_MODEL_BASE::getAttributeResolvedValue(), getFieldResolvedLiveValue(), getItemIdentifier(), getStoredFieldValue(), INDETERMINATE_STATE, IsGeneratedValue(), FIELDS_TABLE_DATA_MODEL_BASE::m_cols, DATA_MODEL_ROW< ITEM_TYPE >::m_itemNumber, DATA_MODEL_ROW< ITEM_TYPE >::m_items, DATA_MODEL_ROW< ITEM_TYPE >::m_state, and resolveTextVars().
Referenced by cmpRows(), GetExportValue(), GetResolvedValue(), and GetValue().
|
inlineinherited |
Definition at line 198 of file fields_table_data_model.h.
References m_groupingEnabled.
Referenced by GetBomSettings().
|
inlineinherited |
Definition at line 205 of file fields_table_data_model.h.
References m_includeExcluded.
Referenced by GetBomSettings(), and DIALOG_FIELDS_TABLE::PreviewRefresh().
|
pure virtual |
Implemented in FOOTPRINT_FIELDS_EDITOR_GRID_DATA_MODEL, LIB_FIELDS_EDITOR_GRID_DATA_MODEL, LIB_FOOTPRINT_FIELDS_EDITOR_GRID_DATA_MODEL, and SYMBOL_FIELDS_EDITOR_GRID_DATA_MODEL.
Referenced by cmpRowItems(), GetGroupedValue(), and groupMatch().
|
protectedpure virtual |
Gets the current value of the field from the live item, e.g.
from the symbol on the schematic.
Implemented in FOOTPRINT_FIELDS_EDITOR_GRID_DATA_MODEL, LIB_FIELDS_EDITOR_GRID_DATA_MODEL, LIB_FOOTPRINT_FIELDS_EDITOR_GRID_DATA_MODEL, and SYMBOL_FIELDS_EDITOR_GRID_DATA_MODEL.
Referenced by fieldIsModified(), and updateDataStoreItemFieldFromLive().
|
inlineoverrideinherited |
Definition at line 138 of file fields_table_data_model.h.
References m_cols.
Referenced by ApplyBomPreset(), cellUsesResolvedTextRenderer(), FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::cmpRows(), GetBomSettings(), FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::GetValue(), IsCellReadOnly(), IsRowEdited(), and DIALOG_FIELDS_TABLE::OnAddField().
|
inlineoverride |
Definition at line 445 of file fields_table_data_model.h.
References m_rows.
Referenced by GetValue().
|
inlineoverridevirtual |
Implements FIELDS_TABLE_DATA_MODEL_BASE.
Definition at line 728 of file fields_table_data_model.h.
References GetGroupedValue(), and m_rows.
|
inlineoverridevirtual |
Return the stable data-store keys of every item represented by a row.
Implements FIELDS_TABLE_DATA_MODEL_BASE.
Definition at line 449 of file fields_table_data_model.h.
References getDataStoreKey(), and m_rows.
|
inline |
Definition at line 462 of file fields_table_data_model.h.
References m_rows.
|
inlineoverridevirtual |
Reimplemented from WX_GRID_TABLE_BASE.
Definition at line 446 of file fields_table_data_model.h.
References m_rows, and ROW_STATE::ROW_STATE.
|
inherited |
Definition at line 575 of file fields_table_data_model.cpp.
References m_cols.
Referenced by DIALOG_FIELDS_TABLE::doApplyBomPreset().
|
inlineinherited |
Definition at line 181 of file fields_table_data_model.h.
References m_sortAscending.
Referenced by GetBomSettings(), and DIALOG_FIELDS_TABLE::SetupAllColumnProperties().
|
inlineinherited |
Definition at line 180 of file fields_table_data_model.h.
References m_sortColumn.
Referenced by GetBomSettings().
|
inlineprotected |
Returns all stored fields for an item without creating a data-store entry.
Definition at line 1001 of file fields_table_data_model.h.
References getDataStoreKey(), and FIELDS_TABLE_DATA_MODEL_BASE::m_dataStore.
Referenced by getStoredFieldValue().
|
inlineprotected |
Gets the stored value of the field from the data store, not from the live item, e.g.
from the symbol on the schematic.
Definition at line 1019 of file fields_table_data_model.h.
References getStoredFields().
Referenced by fieldIsModified(), GetGroupedValue(), groupMatch(), IsCellClear(), and MatchesFilter().
|
inlineoverride |
Definition at line 720 of file fields_table_data_model.h.
References GetGroupedValue(), FIELDS_TABLE_DATA_MODEL_BASE::GetNumberCols(), GetNumberRows(), and m_rows.
|
inlineinherited |
Definition at line 247 of file fields_table_data_model.h.
References m_variantNames.
|
inlineprotected |
Definition at line 885 of file fields_table_data_model.h.
References attributeForcedOnBySheet(), FIELDS_TABLE_DATA_MODEL_BASE::ColIsAttribute(), FIELDS_TABLE_DATA_MODEL_BASE::ColIsComputed(), FIELDS_TABLE_DATA_MODEL_BASE::ColIsItemIdentifier(), FIELDS_TABLE_DATA_MODEL_BASE::ColIsReference(), getFieldResolvedLiveValue(), getItemIdentifier(), UTIL::GetRefDesPrefix(), getStoredFieldValue(), IsGeneratedValue(), FIELDS_TABLE_DATA_MODEL_BASE::m_cols, and resolveTextVars().
|
inlineoverridevirtualinherited |
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 from WX_GRID_TABLE_BASE.
Definition at line 251 of file fields_table_data_model.h.
|
inlineprotected |
Initializes every column in the data store for a newly added (or refreshed) item.
Like the field initializer, this will correctly handle missing fields in the source item as empty or not-present based on the column user-added status
Definition at line 1113 of file fields_table_data_model.h.
References initializeDataStoreItemField(), and FIELDS_TABLE_DATA_MODEL_BASE::m_cols.
|
inlineprotected |
Puts the live value of the field in the data store, correctly handling a missing field in the souce item as empty or not-present based on whether the col was added by the user.
Definition at line 1099 of file fields_table_data_model.h.
References ensureStoredFieldPresent(), DATA_MODEL_COL::m_fieldName, DATA_MODEL_COL::m_userAdded, and updateDataStoreItemFieldFromLive().
Referenced by AddColumn(), and initializeDataStoreItem().
|
inlineoverridevirtual |
Returns true if the cell is not present in the data store for any item in the row, not just empty.
Implements FIELDS_TABLE_DATA_MODEL_BASE.
Definition at line 409 of file fields_table_data_model.h.
References getStoredFieldValue(), FIELDS_TABLE_DATA_MODEL_BASE::m_cols, and m_rows.
|
inlineoverridevirtual |
Returns true if the cell has been modified from the live value in any item in the row (symbol/footprint/etc).
Implements FIELDS_TABLE_DATA_MODEL_BASE.
Definition at line 430 of file fields_table_data_model.h.
References fieldIsModified(), FIELDS_TABLE_DATA_MODEL_BASE::m_cols, and m_rows.
|
inlineoverridevirtual |
Reimplemented from FIELDS_TABLE_DATA_MODEL_BASE.
Reimplemented in LIB_FIELDS_EDITOR_GRID_DATA_MODEL.
Definition at line 739 of file fields_table_data_model.h.
References allRowItemsHaveAttributeForcedOnBySheet(), FIELDS_TABLE_DATA_MODEL_BASE::IsCellReadOnly(), and m_rows.
Referenced by LIB_FIELDS_EDITOR_GRID_DATA_MODEL::IsCellReadOnly().
|
inlineinherited |
Definition at line 130 of file fields_table_data_model.h.
References m_edited.
|
inlineoverrideinherited |
Definition at line 149 of file fields_table_data_model.h.
|
overridevirtualinherited |
Reimplemented from WX_GRID_TABLE_BASE.
Definition at line 462 of file fields_table_data_model.cpp.
References m_cols.
Referenced by ColIsReadOnly().
|
inherited |
Return true if any cell in the row has been edited.
Definition at line 516 of file fields_table_data_model.cpp.
References GetNumberCols(), and IsCellEdited().
|
inlineprotected |
Definition at line 747 of file fields_table_data_model.h.
References attributeForcedOnBySheet(), FIELDS_TABLE_DATA_MODEL_BASE::ColIsAttribute(), FIELDS_TABLE_DATA_MODEL_BASE::ColIsComputed(), EDA_COMBINED_MATCHER::Find(), FIELDS_TABLE_DATA_MODEL_BASE::getAttributeResolvedValue(), getFieldResolvedLiveValue(), getStoredFieldValue(), IsGeneratedValue(), FIELDS_TABLE_DATA_MODEL_BASE::m_cols, DATA_MODEL_COL::m_fieldName, FIELDS_TABLE_DATA_MODEL_BASE::m_filter, FIELDS_TABLE_DATA_MODEL_BASE::m_filterScope, DATA_MODEL_COL::m_show, REFERENCE, resolveTextVars(), and VISIBLE.
|
inherited |
Definition at line 227 of file fields_table_data_model.cpp.
Referenced by DIALOG_FIELDS_TABLE::OnColMove().
|
pure virtualinherited |
Implemented in FOOTPRINT_FIELDS_EDITOR_GRID_DATA_MODEL, LIB_FIELDS_EDITOR_GRID_DATA_MODEL, and SYMBOL_FIELDS_EDITOR_GRID_DATA_MODEL.
Referenced by ApplyBomPreset(), DIALOG_FIELDS_TABLE::doApplyBomPreset(), DIALOG_FIELDS_TABLE::OnColSort(), DIALOG_FIELDS_TABLE::OnFilterScope(), DIALOG_FIELDS_TABLE::OnFilterText(), DIALOG_FIELDS_TABLE::OnGroupSymbolsToggled(), DIALOG_FIELDS_TABLE::OnRegroupSymbols(), DIALOG_FIELDS_TABLE::OnRenameField(), DIALOG_FIELDS_TABLE::OnViewControlsCellChanged(), DIALOG_FIELDS_TABLE::PreviewRefresh(), RestoreUndoState(), and DIALOG_FIELDS_TABLE::ShowHideColumn().
|
inherited |
Definition at line 260 of file fields_table_data_model.cpp.
Referenced by DIALOG_FIELDS_TABLE::OnRemoveField().
|
inherited |
Definition at line 301 of file fields_table_data_model.cpp.
References commitPendingGridChanges(), m_cols, m_dataStore, and m_edited.
Referenced by DIALOG_FIELDS_TABLE::OnRenameField().
|
pure virtual |
Implemented in FOOTPRINT_FIELDS_EDITOR_GRID_DATA_MODEL, LIB_FIELDS_EDITOR_GRID_DATA_MODEL, and SYMBOL_FIELDS_EDITOR_GRID_DATA_MODEL.
Referenced by GetGroupedValue(), groupMatch(), and MatchesFilter().
|
overridevirtualinherited |
Reimplemented from WX_GRID_TABLE_BASE.
Definition at line 798 of file fields_table_data_model.cpp.
References m_dataStore, m_edited, and RebuildRows().
|
inlineoverridevirtual |
Go through and revert all the fields in the row to their live values from the item (symbol/footprint/etc).
Then recheck if any fields in the entire table are modified, and set edited state accordingly.
Implements FIELDS_TABLE_DATA_MODEL_BASE.
Reimplemented in SYMBOL_FIELDS_EDITOR_GRID_DATA_MODEL.
Definition at line 474 of file fields_table_data_model.h.
References fieldIsModified(), getAllItems(), FIELDS_TABLE_DATA_MODEL_BASE::m_cols, FIELDS_TABLE_DATA_MODEL_BASE::m_edited, m_rows, and updateDataStoreItemFieldFromLive().
Referenced by SYMBOL_FIELDS_EDITOR_GRID_DATA_MODEL::RevertRow().
|
overridevirtualinherited |
Reimplemented from WX_GRID_TABLE_BASE.
Definition at line 778 of file fields_table_data_model.cpp.
References m_dataStore, and name.
|
inlineoverrideinherited |
Definition at line 66 of file wx_grid.h.
References m_colAttrs.
Referenced by DIALOG_FIELDS_TABLE::SetupColumnProperties().
|
overrideinherited |
Definition at line 324 of file fields_table_data_model.cpp.
References m_cols.
Referenced by ApplyBomPreset(), and DIALOG_FIELDS_TABLE::OnViewControlsCellChanged().
|
inlineinherited |
Set the current variant name for highlighting purposes.
When a variant is set, cells that differ from the default (non-variant) value will be highlighted.
| aVariantName | The name of the current variant, or empty string for default. |
Definition at line 243 of file fields_table_data_model.h.
References m_currentVariant.
Referenced by BOOST_FIXTURE_TEST_CASE(), DIALOG_FIELDS_TABLE::doApplyBomPreset(), EESCHEMA_JOBS_HANDLER::JobExportBom(), and PCBNEW_JOBS_HANDLER::JobExportBom().
|
inlineinherited |
Definition at line 207 of file fields_table_data_model.h.
References m_excludeDNP.
Referenced by ApplyBomPreset().
|
inherited |
Definition at line 379 of file fields_table_data_model.cpp.
References commitPendingGridChanges(), and m_cols.
Referenced by ApplyBomPreset().
|
inlineinherited |
Definition at line 189 of file fields_table_data_model.h.
References m_filter.
Referenced by ApplyBomPreset(), and DIALOG_FIELDS_TABLE::OnFilterText().
|
inlineinherited |
Definition at line 191 of file fields_table_data_model.h.
References m_filterScope.
Referenced by ApplyBomPreset(), and DIALOG_FIELDS_TABLE::OnFilterScope().
|
inherited |
Definition at line 550 of file fields_table_data_model.cpp.
References ColIsItemNumber(), ColIsQuantity(), and m_cols.
Referenced by ApplyBomPreset(), and DIALOG_FIELDS_TABLE::OnViewControlsCellChanged().
|
inlineinherited |
Definition at line 197 of file fields_table_data_model.h.
References m_groupingEnabled.
Referenced by ApplyBomPreset(), and DIALOG_FIELDS_TABLE::OnGroupSymbolsToggled().
|
inlineinherited |
Definition at line 204 of file fields_table_data_model.h.
References m_includeExcluded.
Referenced by ApplyBomPreset(), and DIALOG_FIELDS_TABLE::PreviewRefresh().
|
inlineinherited |
Definition at line 194 of file fields_table_data_model.h.
References m_selectionItems.
|
inherited |
Definition at line 568 of file fields_table_data_model.cpp.
References m_cols.
Referenced by ApplyBomPreset(), DIALOG_FIELDS_TABLE::SetupAllColumnProperties(), and DIALOG_FIELDS_TABLE::ShowHideColumn().
|
inherited |
Definition at line 530 of file fields_table_data_model.cpp.
References m_cols, m_sortAscending, and m_sortColumn.
Referenced by ApplyBomPreset(), DIALOG_FIELDS_TABLE::OnColSort(), and DIALOG_FIELDS_TABLE::SetupAllColumnProperties().
|
inlineprotected |
Creates or updates a field in the data store.
Always marks the field present as a result.
Definition at line 1036 of file fields_table_data_model.h.
References getDataStoreKey(), and FIELDS_TABLE_DATA_MODEL_BASE::m_dataStore.
Referenced by updateDataStoreItemFieldFromLive().
|
inlineinherited |
Definition at line 246 of file fields_table_data_model.h.
References m_variantNames.
Referenced by EESCHEMA_JOBS_HANDLER::JobExportBom(), and PCBNEW_JOBS_HANDLER::JobExportBom().
|
inlineprotected |
Definition at line 957 of file fields_table_data_model.h.
References CollapseForSort(), ExpandAfterSort(), and m_rows.
|
protectedpure virtual |
Implemented in FOOTPRINT_FIELDS_EDITOR_GRID_DATA_MODEL, LIB_FIELDS_EDITOR_GRID_DATA_MODEL, and SYMBOL_FIELDS_EDITOR_GRID_DATA_MODEL.
Referenced by ExpandRow().
|
inlineprotected |
Updates the data store with the current value of the field from the live item.
If the field is not present on the item, it will be cleared from the data store rather than set to empty.
Definition at line 1084 of file fields_table_data_model.h.
References clearStoredField(), getLiveFieldValue(), and setStoredFieldValue().
Referenced by initializeDataStoreItemField(), and RevertRow().
|
staticinherited |
Definition at line 128 of file fields_table_data_model.h.
Referenced by ColIsItemNumber(), EESCHEMA_JOBS_HANDLER::JobExportBom(), PCBNEW_JOBS_HANDLER::JobExportBom(), DIALOG_FOOTPRINT_FIELDS_TABLE::LoadFieldNames(), and DIALOG_SYMBOL_FIELDS_TABLE::LoadFieldNames().
|
protectedinherited |
Definition at line 108 of file wx_grid.h.
Referenced by GetAttr(), SetColAttr(), and ~WX_GRID_TABLE_BASE().
|
protectedinherited |
Definition at line 304 of file fields_table_data_model.h.
Referenced by FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::AddColumn(), FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::allRowItemsHaveAttributeForcedOnBySheet(), ApplyBomPreset(), CanClearCell(), FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::ClearCell(), ColIsAttribute(), ColIsComputed(), ColIsFootprint(), ColIsItemNumber(), ColIsItemProperty(), ColIsQuantity(), ColIsReadOnly(), ColIsReference(), ColIsValue(), Export(), GetColFieldName(), GetColLabelValue(), GetFieldNameCol(), GetFieldsOrdered(), GetGroupColumn(), FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::GetGroupedValue(), GetNumberCols(), GetShowColumn(), FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::groupMatch(), FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::initializeDataStoreItem(), FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::IsCellClear(), FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::IsCellEdited(), IsExpanderColumn(), FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::MatchesFilter(), RenameColumn(), FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::RevertRow(), SetColLabelValue(), SetFieldsOrder(), SetGroupColumn(), SetShowColumn(), and SetSorting().
|
protectedinherited |
Current variant name for highlighting.
Definition at line 300 of file fields_table_data_model.h.
Referenced by GetCurrentVariant(), and SetCurrentVariant().
|
protectedinherited |
Definition at line 328 of file fields_table_data_model.h.
Referenced by FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::clearStoredField(), FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::ensureStoredFieldPresent(), FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::getStoredFields(), RenameColumn(), RestoreUndoState(), SerializeUndoState(), and FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::setStoredFieldValue().
|
protectedinherited |
Definition at line 287 of file fields_table_data_model.h.
Referenced by FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::AddColumn(), FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::ClearCell(), FIELDS_TABLE_DATA_MODEL_BASE(), IsEdited(), RenameColumn(), RestoreUndoState(), and FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::RevertRow().
|
protectedinherited |
Definition at line 293 of file fields_table_data_model.h.
Referenced by FIELDS_TABLE_DATA_MODEL_BASE(), GetExcludeDNP(), and SetExcludeDNP().
|
protectedinherited |
Definition at line 290 of file fields_table_data_model.h.
Referenced by GetFilter(), FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::MatchesFilter(), and SetFilter().
|
protectedinherited |
Definition at line 291 of file fields_table_data_model.h.
Referenced by FIELDS_TABLE_DATA_MODEL_BASE(), GetFilterScope(), FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::MatchesFilter(), and SetFilterScope().
|
protectedinherited |
Definition at line 292 of file fields_table_data_model.h.
Referenced by FIELDS_TABLE_DATA_MODEL_BASE(), GetGroupingEnabled(), and SetGroupingEnabled().
|
protectedinherited |
Definition at line 294 of file fields_table_data_model.h.
Referenced by FIELDS_TABLE_DATA_MODEL_BASE(), GetIncludeExcludedFromBOM(), and SetIncludeExcludedFromBOM().
|
protectedinherited |
Items included by the user selection scope.
Definition at line 295 of file fields_table_data_model.h.
Referenced by DisableRebuilds(), EnableRebuilds(), and FIELDS_TABLE_DATA_MODEL_BASE().
|
protectedinherited |
Definition at line 285 of file fields_table_data_model.h.
Referenced by applyResolvedTextRenderer(), FIELDS_TABLE_DATA_MODEL_BASE(), and ~FIELDS_TABLE_DATA_MODEL_BASE().
|
protected |
Definition at line 1139 of file fields_table_data_model.h.
Referenced by ClearCell(), CollapseForSort(), CollapseRow(), ExpandAfterSort(), ExpandCollapseRow(), ExpandRow(), GetExportValue(), GetNumberRows(), GetResolvedValue(), GetRowItemKeys(), GetRowReferences(), GetRowState(), GetValue(), IsCellClear(), IsCellEdited(), IsCellReadOnly(), RevertRow(), and Sort().
|
protectedinherited |
Definition at line 298 of file fields_table_data_model.h.
Referenced by ClearSelectionItems(), and SetSelectionItems().
|
protectedinherited |
Definition at line 289 of file fields_table_data_model.h.
Referenced by FIELDS_TABLE_DATA_MODEL_BASE(), GetSortAsc(), and SetSorting().
|
protectedinherited |
Definition at line 288 of file fields_table_data_model.h.
Referenced by FIELDS_TABLE_DATA_MODEL_BASE(), GetSortCol(), and SetSorting().
|
protectedinherited |
Definition at line 284 of file fields_table_data_model.h.
Referenced by FIELDS_TABLE_DATA_MODEL_BASE(), and ~FIELDS_TABLE_DATA_MODEL_BASE().
|
protectedinherited |
Variant names for multi-variant DNP filtering.
Definition at line 301 of file fields_table_data_model.h.
Referenced by GetVariantNames(), and SetVariantNames().
|
staticinherited |
Definition at line 127 of file fields_table_data_model.h.
Referenced by ColIsQuantity(), EESCHEMA_JOBS_HANDLER::JobExportBom(), PCBNEW_JOBS_HANDLER::JobExportBom(), DIALOG_FOOTPRINT_FIELDS_TABLE::LoadFieldNames(), and DIALOG_SYMBOL_FIELDS_TABLE::LoadFieldNames().