|
KiCad PCB EDA Suite
|
The point of the data model classes is fundamentally to represent three things: More...
#include <fields_table_data_model.h>
Public Attributes | |
| wxString | m_fieldName |
| wxString | m_label |
| bool | m_userAdded |
| bool | m_show |
| bool | m_group |
The point of the data model classes is fundamentally to represent three things:
This is not where the fields data itself is stored. See the data model for that.
The columns are rebuilt as the user changes the display options, presets, etc.
The rows are rebuilt according to grouping, filtering, sorting, etc. as well as user actions like expanding and collapsing rows with groupable fields.
A row can contain multiple items because they are grouped together because of the user's grouping settings. Or, a row may contain multiple references to a multi-unit symbol, etc. So, it does not necessarily represent a single symbol in the schematic.
Definition at line 91 of file fields_table_data_model.h.
| wxString DATA_MODEL_COL::m_fieldName |
Definition at line 93 of file fields_table_data_model.h.
Referenced by LIB_FIELDS_EDITOR_GRID_DATA_MODEL::ApplyData(), FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::initializeDataStoreItemField(), and FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::MatchesFilter().
| bool DATA_MODEL_COL::m_group |
Definition at line 97 of file fields_table_data_model.h.
| wxString DATA_MODEL_COL::m_label |
Definition at line 94 of file fields_table_data_model.h.
| bool DATA_MODEL_COL::m_show |
Definition at line 96 of file fields_table_data_model.h.
Referenced by FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::MatchesFilter().
| bool DATA_MODEL_COL::m_userAdded |
Definition at line 95 of file fields_table_data_model.h.
Referenced by FIELDS_TABLE_DATA_MODEL< ITEM_TYPE >::initializeDataStoreItemField().