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

#include <panel_board_finish.h>

Inheritance diagram for PANEL_SETUP_BOARD_FINISH:
PANEL_SETUP_BOARD_FINISH_BASE

Classes

struct  VIA_PROTECTION_CONTROL
 A via protection checkbox, the board setting it edits and the preview flag it drives. More...
 

Public Member Functions

 PANEL_SETUP_BOARD_FINISH (wxWindow *aParentWindow, PCB_EDIT_FRAME *aFrame)
 
 ~PANEL_SETUP_BOARD_FINISH ()
 
void ImportSettingsFrom (BOARD *aBoard)
 
void SetStackup (const BOARD_STACKUP &aStackup, int aCopperLayerCount)
 
bool TransferDataFromWindow () override
 
bool TransferDataFromWindow (BOARD_STACKUP &aStackup)
 

Protected Attributes

wxCheckBox * m_cbEgdesPlated
 
wxStaticText * m_staticTextFinish
 
wxChoice * m_choiceFinish
 
wxStaticText * m_staticTextEdgeConn
 
wxChoice * m_choiceEdgeConn
 
wxStaticText * m_viaProtectionHint
 
wxStaticLine * m_staticline1
 
wxStaticText * m_fillViasLabel
 
wxCheckBox * m_fillVias
 
wxStaticText * m_capViasLabel
 
wxCheckBox * m_capVias
 
wxStaticText * m_plugViasLabel
 
wxCheckBox * m_plugViasFront
 
wxCheckBox * m_plugViasBack
 
wxStaticText * m_tentViasLabel
 
wxCheckBox * m_tentViasFront
 
wxCheckBox * m_tentViasBack
 
wxStaticText * m_coverViasLabel
 
wxCheckBox * m_coverViasFront
 
wxCheckBox * m_coverViasBack
 
VIA_CROSS_SECTION_PREVIEW * m_viaPreview
 

Private Member Functions

void synchronizeWithBoard ()
 
void enableViaProtection ()
 Grey out the features that cannot be built with the ones selected.
 
void updateViaPreview ()
 
void onViaProtectionChanged (wxCommandEvent &aEvent)
 

Static Private Member Functions

static const std::vector< VIA_PROTECTION_CONTROL > & viaProtectionControls ()
 

Private Attributes

PCB_EDIT_FRAME * m_frame
 
BOARD * m_board
 
BOARD_DESIGN_SETTINGS * m_brdSettings
 
BOARD_STACKUP m_stackup
 
int m_copperLayerCount
 

Detailed Description

Definition at line 33 of file panel_board_finish.h.

Constructor & Destructor Documentation

◆ PANEL_SETUP_BOARD_FINISH()

◆ ~PANEL_SETUP_BOARD_FINISH()

PANEL_SETUP_BOARD_FINISH::~PANEL_SETUP_BOARD_FINISH ( )

Definition at line 71 of file panel_board_finish.cpp.

Member Function Documentation

◆ enableViaProtection()

◆ ImportSettingsFrom()

void PANEL_SETUP_BOARD_FINISH::ImportSettingsFrom ( BOARD * aBoard)

◆ onViaProtectionChanged()

void PANEL_SETUP_BOARD_FINISH::onViaProtectionChanged ( wxCommandEvent & aEvent)
private

◆ SetStackup()

void PANEL_SETUP_BOARD_FINISH::SetStackup ( const BOARD_STACKUP & aStackup,
int aCopperLayerCount )

Definition at line 165 of file panel_board_finish.cpp.

References m_copperLayerCount, m_stackup, and updateViaPreview().

◆ synchronizeWithBoard()

◆ TransferDataFromWindow() [1/2]

bool PANEL_SETUP_BOARD_FINISH::TransferDataFromWindow ( )
override

◆ TransferDataFromWindow() [2/2]

◆ updateViaPreview()

◆ viaProtectionControls()

Member Data Documentation

◆ m_board

BOARD* PANEL_SETUP_BOARD_FINISH::m_board
private

◆ m_brdSettings

BOARD_DESIGN_SETTINGS* PANEL_SETUP_BOARD_FINISH::m_brdSettings
private

◆ m_capVias

wxCheckBox* PANEL_SETUP_BOARD_FINISH_BASE::m_capVias
protectedinherited

◆ m_capViasLabel

wxStaticText* PANEL_SETUP_BOARD_FINISH_BASE::m_capViasLabel
protectedinherited

Definition at line 46 of file panel_board_finish_base.h.

Referenced by PANEL_SETUP_BOARD_FINISH_BASE().

◆ m_cbEgdesPlated

