KiCad PCB EDA Suite
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
PANEL_COMPONENT_CLASS_CONDITION_SHEET Class Reference

Configures matching based on a custom DRC expression. More...

#include <panel_assign_component_classes.h>

Inheritance diagram for PANEL_COMPONENT_CLASS_CONDITION_SHEET:
PANEL_COMPONENT_CLASS_CONDITION_SHEET_BASE CONDITION_DATA

Public Member Functions

 PANEL_COMPONENT_CLASS_CONDITION_SHEET (wxWindow *aParent)
 
void OnDeleteConditionClick (wxCommandEvent &event) override
 
void SetSheetsList (const std::vector< wxString > &aSheets)
 
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_ASSIGNMENTm_panelParent
 
wxStaticText * m_title
 
wxComboBox * m_sheetName
 
STD_BITMAP_BUTTONm_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.
 

Detailed Description

Configures matching based on a custom DRC expression.

Definition at line 420 of file panel_assign_component_classes.h.

Constructor & Destructor Documentation

◆ PANEL_COMPONENT_CLASS_CONDITION_SHEET()

PANEL_COMPONENT_CLASS_CONDITION_SHEET::PANEL_COMPONENT_CLASS_CONDITION_SHEET ( wxWindow *  aParent)
explicit

Member Function Documentation

◆ GetConditionType()

virtual COMPONENT_CLASS_ASSIGNMENT_DATA::CONDITION_TYPE CONDITION_DATA::GetConditionType ( ) const
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.

◆ GetPrimaryField()

wxString CONDITION_DATA::GetPrimaryField ( ) const
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.

◆ GetSecondaryField()

wxString CONDITION_DATA::GetSecondaryField ( ) const
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.

◆ OnDeleteConditionClick()

void PANEL_COMPONENT_CLASS_CONDITION_SHEET::OnDeleteConditionClick ( wxCommandEvent &  event)
overridevirtual

◆ SetPrimaryField()

void CONDITION_DATA::SetPrimaryField ( const wxString &  aVal)
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().

◆ SetSecondaryField()

void CONDITION_DATA::SetSecondaryField ( const wxString &  aVal)
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().

◆ SetSheetsList()

void PANEL_COMPONENT_CLASS_CONDITION_SHEET::SetSheetsList ( const std::vector< wxString > &  aSheets)

Member Data Documentation

◆ m_buttonDeleteMatch

◆ m_conditionType

COMPONENT_CLASS_ASSIGNMENT_DATA::CONDITION_TYPE CONDITION_DATA::m_conditionType
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().

◆ m_panelParent

PANEL_COMPONENT_CLASS_ASSIGNMENT* PANEL_COMPONENT_CLASS_CONDITION_SHEET::m_panelParent
protected

Definition at line 431 of file panel_assign_component_classes.h.

Referenced by OnDeleteConditionClick().

◆ m_primaryCtrl

wxTextEntry* CONDITION_DATA::m_primaryCtrl
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().

◆ m_secondaryCtrl

wxTextEntry* CONDITION_DATA::m_secondaryCtrl
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().

◆ m_sheetName

wxComboBox* PANEL_COMPONENT_CLASS_CONDITION_SHEET_BASE::m_sheetName
protectedinherited

◆ m_title

wxStaticText* PANEL_COMPONENT_CLASS_CONDITION_SHEET_BASE::m_title
protectedinherited

The documentation for this class was generated from the following files: