KiCad PCB EDA Suite
|
Configures matching based on footprint library identifier. More...
#include <panel_assign_component_classes.h>
Public Member Functions | |
PANEL_COMPONENT_CLASS_CONDITION_FOOTPRINT (wxWindow *aParent, DIALOG_SHIM *aDlg) | |
void | OnDeleteConditionClick (wxCommandEvent &event) override |
void | OnShowLibraryClick (wxCommandEvent &event) override |
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 Attributes | |
PANEL_COMPONENT_CLASS_ASSIGNMENT * | m_panelParent |
DIALOG_SHIM * | m_dlg |
wxStaticText * | m_title |
wxTextCtrl * | m_footprint |
STD_BITMAP_BUTTON * | m_buttonShowLibrary |
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 library identifier.
Definition at line 304 of file panel_assign_component_classes.h.
|
explicit |
Definition at line 643 of file panel_assign_component_classes.cpp.
References _, CONDITION_DATA::CONDITION_DATA(), KiBitmapBundle(), PANEL_COMPONENT_CLASS_CONDITION_FOOTPRINT_BASE::m_buttonDeleteMatch, PANEL_COMPONENT_CLASS_CONDITION_FOOTPRINT_BASE::m_buttonShowLibrary, m_dlg, PANEL_COMPONENT_CLASS_CONDITION_FOOTPRINT_BASE::m_footprint, m_panelParent, PANEL_COMPONENT_CLASS_CONDITION_FOOTPRINT_BASE::m_title, PANEL_COMPONENT_CLASS_CONDITION_FOOTPRINT_BASE::PANEL_COMPONENT_CLASS_CONDITION_FOOTPRINT_BASE(), small_library, 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_FOOTPRINT_BASE.
Definition at line 656 of file panel_assign_component_classes.cpp.
References m_panelParent.
|
overridevirtual |
Reimplemented from PANEL_COMPONENT_CLASS_CONDITION_FOOTPRINT_BASE.
Definition at line 662 of file panel_assign_component_classes.cpp.
References FRAME_FOOTPRINT_CHOOSER, m_dlg, and PANEL_COMPONENT_CLASS_CONDITION_FOOTPRINT_BASE::m_footprint.
|
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().
|
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 316 of file panel_assign_component_classes.h.
Referenced by OnShowLibraryClick(), and PANEL_COMPONENT_CLASS_CONDITION_FOOTPRINT().
|
protectedinherited |
|
protected |
Definition at line 315 of file panel_assign_component_classes.h.
Referenced by OnDeleteConditionClick(), and PANEL_COMPONENT_CLASS_CONDITION_FOOTPRINT().
|
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().
|
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().
|
protectedinherited |
Definition at line 178 of file panel_assign_component_classes_base.h.
Referenced by PANEL_COMPONENT_CLASS_CONDITION_FOOTPRINT::PANEL_COMPONENT_CLASS_CONDITION_FOOTPRINT(), and PANEL_COMPONENT_CLASS_CONDITION_FOOTPRINT_BASE().