|
KiCad PCB EDA Suite
|
Public Member Functions | |
| ISSUE25112_FIXTURE () | |
| std::unique_ptr< SYMBOL_FIELDS_EDITOR_GRID_DATA_MODEL > | MakeScopedModel (const wxString &aVariantName, const wxString &aFieldName, bool aAddedByUser=false) |
| Build a model scoped to the first sheet path of a symbol that a later path also reaches. | |
| void | Apply (SYMBOL_FIELDS_EDITOR_GRID_DATA_MODEL &aModel, const wxString &aVariantName) |
Public Attributes | |
| LOCALE_IO | m_locale |
| std::unique_ptr< SCHEMATIC > | m_schematic |
| SCH_REFERENCE_LIST | m_refs |
| SCH_SYMBOL * | m_symbol = nullptr |
| SCH_SHEET_PATH | m_scopePath |
| SCH_SHEET_PATH | m_siblingPath |
| int | m_col = -1 |
| int | m_row = -1 |
Definition at line 46 of file test_issue25112_shared_sheet_field_scope.cpp.
|
inline |
Definition at line 48 of file test_issue25112_shared_sheet_field_scope.cpp.
References BOOST_REQUIRE(), KI_TEST::GetEeschemaTestDataDir(), EESCHEMA_HELPERS::LoadSchematic(), m_refs, m_schematic, and SYMBOL_FILTER_NON_POWER.
|
inline |
Definition at line 130 of file test_issue25112_shared_sheet_field_scope.cpp.
References SYMBOL_FIELDS_EDITOR_GRID_DATA_MODEL::ApplyData().
|
inline |
Build a model scoped to the first sheet path of a symbol that a later path also reaches.
ApplyData follows the model's reference list, so scoping to that first path guarantees a stale entry follows the edited one.
Definition at line 65 of file test_issue25112_shared_sheet_field_scope.cpp.
References BOOST_REQUIRE(), SCH_REFERENCE_LIST::GetCount(), GetDefaultFieldName(), m_col, m_refs, m_row, m_scopePath, m_siblingPath, m_symbol, model, REFERENCE, and UNTRANSLATED.
| int ISSUE25112_FIXTURE::m_col = -1 |
Definition at line 145 of file test_issue25112_shared_sheet_field_scope.cpp.
Referenced by MakeScopedModel().
| LOCALE_IO ISSUE25112_FIXTURE::m_locale |
Definition at line 139 of file test_issue25112_shared_sheet_field_scope.cpp.
| SCH_REFERENCE_LIST ISSUE25112_FIXTURE::m_refs |
Definition at line 141 of file test_issue25112_shared_sheet_field_scope.cpp.
Referenced by ISSUE25112_FIXTURE(), and MakeScopedModel().
| int ISSUE25112_FIXTURE::m_row = -1 |
Definition at line 146 of file test_issue25112_shared_sheet_field_scope.cpp.
Referenced by MakeScopedModel().
| std::unique_ptr<SCHEMATIC> ISSUE25112_FIXTURE::m_schematic |
Definition at line 140 of file test_issue25112_shared_sheet_field_scope.cpp.
Referenced by ISSUE25112_FIXTURE().
| SCH_SHEET_PATH ISSUE25112_FIXTURE::m_scopePath |
Definition at line 143 of file test_issue25112_shared_sheet_field_scope.cpp.
Referenced by MakeScopedModel().
| SCH_SHEET_PATH ISSUE25112_FIXTURE::m_siblingPath |
Definition at line 144 of file test_issue25112_shared_sheet_field_scope.cpp.
Referenced by MakeScopedModel().
| SCH_SYMBOL* ISSUE25112_FIXTURE::m_symbol = nullptr |
Definition at line 142 of file test_issue25112_shared_sheet_field_scope.cpp.
Referenced by MakeScopedModel().