KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PANEL_SYNC_SHEET_PINS Class Reference

#include <panel_sync_sheet_pins.h>

Inheritance diagram for PANEL_SYNC_SHEET_PINS:
PANEL_SYNC_SHEET_PINS_BASE

Public Types

enum class  SYNC_DIRECTION { USE_LABEL_AS_TEMPLATE , USE_PIN_AS_TEMPLATE }
 

Public Member Functions

 PANEL_SYNC_SHEET_PINS (wxWindow *aParent, SCH_SHEET *aSheet, wxNotebook *aNoteBook, int aIndex, SHEET_SYNCHRONIZATION_AGENT &aAgent, const SCH_SHEET_PATH &aPath)
 
 ~PANEL_SYNC_SHEET_PINS () override
 
bool HasUndefinedSheetPing () const
 
void UpdateForms ()
 
SHEET_SYNCHRONIZATION_MODEL_PTR GetModel (int aKind) const
 
const wxString & GetSheetFileName () const
 
SCH_SHEET_PATH const & GetSheetPath () const
 

Protected Member Functions

void OnViewSheetPinCellClicked (wxDataViewEvent &event) override
 
void OnBtnAddSheetPinsClicked (wxCommandEvent &event) override
 
void OnBtnRmPinsClicked (wxCommandEvent &event) override
 
void OnBtnUsePinAsTemplateClicked (wxCommandEvent &event) override
 
void OnBtnUseLabelAsTemplateClicked (wxCommandEvent &event) override
 
void OnBtnUndoClicked (wxCommandEvent &event) override
 
void OnViewSheetLabelCellClicked (wxDataViewEvent &event) override
 
void OnBtnAddLabelsClicked (wxCommandEvent &event) override
 
void OnBtnRmLabelsClicked (wxCommandEvent &event) override
 
void OnViewMatchedCellClicked (wxDataViewEvent &event) override
 
void PostProcessModelSelection (int aIdex, wxDataViewItem const &aItem)
 
void GenericSync (SYNC_DIRECTION direction)
 
void UpdatePageImage () const
 

Protected Attributes

wxPanel * m_panel11
 
wxStaticText * m_labelSymName
 
wxDataViewCtrl * m_viewSheetPins
 
wxButton * m_btnAddLabels
 
wxButton * m_btnRmPins
 
wxPanel * m_panel1
 
wxStaticText * m_labelSheetName
 
wxDataViewCtrl * m_viewSheetLabels
 
wxButton * m_btnAddSheetPins
 
wxButton * m_btnRmLabels
 
wxPanel * m_panel3
 
wxPanel * m_panel8
 
wxBitmapButton * m_btnUseLabelAsTemplate
 
wxBitmapButton * m_btnUsePinAsTemplate
 
wxBitmapButton * m_btnUndo
 
wxPanel * m_panel4
 
wxDataViewCtrl * m_viewAssociated
 

Private Attributes

SCH_SHEETm_sheet
 
wxNotebook * m_noteBook
 
int m_index
 
wxString m_sheetFileName
 
SYNC_SHEET_PINT_MODELS m_models
 
SHEET_SYNCHRONIZATION_AGENTm_agent
 
SCH_SHEET_PATH m_path
 

Detailed Description

Definition at line 45 of file panel_sync_sheet_pins.h.

Member Enumeration Documentation

◆ SYNC_DIRECTION

Enumerator
USE_LABEL_AS_TEMPLATE 
USE_PIN_AS_TEMPLATE 

Definition at line 48 of file panel_sync_sheet_pins.h.

Constructor & Destructor Documentation

◆ PANEL_SYNC_SHEET_PINS()

◆ ~PANEL_SYNC_SHEET_PINS()

PANEL_SYNC_SHEET_PINS::~PANEL_SYNC_SHEET_PINS ( )
override

Definition at line 164 of file panel_sync_sheet_pins.cpp.

Member Function Documentation

◆ GenericSync()

◆ GetModel()

SHEET_SYNCHRONIZATION_MODEL_PTR PANEL_SYNC_SHEET_PINS::GetModel ( int  aKind) const

Definition at line 152 of file panel_sync_sheet_pins.cpp.

References m_models.

◆ GetSheetFileName()

const wxString & PANEL_SYNC_SHEET_PINS::GetSheetFileName ( ) const

Definition at line 158 of file panel_sync_sheet_pins.cpp.

References m_sheetFileName.

◆ GetSheetPath()

SCH_SHEET_PATH const & PANEL_SYNC_SHEET_PINS::GetSheetPath ( ) const
inline

Definition at line 68 of file panel_sync_sheet_pins.h.

References m_path.

◆ HasUndefinedSheetPing()

bool PANEL_SYNC_SHEET_PINS::HasUndefinedSheetPing ( ) const

◆ OnBtnAddLabelsClicked()

void PANEL_SYNC_SHEET_PINS::OnBtnAddLabelsClicked ( wxCommandEvent &  event)
overrideprotectedvirtual

◆ OnBtnAddSheetPinsClicked()

void PANEL_SYNC_SHEET_PINS::OnBtnAddSheetPinsClicked ( wxCommandEvent &  event)
overrideprotectedvirtual

◆ OnBtnRmLabelsClicked()

void PANEL_SYNC_SHEET_PINS::OnBtnRmLabelsClicked ( wxCommandEvent &  event)
overrideprotectedvirtual

