|
KiCad PCB EDA Suite
|
Options controlling how a derived symbol's fields are reconciled with its parent. More...
#include <lib_symbol.h>
Public Attributes | |
| bool | m_updateAllFields = true |
| Reconcile every field. When false only the names in m_updateFields are touched. | |
| std::set< wxString > | m_updateFields |
| Field names to reconcile when m_updateAllFields is false. | |
| bool | m_removeExtraFields = false |
| Drop fields not present in the parent. | |
| bool | m_resetVisibility = false |
| Copy parent visibility and name-shown flags. | |
| bool | m_resetEffects = false |
| Copy parent text effects (font, justification, etc.) but keep local visibility/position. | |
| bool | m_resetPositions = false |
| Copy parent field positions. | |
| bool | m_resetText = false |
| Copy parent text when the parent value is non-empty. | |
| bool | m_resetEmptyText = false |
| Copy parent text even when the parent value is empty. | |
Options controlling how a derived symbol's fields are reconciled with its parent.
Definition at line 79 of file lib_symbol.h.
| bool LIB_FIELD_SYNC_OPTIONS::m_removeExtraFields = false |
Drop fields not present in the parent.
Definition at line 88 of file lib_symbol.h.
Referenced by BOOST_AUTO_TEST_CASE(), DIALOG_UPDATE_SYMBOL_FIELDS::onOkButtonClicked(), and LIB_SYMBOL::SyncFieldsFromParent().
| bool LIB_FIELD_SYNC_OPTIONS::m_resetEffects = false |
Copy parent text effects (font, justification, etc.) but keep local visibility/position.
Definition at line 94 of file lib_symbol.h.
Referenced by DIALOG_UPDATE_SYMBOL_FIELDS::onOkButtonClicked(), and LIB_SYMBOL::SyncFieldsFromParent().
| bool LIB_FIELD_SYNC_OPTIONS::m_resetEmptyText = false |
Copy parent text even when the parent value is empty.
Definition at line 103 of file lib_symbol.h.
Referenced by DIALOG_UPDATE_SYMBOL_FIELDS::onOkButtonClicked(), and LIB_SYMBOL::SyncFieldsFromParent().
| bool LIB_FIELD_SYNC_OPTIONS::m_resetPositions = false |
Copy parent field positions.
Definition at line 97 of file lib_symbol.h.
Referenced by DIALOG_UPDATE_SYMBOL_FIELDS::onOkButtonClicked(), and LIB_SYMBOL::SyncFieldsFromParent().
| bool LIB_FIELD_SYNC_OPTIONS::m_resetText = false |
Copy parent text when the parent value is non-empty.
Definition at line 100 of file lib_symbol.h.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), DIALOG_UPDATE_SYMBOL_FIELDS::onOkButtonClicked(), and LIB_SYMBOL::SyncFieldsFromParent().
| bool LIB_FIELD_SYNC_OPTIONS::m_resetVisibility = false |
Copy parent visibility and name-shown flags.
Definition at line 91 of file lib_symbol.h.
Referenced by BOOST_AUTO_TEST_CASE(), DIALOG_UPDATE_SYMBOL_FIELDS::onOkButtonClicked(), and LIB_SYMBOL::SyncFieldsFromParent().
| bool LIB_FIELD_SYNC_OPTIONS::m_updateAllFields = true |
Reconcile every field. When false only the names in m_updateFields are touched.
Definition at line 82 of file lib_symbol.h.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), DIALOG_UPDATE_SYMBOL_FIELDS::onOkButtonClicked(), and LIB_SYMBOL::SyncFieldsFromParent().
| std::set<wxString> LIB_FIELD_SYNC_OPTIONS::m_updateFields |
Field names to reconcile when m_updateAllFields is false.
Definition at line 85 of file lib_symbol.h.
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), DIALOG_UPDATE_SYMBOL_FIELDS::onOkButtonClicked(), and LIB_SYMBOL::SyncFieldsFromParent().