| 
    KiCad PCB EDA Suite
    
   | 
 
Configures matching based on footprint reference. More...
#include <panel_assign_component_classes.h>
  
Public Types | |
| enum | IMPORT_POPUP_IDS { ID_IMPORT_REFS = wxID_HIGHEST + 1 } | 
| IDs for match type popup menu.  More... | |
Public Member Functions | |
| PANEL_COMPONENT_CLASS_CONDITION_REFERENCE (wxWindow *aParent) | |
| void | OnDeleteConditionClick (wxCommandEvent &event) override | 
| void | OnImportRefsClick (wxCommandEvent &event) override | 
| void | SetSelectionRefs (const std::vector< wxString > &aRefs) | 
| virtual COMPONENT_CLASS_ASSIGNMENT_DATA::CONDITION_TYPE | GetConditionType () const | 
| Gets the type of condition (e.g. Reference, Side) this data represents.   | |
| virtual wxString | GetPrimaryField () const | 
| Gets the primary data member for the condition (e.g. Reference, Side)   | |
| virtual void | SetPrimaryField (const wxString &aVal) | 
| Sets the primary data member for the condition (e.g. Reference, Side)   | |
| virtual wxString | GetSecondaryField () const | 
| Gets the primary data member for the condition (e.g. FOOTPRITNT field value)   | |
| virtual void | SetSecondaryField (const wxString &aVal) | 
| Sets the primary data member for the condition (e.g.   | |
Protected Member Functions | |
| void | onMenu (wxCommandEvent &aEvent) | 
| Handles import references popup menu selections.   | |
| virtual void | OnReferenceRightDown (wxMouseEvent &event) | 
Protected Attributes | |
| PANEL_COMPONENT_CLASS_ASSIGNMENT * | m_panelParent | 
| std::vector< wxString > | m_selectionRefs | 
| wxStaticText * | m_title | 
| wxTextCtrl * | m_refs | 
| STD_BITMAP_BUTTON * | m_buttonImportRefs | 
| STD_BITMAP_BUTTON * | m_buttonDeleteMatch | 
Private Attributes | |
| COMPONENT_CLASS_ASSIGNMENT_DATA::CONDITION_TYPE | m_conditionType | 
| The type of condition being referenced.   | |
| wxTextEntry * | m_primaryCtrl | 
| The primary data field in the condition panel.   | |
| wxTextEntry * | m_secondaryCtrl | 
| The Secondary data field in the condition panel.   | |
Configures matching based on footprint reference.
Definition at line 268 of file panel_assign_component_classes.h.
IDs for match type popup menu.
| Enumerator | |
|---|---|
| ID_IMPORT_REFS | |
Definition at line 274 of file panel_assign_component_classes.h.
      
  | 
  explicit | 
Definition at line 589 of file panel_assign_component_classes.cpp.
References _, CONDITION_DATA::CONDITION_DATA(), config, KiBitmapBundle(), PANEL_COMPONENT_CLASS_CONDITION_REFERENCE_BASE::m_buttonDeleteMatch, PANEL_COMPONENT_CLASS_CONDITION_REFERENCE_BASE::m_buttonImportRefs, m_panelParent, PANEL_COMPONENT_CLASS_CONDITION_REFERENCE_BASE::m_refs, PANEL_COMPONENT_CLASS_CONDITION_REFERENCE_BASE::m_title, onMenu(), PANEL_COMPONENT_CLASS_CONDITION_REFERENCE_BASE::PANEL_COMPONENT_CLASS_CONDITION_REFERENCE_BASE(), REFERENCE, and small_trash.
      
  | 
  inlinevirtualinherited | 
Gets the type of condition (e.g. Reference, Side) this data represents.
Definition at line 145 of file panel_assign_component_classes.h.
References m_conditionType.
      
  | 
  virtualinherited | 
Gets the primary data member for the condition (e.g. Reference, Side)
Definition at line 272 of file panel_assign_component_classes.cpp.
References COMPONENT_CLASS_ASSIGNMENT_DATA::CUSTOM, m_conditionType, and m_primaryCtrl.
      
  | 
  virtualinherited | 
Gets the primary data member for the condition (e.g. FOOTPRITNT field value)
Definition at line 294 of file panel_assign_component_classes.cpp.
References COMPONENT_CLASS_ASSIGNMENT_DATA::CUSTOM, m_conditionType, and m_secondaryCtrl.
      
  | 
  overridevirtual | 
Reimplemented from PANEL_COMPONENT_CLASS_CONDITION_REFERENCE_BASE.
Definition at line 605 of file panel_assign_component_classes.cpp.
References m_panelParent, and onMenu().
      
  | 
  overridevirtual | 
Reimplemented from PANEL_COMPONENT_CLASS_CONDITION_REFERENCE_BASE.
Definition at line 614 of file panel_assign_component_classes.cpp.
References _, ID_IMPORT_REFS, and m_selectionRefs.
      
  | 
  protected | 
Handles import references popup menu selections.
Definition at line 623 of file panel_assign_component_classes.cpp.
References ID_IMPORT_REFS, PANEL_COMPONENT_CLASS_CONDITION_REFERENCE_BASE::m_refs, and m_selectionRefs.
Referenced by OnDeleteConditionClick(), and PANEL_COMPONENT_CLASS_CONDITION_REFERENCE().
      
  | 
  inlineprotectedvirtualinherited | 
Definition at line 108 of file panel_assign_component_classes_base.h.
Referenced by PANEL_COMPONENT_CLASS_CONDITION_REFERENCE_BASE(), and ~PANEL_COMPONENT_CLASS_CONDITION_REFERENCE_BASE().
      
  | 
  virtualinherited | 
Sets the primary data member for the condition (e.g. Reference, Side)
Definition at line 288 of file panel_assign_component_classes.cpp.
References m_primaryCtrl.
Referenced by PANEL_ASSIGN_COMPONENT_CLASSES::TransferDataToWindow().
      
  | 
  virtualinherited | 
Sets the primary data member for the condition (e.g.
FOOTPRITNT field value)
Definition at line 313 of file panel_assign_component_classes.cpp.
References m_secondaryCtrl.
Referenced by PANEL_ASSIGN_COMPONENT_CLASSES::TransferDataToWindow().
      
  | 
  inline | 
Definition at line 284 of file panel_assign_component_classes.h.
References m_selectionRefs.
Referenced by PANEL_COMPONENT_CLASS_ASSIGNMENT::AddCondition().
      
  | 
  protectedinherited | 
      
  | 
  protectedinherited | 
      
  | 
  privateinherited | 
The type of condition being referenced.
Definition at line 165 of file panel_assign_component_classes.h.
Referenced by CONDITION_DATA(), GetConditionType(), GetPrimaryField(), and GetSecondaryField().
      
  | 
  protected | 
Definition at line 290 of file panel_assign_component_classes.h.
Referenced by OnDeleteConditionClick(), and PANEL_COMPONENT_CLASS_CONDITION_REFERENCE().
      
  | 
  privateinherited | 
The primary data field in the condition panel.
Definition at line 168 of file panel_assign_component_classes.h.
Referenced by CONDITION_DATA(), GetPrimaryField(), and SetPrimaryField().
      
  | 
  protectedinherited | 
Definition at line 103 of file panel_assign_component_classes_base.h.
Referenced by PANEL_COMPONENT_CLASS_CONDITION_REFERENCE::onMenu(), PANEL_COMPONENT_CLASS_CONDITION_REFERENCE::PANEL_COMPONENT_CLASS_CONDITION_REFERENCE(), PANEL_COMPONENT_CLASS_CONDITION_REFERENCE_BASE(), and ~PANEL_COMPONENT_CLASS_CONDITION_REFERENCE_BASE().
      
  | 
  privateinherited | 
The Secondary data field in the condition panel.
Definition at line 171 of file panel_assign_component_classes.h.
Referenced by CONDITION_DATA(), GetSecondaryField(), and SetSecondaryField().
      
  | 
  protected | 
Definition at line 291 of file panel_assign_component_classes.h.
Referenced by OnImportRefsClick(), onMenu(), and SetSelectionRefs().
      
  | 
  protectedinherited | 
Definition at line 102 of file panel_assign_component_classes_base.h.
Referenced by PANEL_COMPONENT_CLASS_CONDITION_REFERENCE::PANEL_COMPONENT_CLASS_CONDITION_REFERENCE(), and PANEL_COMPONENT_CLASS_CONDITION_REFERENCE_BASE().