◆ OnBtnRmPinsClicked()

void PANEL_SYNC_SHEET_PINS::OnBtnRmPinsClicked ( wxCommandEvent &  event)
overrideprotectedvirtual

◆ OnBtnUndoClicked()

◆ OnBtnUseLabelAsTemplateClicked()

void PANEL_SYNC_SHEET_PINS::OnBtnUseLabelAsTemplateClicked ( wxCommandEvent &  event)
overrideprotectedvirtual

Reimplemented from PANEL_SYNC_SHEET_PINS_BASE.

Definition at line 292 of file panel_sync_sheet_pins.cpp.

References GenericSync(), and USE_LABEL_AS_TEMPLATE.

◆ OnBtnUsePinAsTemplateClicked()

void PANEL_SYNC_SHEET_PINS::OnBtnUsePinAsTemplateClicked ( wxCommandEvent &  event)
overrideprotectedvirtual

Reimplemented from PANEL_SYNC_SHEET_PINS_BASE.

Definition at line 285 of file panel_sync_sheet_pins.cpp.

References GenericSync(), and USE_PIN_AS_TEMPLATE.

◆ OnViewMatchedCellClicked()

void PANEL_SYNC_SHEET_PINS::OnViewMatchedCellClicked ( wxDataViewEvent &  event)
overrideprotectedvirtual

◆ OnViewSheetLabelCellClicked()

void PANEL_SYNC_SHEET_PINS::OnViewSheetLabelCellClicked ( wxDataViewEvent &  event)
overrideprotectedvirtual

◆ OnViewSheetPinCellClicked()

void PANEL_SYNC_SHEET_PINS::OnViewSheetPinCellClicked ( wxDataViewEvent &  event)
overrideprotectedvirtual

◆ PostProcessModelSelection()

◆ UpdateForms()

◆ UpdatePageImage()

Member Data Documentation

◆ m_agent

SHEET_SYNCHRONIZATION_AGENT& PANEL_SYNC_SHEET_PINS::m_agent
private

◆ m_btnAddLabels

wxButton* PANEL_SYNC_SHEET_PINS_BASE::m_btnAddLabels
protectedinherited

◆ m_btnAddSheetPins

wxButton* PANEL_SYNC_SHEET_PINS_BASE::m_btnAddSheetPins
protectedinherited

◆ m_btnRmLabels

wxButton* PANEL_SYNC_SHEET_PINS_BASE::m_btnRmLabels
protectedinherited

◆ m_btnRmPins

wxButton* PANEL_SYNC_SHEET_PINS_BASE::m_btnRmPins
protectedinherited

◆ m_btnUndo

wxBitmapButton* PANEL_SYNC_SHEET_PINS_BASE::m_btnUndo
protectedinherited

◆ m_btnUseLabelAsTemplate

wxBitmapButton* PANEL_SYNC_SHEET_PINS_BASE::m_btnUseLabelAsTemplate
protectedinherited

◆ m_btnUsePinAsTemplate

wxBitmapButton* PANEL_SYNC_SHEET_PINS_BASE::m_btnUsePinAsTemplate
protectedinherited

◆ m_index

int PANEL_SYNC_SHEET_PINS::m_index
private

Definition at line 101 of file panel_sync_sheet_pins.h.

Referenced by UpdatePageImage().

◆ m_labelSheetName

wxStaticText* PANEL_SYNC_SHEET_PINS_BASE::m_labelSheetName
protectedinherited

◆ m_labelSymName

wxStaticText* PANEL_SYNC_SHEET_PINS_BASE::m_labelSymName
protectedinherited

◆ m_models

◆ m_noteBook

wxNotebook* PANEL_SYNC_SHEET_PINS::m_noteBook
private

Definition at line 100 of file panel_sync_sheet_pins.h.

Referenced by UpdatePageImage().

◆ m_panel1

wxPanel* PANEL_SYNC_SHEET_PINS_BASE::m_panel1
protectedinherited

◆ m_panel11

wxPanel* PANEL_SYNC_SHEET_PINS_BASE::m_panel11
protectedinherited

◆ m_panel3

wxPanel* PANEL_SYNC_SHEET_PINS_BASE::m_panel3
protectedinherited

◆ m_panel4

wxPanel* PANEL_SYNC_SHEET_PINS_BASE::m_panel4
protectedinherited

◆ m_panel8

wxPanel* PANEL_SYNC_SHEET_PINS_BASE::m_panel8
protectedinherited

◆ m_path

SCH_SHEET_PATH PANEL_SYNC_SHEET_PINS::m_path
private

◆ m_sheet

SCH_SHEET* PANEL_SYNC_SHEET_PINS::m_sheet
private

◆ m_sheetFileName

wxString PANEL_SYNC_SHEET_PINS::m_sheetFileName
private

Definition at line 102 of file panel_sync_sheet_pins.h.

Referenced by GetSheetFileName().

◆ m_viewAssociated

wxDataViewCtrl* PANEL_SYNC_SHEET_PINS_BASE::m_viewAssociated
protectedinherited

◆ m_viewSheetLabels

wxDataViewCtrl* PANEL_SYNC_SHEET_PINS_BASE::m_viewSheetLabels
protectedinherited

◆ m_viewSheetPins

wxDataViewCtrl* PANEL_SYNC_SHEET_PINS_BASE::m_viewSheetPins
protectedinherited

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