wxCheckBox* PANEL_SETUP_BOARD_FINISH_BASE::m_cbEgdesPlated
protectedinherited

◆ m_choiceEdgeConn

wxChoice* PANEL_SETUP_BOARD_FINISH_BASE::m_choiceEdgeConn
protectedinherited

◆ m_choiceFinish

◆ m_copperLayerCount

int PANEL_SETUP_BOARD_FINISH::m_copperLayerCount
private

Definition at line 71 of file panel_board_finish.h.

Referenced by PANEL_SETUP_BOARD_FINISH(), SetStackup(), and updateViaPreview().

◆ m_coverViasBack

wxCheckBox* PANEL_SETUP_BOARD_FINISH_BASE::m_coverViasBack
protectedinherited

◆ m_coverViasFront

wxCheckBox* PANEL_SETUP_BOARD_FINISH_BASE::m_coverViasFront
protectedinherited

◆ m_coverViasLabel

wxStaticText* PANEL_SETUP_BOARD_FINISH_BASE::m_coverViasLabel
protectedinherited

Definition at line 54 of file panel_board_finish_base.h.

Referenced by PANEL_SETUP_BOARD_FINISH_BASE().

◆ m_fillVias

wxCheckBox* PANEL_SETUP_BOARD_FINISH_BASE::m_fillVias
protectedinherited

◆ m_fillViasLabel

wxStaticText* PANEL_SETUP_BOARD_FINISH_BASE::m_fillViasLabel
protectedinherited

Definition at line 44 of file panel_board_finish_base.h.

Referenced by PANEL_SETUP_BOARD_FINISH_BASE().

◆ m_frame

PCB_EDIT_FRAME* PANEL_SETUP_BOARD_FINISH::m_frame
private

Definition at line 67 of file panel_board_finish.h.

Referenced by PANEL_SETUP_BOARD_FINISH(), and TransferDataFromWindow().

◆ m_plugViasBack

wxCheckBox* PANEL_SETUP_BOARD_FINISH_BASE::m_plugViasBack
protectedinherited

◆ m_plugViasFront

wxCheckBox* PANEL_SETUP_BOARD_FINISH_BASE::m_plugViasFront
protectedinherited

◆ m_plugViasLabel

wxStaticText* PANEL_SETUP_BOARD_FINISH_BASE::m_plugViasLabel
protectedinherited

Definition at line 48 of file panel_board_finish_base.h.

Referenced by PANEL_SETUP_BOARD_FINISH_BASE().

◆ m_stackup

BOARD_STACKUP PANEL_SETUP_BOARD_FINISH::m_stackup
private

Definition at line 70 of file panel_board_finish.h.

Referenced by PANEL_SETUP_BOARD_FINISH(), SetStackup(), and updateViaPreview().

◆ m_staticline1

wxStaticLine* PANEL_SETUP_BOARD_FINISH_BASE::m_staticline1
protectedinherited

Definition at line 43 of file panel_board_finish_base.h.

Referenced by PANEL_SETUP_BOARD_FINISH_BASE().

◆ m_staticTextEdgeConn

wxStaticText* PANEL_SETUP_BOARD_FINISH_BASE::m_staticTextEdgeConn
protectedinherited

Definition at line 40 of file panel_board_finish_base.h.

Referenced by PANEL_SETUP_BOARD_FINISH_BASE().

◆ m_staticTextFinish

wxStaticText* PANEL_SETUP_BOARD_FINISH_BASE::m_staticTextFinish
protectedinherited

Definition at line 38 of file panel_board_finish_base.h.

Referenced by PANEL_SETUP_BOARD_FINISH_BASE().

◆ m_tentViasBack

wxCheckBox* PANEL_SETUP_BOARD_FINISH_BASE::m_tentViasBack
protectedinherited

◆ m_tentViasFront

wxCheckBox* PANEL_SETUP_BOARD_FINISH_BASE::m_tentViasFront
protectedinherited

◆ m_tentViasLabel

wxStaticText* PANEL_SETUP_BOARD_FINISH_BASE::m_tentViasLabel
protectedinherited

Definition at line 51 of file panel_board_finish_base.h.

Referenced by PANEL_SETUP_BOARD_FINISH_BASE().

◆ m_viaPreview

VIA_CROSS_SECTION_PREVIEW* PANEL_SETUP_BOARD_FINISH_BASE::m_viaPreview
protectedinherited

◆ m_viaProtectionHint

wxStaticText* PANEL_SETUP_BOARD_FINISH_BASE::m_viaProtectionHint
protectedinherited

Definition at line 42 of file panel_board_finish_base.h.

Referenced by PANEL_SETUP_BOARD_FINISH_BASE().


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