KiCad PCB EDA Suite
|
Configures matching based on footprint field contents. More...
#include <panel_assign_component_classes.h>
Public Member Functions | |
PANEL_COMPONENT_CLASS_CONDITION_FIELD (wxWindow *aParent) | |
void | OnDeleteConditionClick (wxCommandEvent &event) override |
void | SetFieldsList (const std::vector< wxString > &aFields) |
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 |
wxStaticText * | m_title |
wxComboBox * | m_fieldName |
wxStaticText * | m_staticText44 |
wxTextCtrl * | m_fieldValue |
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 field contents.
Definition at line 374 of file panel_assign_component_classes.h.
|
explicit |
Definition at line 725 of file panel_assign_component_classes.cpp.
References _, KiBitmapBundle(), PANEL_COMPONENT_CLASS_CONDITION_FIELD_BASE::m_buttonDeleteMatch, PANEL_COMPONENT_CLASS_CONDITION_FIELD_BASE::m_title, and STD_BITMAP_BUTTON::SetBitmap().
|
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 CONDITION_DATA::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, CONDITION_DATA::m_conditionType, and CONDITION_DATA::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, CONDITION_DATA::m_conditionType, and CONDITION_DATA::m_secondaryCtrl.
|
overridevirtual |
Reimplemented from PANEL_COMPONENT_CLASS_CONDITION_FIELD_BASE.
Definition at line 737 of file panel_assign_component_classes.cpp.
References m_panelParent, and PANEL_COMPONENT_CLASS_ASSIGNMENT::RemoveCondition().
void PANEL_COMPONENT_CLASS_CONDITION_FIELD::SetFieldsList | ( | const std::vector< wxString > & | aFields | ) |
Definition at line 743 of file panel_assign_component_classes.cpp.
References PANEL_COMPONENT_CLASS_CONDITION_FIELD_BASE::m_fieldName.
Referenced by PANEL_COMPONENT_CLASS_ASSIGNMENT::AddCondition().
|
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 CONDITION_DATA::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 CONDITION_DATA::m_secondaryCtrl.
Referenced by PANEL_ASSIGN_COMPONENT_CLASSES::TransferDataToWindow().
|
protectedinherited |
Definition at line 208 of file panel_assign_component_classes_base.h.
Referenced by PANEL_COMPONENT_CLASS_CONDITION_FIELD(), PANEL_COMPONENT_CLASS_CONDITION_FIELD_BASE::PANEL_COMPONENT_CLASS_CONDITION_FIELD_BASE(), and PANEL_COMPONENT_CLASS_CONDITION_FIELD_BASE::~PANEL_COMPONENT_CLASS_CONDITION_FIELD_BASE().
|
privateinherited |
The type of condition being referenced.
Definition at line 165 of file panel_assign_component_classes.h.
Referenced by CONDITION_DATA::GetConditionType(), CONDITION_DATA::GetPrimaryField(), and CONDITION_DATA::GetSecondaryField().
|
protectedinherited |
Definition at line 205 of file panel_assign_component_classes_base.h.
Referenced by PANEL_COMPONENT_CLASS_CONDITION_FIELD_BASE::PANEL_COMPONENT_CLASS_CONDITION_FIELD_BASE(), and SetFieldsList().
|
protectedinherited |
Definition at line 207 of file panel_assign_component_classes_base.h.
Referenced by PANEL_COMPONENT_CLASS_CONDITION_FIELD_BASE::PANEL_COMPONENT_CLASS_CONDITION_FIELD_BASE().
|
protected |
Definition at line 385 of file panel_assign_component_classes.h.
Referenced by OnDeleteConditionClick().
|
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 CONDITION_DATA::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 CONDITION_DATA::SetSecondaryField().
|
protectedinherited |
Definition at line 206 of file panel_assign_component_classes_base.h.
Referenced by PANEL_COMPONENT_CLASS_CONDITION_FIELD_BASE::PANEL_COMPONENT_CLASS_CONDITION_FIELD_BASE().
|
protectedinherited |
Definition at line 204 of file panel_assign_component_classes_base.h.
Referenced by PANEL_COMPONENT_CLASS_CONDITION_FIELD(), and PANEL_COMPONENT_CLASS_CONDITION_FIELD_BASE::PANEL_COMPONENT_CLASS_CONDITION_FIELD_BASE().