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 _, KiBitmapBundle(), PANEL_COMPONENT_CLASS_CONDITION_REFERENCE_BASE::m_buttonDeleteMatch, PANEL_COMPONENT_CLASS_CONDITION_REFERENCE_BASE::m_buttonImportRefs, PANEL_COMPONENT_CLASS_CONDITION_REFERENCE_BASE::m_title, onMenu(), 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_REFERENCE_BASE.
Definition at line 605 of file panel_assign_component_classes.cpp.
References m_panelParent, onMenu(), and PANEL_COMPONENT_CLASS_ASSIGNMENT::RemoveCondition().
|
overridevirtual |
Reimplemented from PANEL_COMPONENT_CLASS_CONDITION_REFERENCE_BASE.
Definition at line 615 of file panel_assign_component_classes.cpp.
References _, ID_IMPORT_REFS, and m_selectionRefs.
|
protected |
Handles import references popup menu selections.
Definition at line 624 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 |
|
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().
|
inline |
Definition at line 284 of file panel_assign_component_classes.h.
References m_selectionRefs.
Referenced by PANEL_COMPONENT_CLASS_ASSIGNMENT::AddCondition().
|
protectedinherited |
Definition at line 105 of file panel_assign_component_classes_base.h.
Referenced by PANEL_COMPONENT_CLASS_CONDITION_REFERENCE(), PANEL_COMPONENT_CLASS_CONDITION_REFERENCE_BASE::PANEL_COMPONENT_CLASS_CONDITION_REFERENCE_BASE(), and PANEL_COMPONENT_CLASS_CONDITION_REFERENCE_BASE::~PANEL_COMPONENT_CLASS_CONDITION_REFERENCE_BASE().
|
protectedinherited |
Definition at line 104 of file panel_assign_component_classes_base.h.
Referenced by PANEL_COMPONENT_CLASS_CONDITION_REFERENCE(), PANEL_COMPONENT_CLASS_CONDITION_REFERENCE_BASE::PANEL_COMPONENT_CLASS_CONDITION_REFERENCE_BASE(), and PANEL_COMPONENT_CLASS_CONDITION_REFERENCE_BASE::~PANEL_COMPONENT_CLASS_CONDITION_REFERENCE_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().
|
protected |
Definition at line 290 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().
|
protectedinherited |
|
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().
|
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(), and PANEL_COMPONENT_CLASS_CONDITION_REFERENCE_BASE::PANEL_COMPONENT_CLASS_CONDITION_REFERENCE_BASE().