KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_lib_symbol_properties.cpp File Reference
#include "dialog_lib_symbol_properties.h"
#include <pgm_base.h>
#include <bitmaps.h>
#include <confirm.h>
#include <kiway.h>
#include <footprint_library_query.h>
#include <symbol_edit_frame.h>
#include <lib_symbol_library_manager.h>
#include <math/util.h>
#include <sch_symbol.h>
#include <kiplatform/ui.h>
#include <widgets/grid_text_button_helpers.h>
#include <widgets/wx_grid.h>
#include <widgets/std_bitmap_button.h>
#include <string_utils.h>
#include <template_fieldnames.h>
#include <project_sch.h>
#include <refdes_utils.h>
#include <dialog_sim_model.h>
#include <tools/sch_actions.h>
#include <panel_embedded_files.h>
#include <panel_footprint_filters.h>
#include <panel_symbol_pin_map.h>
#include <settings/common_settings.h>
#include <symbol_editor_settings.h>
#include <map>
#include <set>
#include <vector>
#include <wx/msgdlg.h>
#include "pin_numbers.h"

Go to the source code of this file.

Typedefs

using HAS_OWN_VALUE = bool ( * )( const LIB_SYMBOL& )
 Reports whether a symbol sets its own value for some inheritable property.
 

Functions

static std::shared_ptr< LIB_SYMBOL > ancestorDefining (const LIB_SYMBOL *aSymbol, HAS_OWN_VALUE aHasOwn)
 Return the nearest ancestor of aSymbol that sets its own value, as reported by aHasOwn, or nullptr when the whole chain leaves it unset.
 

Typedef Documentation

◆ HAS_OWN_VALUE

using HAS_OWN_VALUE = bool ( * )( const LIB_SYMBOL& )

Reports whether a symbol sets its own value for some inheritable property.

Definition at line 57 of file dialog_lib_symbol_properties.cpp.

Function Documentation

◆ ancestorDefining()

static std::shared_ptr< LIB_SYMBOL > ancestorDefining ( const LIB_SYMBOL * aSymbol,
HAS_OWN_VALUE aHasOwn )
static

Return the nearest ancestor of aSymbol that sets its own value, as reported by aHasOwn, or nullptr when the whole chain leaves it unset.

Definition at line 64 of file dialog_lib_symbol_properties.cpp.

References LIB_SYMBOL::GetParent(), and source.

Referenced by DIALOG_LIB_SYMBOL_PROPERTIES::TransferDataToWindow().