KiCad PCB EDA Suite
Loading...
Searching...
No Matches
sch_properties_panel.cpp File Reference
#include "sch_properties_panel.h"
#include <dialog_symbol_properties.h>
#include <font/fontconfig.h>
#include <pgm_base.h>
#include <common.h>
#include <confirm.h>
#include <connection_graph.h>
#include <properties/pg_editors.h>
#include <properties/pg_properties.h>
#include <properties/property_mgr.h>
#include <properties/property.h>
#include <sch_commit.h>
#include <sch_edit_frame.h>
#include <sch_sheet.h>
#include <symbol_edit_frame.h>
#include <symbol_viewer_frame.h>
#include <schematic.h>
#include <sch_symbol.h>
#include <lib_symbol.h>
#include <sch_field.h>
#include <pin_map.h>
#include <template_fieldnames.h>
#include <settings/color_settings.h>
#include <string_utils.h>
#include <tool/tool_manager.h>
#include <tools/sch_selection_tool.h>
#include <wildcards_and_files_ext.h>
#include <wx_filename.h>
#include <wx/button.h>
#include <set>

Go to the source code of this file.

Classes

class  SCH_SYMBOL_FIELD_PROPERTY
 
class  SCH_SHEET_FIELD_PROPERTY
 
class  SCH_SYMBOL_PIN_MAP_FOOTPRINT_PROPERTY
 Read-only property showing the footprint a symbol's pin map resolves against (issue #2282). More...
 
class  SCH_SYMBOL_PIN_MAP_MODE_PROPERTY
 Override-mode selector for a symbol's per-instance pin map (issue #2282). More...
 
class  SCH_SYMBOL_PIN_MAP_NAME_PROPERTY
 
class  SCH_SYMBOL_PIN_MAP_ENTRY_PROPERTY
 Read-only per-pin row of the effective pin->pad table (issue #2282). More...
 

Functions

static const ASSOCIATED_FOOTPRINTactiveAssociatedFootprint (const SCH_SYMBOL *aSymbol)
 
static bool symbolHasAssociatedFootprint (INSPECTABLE *aObject)
 

Variables

static const wxString MISSING_FIELD_SENTINEL = wxS( "\uE000" )
 
static const wxString PIN_MAP_GROUP = _HKI( "Pin Map" )
 
static const wxString PIN_MAP_FOOTPRINT_PROP = wxS( "Pin Map Footprint" )
 
static const wxString PIN_MAP_MODE_PROP = wxS( "Pin Map Mode" )
 
static const wxString PIN_MAP_NAME_PROP = wxS( "Pin Map Name" )
 
static const wxString PIN_MAP_TABLE_GROUP = _HKI( "Effective Pin Map" )
 
static const wxString PIN_MAP_ENTRY_PREFIX = wxS( "Pin " )
 

Function Documentation

◆ activeAssociatedFootprint()

static const ASSOCIATED_FOOTPRINT * activeAssociatedFootprint ( const SCH_SYMBOL * aSymbol)
static
Returns
the associated footprint that the symbol's current footprint resolves to, or the first associated footprint when the symbol's footprint field matches none of them. Returns nullptr when the symbol has no effective associated footprints.

Definition at line 233 of file sch_properties_panel.cpp.

References FOOTPRINT, SCH_SYMBOL::GetField(), SCH_SYMBOL::GetLibSymbolRef(), and LIB_ID::Parse().

Referenced by SCH_SYMBOL_PIN_MAP_FOOTPRINT_PROPERTY::getter(), SCH_SYMBOL_PIN_MAP_NAME_PROPERTY::getter(), SCH_SYMBOL_PIN_MAP_MODE_PROPERTY::setter(), and symbolHasAssociatedFootprint().

◆ symbolHasAssociatedFootprint()

static bool symbolHasAssociatedFootprint ( INSPECTABLE * aObject)
static

Variable Documentation

◆ MISSING_FIELD_SENTINEL

const wxString MISSING_FIELD_SENTINEL = wxS( "\uE000" )
static

◆ PIN_MAP_ENTRY_PREFIX

const wxString PIN_MAP_ENTRY_PREFIX = wxS( "Pin " )
static

Definition at line 501 of file sch_properties_panel.cpp.

Referenced by SCH_PROPERTIES_PANEL::rebuildProperties().

◆ PIN_MAP_FOOTPRINT_PROP

const wxString PIN_MAP_FOOTPRINT_PROP = wxS( "Pin Map Footprint" )
static

◆ PIN_MAP_GROUP

const wxString PIN_MAP_GROUP = _HKI( "Pin Map" )
static

Definition at line 222 of file sch_properties_panel.cpp.

Referenced by SCH_PROPERTIES_PANEL::rebuildProperties().

◆ PIN_MAP_MODE_PROP

const wxString PIN_MAP_MODE_PROP = wxS( "Pin Map Mode" )
static

◆ PIN_MAP_NAME_PROP

const wxString PIN_MAP_NAME_PROP = wxS( "Pin Map Name" )
static

◆ PIN_MAP_TABLE_GROUP

const wxString PIN_MAP_TABLE_GROUP = _HKI( "Effective Pin Map" )
static

Definition at line 496 of file sch_properties_panel.cpp.

Referenced by SCH_PROPERTIES_PANEL::rebuildProperties().