|
KiCad PCB EDA Suite
|
#include <panel_board_finish.h>
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 |
Definition at line 33 of file panel_board_finish.h.
| PANEL_SETUP_BOARD_FINISH::PANEL_SETUP_BOARD_FINISH | ( | wxWindow * | aParentWindow, |
| PCB_EDIT_FRAME * | aFrame ) |
Definition at line 50 of file panel_board_finish.cpp.
References GetStandardCopperFinishes(), m_board, m_brdSettings, PANEL_SETUP_BOARD_FINISH_BASE::m_choiceFinish, m_copperLayerCount, m_frame, m_stackup, onViaProtectionChanged(), PANEL_SETUP_BOARD_FINISH_BASE::PANEL_SETUP_BOARD_FINISH_BASE(), synchronizeWithBoard(), and viaProtectionControls().
| PANEL_SETUP_BOARD_FINISH::~PANEL_SETUP_BOARD_FINISH | ( | ) |
Definition at line 71 of file panel_board_finish.cpp.
|
private |
Grey out the features that cannot be built with the ones selected.
Definition at line 107 of file panel_board_finish.cpp.
References VIA_PROTECTION_RULES::CapAllowed(), VIA_PROTECTION_RULES::CoverAllowed(), PANEL_SETUP_BOARD_FINISH_BASE::m_capVias, PANEL_SETUP_BOARD_FINISH_BASE::m_coverViasBack, PANEL_SETUP_BOARD_FINISH_BASE::m_coverViasFront, PANEL_SETUP_BOARD_FINISH_BASE::m_fillVias, PANEL_SETUP_BOARD_FINISH_BASE::m_plugViasBack, PANEL_SETUP_BOARD_FINISH_BASE::m_plugViasFront, PANEL_SETUP_BOARD_FINISH_BASE::m_tentViasBack, PANEL_SETUP_BOARD_FINISH_BASE::m_tentViasFront, and VIA_PROTECTION_RULES::PlugAllowed().
Referenced by onViaProtectionChanged(), and synchronizeWithBoard().
| void PANEL_SETUP_BOARD_FINISH::ImportSettingsFrom | ( | BOARD * | aBoard | ) |
Definition at line 216 of file panel_board_finish.cpp.
References BOARD::GetDesignSettings(), m_board, m_brdSettings, synchronizeWithBoard(), and updateViaPreview().
|
private |
Definition at line 140 of file panel_board_finish.cpp.
References enableViaProtection(), updateViaPreview(), and viaProtectionControls().
Referenced by PANEL_SETUP_BOARD_FINISH().
| 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().
|
private |
Definition at line 76 of file panel_board_finish.cpp.
References enableViaProtection(), GetStandardCopperFinishes(), m_brdSettings, PANEL_SETUP_BOARD_FINISH_BASE::m_cbEgdesPlated, PANEL_SETUP_BOARD_FINISH_BASE::m_choiceEdgeConn, PANEL_SETUP_BOARD_FINISH_BASE::m_choiceFinish, BOARD_STACKUP::m_EdgeConnectorConstraints, BOARD_STACKUP::m_EdgePlating, BOARD_STACKUP::m_FinishType, updateViaPreview(), and viaProtectionControls().
Referenced by ImportSettingsFrom(), and PANEL_SETUP_BOARD_FINISH().
|
override |
Definition at line 173 of file panel_board_finish.cpp.
References m_board, m_brdSettings, m_frame, TransferDataFromWindow(), and viaProtectionControls().
Referenced by TransferDataFromWindow().
| bool PANEL_SETUP_BOARD_FINISH::TransferDataFromWindow | ( | BOARD_STACKUP & | aStackup | ) |
Definition at line 198 of file panel_board_finish.cpp.
References GetStandardCopperFinishes(), PANEL_SETUP_BOARD_FINISH_BASE::m_cbEgdesPlated, PANEL_SETUP_BOARD_FINISH_BASE::m_choiceEdgeConn, PANEL_SETUP_BOARD_FINISH_BASE::m_choiceFinish, BOARD_STACKUP::m_EdgeConnectorConstraints, BOARD_STACKUP::m_EdgePlating, and BOARD_STACKUP::m_FinishType.
|
private |
Definition at line 121 of file panel_board_finish.cpp.
References m_brdSettings, m_copperLayerCount, VIA_CROSS_SECTION_GEOMETRY::STATE::m_InnerLayers, VIA_CROSS_SECTION_GEOMETRY::STATE::m_PadRatio, m_stackup, PANEL_SETUP_BOARD_FINISH_BASE::m_viaPreview, VIA_CROSS_SECTION_GEOMETRY::SetLayersFromStackup(), and viaProtectionControls().
Referenced by ImportSettingsFrom(), onViaProtectionChanged(), SetStackup(), and synchronizeWithBoard().
|
staticprivate |
Definition at line 31 of file panel_board_finish.cpp.
References VIA_CROSS_SECTION_GEOMETRY::STATE::m_Capped, BOARD_DESIGN_SETTINGS::m_CapVias, PANEL_SETUP_BOARD_FINISH_BASE::m_capVias, VIA_CROSS_SECTION_GEOMETRY::STATE::m_CoverBack, VIA_CROSS_SECTION_GEOMETRY::STATE::m_CoverFront, BOARD_DESIGN_SETTINGS::m_CoverViasBack, PANEL_SETUP_BOARD_FINISH_BASE::m_coverViasBack, BOARD_DESIGN_SETTINGS::m_CoverViasFront, PANEL_SETUP_BOARD_FINISH_BASE::m_coverViasFront, VIA_CROSS_SECTION_GEOMETRY::STATE::m_Filled, BOARD_DESIGN_SETTINGS::m_FillVias, PANEL_SETUP_BOARD_FINISH_BASE::m_fillVias, VIA_CROSS_SECTION_GEOMETRY::STATE::m_PlugBack, VIA_CROSS_SECTION_GEOMETRY::STATE::m_PlugFront, BOARD_DESIGN_SETTINGS::m_PlugViasBack, PANEL_SETUP_BOARD_FINISH_BASE::m_plugViasBack, BOARD_DESIGN_SETTINGS::m_PlugViasFront, PANEL_SETUP_BOARD_FINISH_BASE::m_plugViasFront, VIA_CROSS_SECTION_GEOMETRY::STATE::m_TentBack, VIA_CROSS_SECTION_GEOMETRY::STATE::m_TentFront, BOARD_DESIGN_SETTINGS::m_TentViasBack, PANEL_SETUP_BOARD_FINISH_BASE::m_tentViasBack, BOARD_DESIGN_SETTINGS::m_TentViasFront, and PANEL_SETUP_BOARD_FINISH_BASE::m_tentViasFront.
Referenced by onViaProtectionChanged(), PANEL_SETUP_BOARD_FINISH(), synchronizeWithBoard(), TransferDataFromWindow(), and updateViaPreview().
|
private |
Definition at line 68 of file panel_board_finish.h.
Referenced by ImportSettingsFrom(), PANEL_SETUP_BOARD_FINISH(), and TransferDataFromWindow().
|
private |
Definition at line 69 of file panel_board_finish.h.
Referenced by ImportSettingsFrom(), PANEL_SETUP_BOARD_FINISH(), synchronizeWithBoard(), TransferDataFromWindow(), and updateViaPreview().
|
protectedinherited |
Definition at line 47 of file panel_board_finish_base.h.
Referenced by PANEL_SETUP_BOARD_FINISH::enableViaProtection(), PANEL_SETUP_BOARD_FINISH_BASE(), and PANEL_SETUP_BOARD_FINISH::viaProtectionControls().
|
protectedinherited |
Definition at line 46 of file panel_board_finish_base.h.
Referenced by PANEL_SETUP_BOARD_FINISH_BASE().
|
protectedinherited |
Definition at line 37 of file panel_board_finish_base.h.
Referenced by PANEL_SETUP_BOARD_FINISH_BASE(), PANEL_SETUP_BOARD_FINISH::synchronizeWithBoard(), and PANEL_SETUP_BOARD_FINISH::TransferDataFromWindow().
|
protectedinherited |
Definition at line 41 of file panel_board_finish_base.h.
Referenced by PANEL_SETUP_BOARD_FINISH_BASE(), PANEL_SETUP_BOARD_FINISH::synchronizeWithBoard(), and PANEL_SETUP_BOARD_FINISH::TransferDataFromWindow().
|
protectedinherited |
Definition at line 39 of file panel_board_finish_base.h.
Referenced by PANEL_SETUP_BOARD_FINISH::PANEL_SETUP_BOARD_FINISH(), PANEL_SETUP_BOARD_FINISH_BASE(), PANEL_SETUP_BOARD_FINISH::synchronizeWithBoard(), and PANEL_SETUP_BOARD_FINISH::TransferDataFromWindow().
|
private |
Definition at line 71 of file panel_board_finish.h.
Referenced by PANEL_SETUP_BOARD_FINISH(), SetStackup(), and updateViaPreview().
|
protectedinherited |
Definition at line 56 of file panel_board_finish_base.h.
Referenced by PANEL_SETUP_BOARD_FINISH::enableViaProtection(), PANEL_SETUP_BOARD_FINISH_BASE(), and PANEL_SETUP_BOARD_FINISH::viaProtectionControls().
|
protectedinherited |
Definition at line 55 of file panel_board_finish_base.h.
Referenced by PANEL_SETUP_BOARD_FINISH::enableViaProtection(), PANEL_SETUP_BOARD_FINISH_BASE(), and PANEL_SETUP_BOARD_FINISH::viaProtectionControls().
|
protectedinherited |
Definition at line 54 of file panel_board_finish_base.h.
Referenced by PANEL_SETUP_BOARD_FINISH_BASE().
|
protectedinherited |
Definition at line 45 of file panel_board_finish_base.h.
Referenced by PANEL_SETUP_BOARD_FINISH::enableViaProtection(), PANEL_SETUP_BOARD_FINISH_BASE(), and PANEL_SETUP_BOARD_FINISH::viaProtectionControls().
|
protectedinherited |
Definition at line 44 of file panel_board_finish_base.h.
Referenced by PANEL_SETUP_BOARD_FINISH_BASE().
|
private |
Definition at line 67 of file panel_board_finish.h.
Referenced by PANEL_SETUP_BOARD_FINISH(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 50 of file panel_board_finish_base.h.
Referenced by PANEL_SETUP_BOARD_FINISH::enableViaProtection(), PANEL_SETUP_BOARD_FINISH_BASE(), and PANEL_SETUP_BOARD_FINISH::viaProtectionControls().
|
protectedinherited |
Definition at line 49 of file panel_board_finish_base.h.
Referenced by PANEL_SETUP_BOARD_FINISH::enableViaProtection(), PANEL_SETUP_BOARD_FINISH_BASE(), and PANEL_SETUP_BOARD_FINISH::viaProtectionControls().
|
protectedinherited |
Definition at line 48 of file panel_board_finish_base.h.
Referenced by PANEL_SETUP_BOARD_FINISH_BASE().
|
private |
Definition at line 70 of file panel_board_finish.h.
Referenced by PANEL_SETUP_BOARD_FINISH(), SetStackup(), and updateViaPreview().
|
protectedinherited |
Definition at line 43 of file panel_board_finish_base.h.
Referenced by PANEL_SETUP_BOARD_FINISH_BASE().
|
protectedinherited |
Definition at line 40 of file panel_board_finish_base.h.
Referenced by PANEL_SETUP_BOARD_FINISH_BASE().
|
protectedinherited |
Definition at line 38 of file panel_board_finish_base.h.
Referenced by PANEL_SETUP_BOARD_FINISH_BASE().
|
protectedinherited |
Definition at line 53 of file panel_board_finish_base.h.
Referenced by PANEL_SETUP_BOARD_FINISH::enableViaProtection(), PANEL_SETUP_BOARD_FINISH_BASE(), and PANEL_SETUP_BOARD_FINISH::viaProtectionControls().
|
protectedinherited |
Definition at line 52 of file panel_board_finish_base.h.
Referenced by PANEL_SETUP_BOARD_FINISH::enableViaProtection(), PANEL_SETUP_BOARD_FINISH_BASE(), and PANEL_SETUP_BOARD_FINISH::viaProtectionControls().
|
protectedinherited |
Definition at line 51 of file panel_board_finish_base.h.
Referenced by PANEL_SETUP_BOARD_FINISH_BASE().
|
protectedinherited |
Definition at line 57 of file panel_board_finish_base.h.
Referenced by PANEL_SETUP_BOARD_FINISH_BASE(), and PANEL_SETUP_BOARD_FINISH::updateViaPreview().
|
protectedinherited |
Definition at line 42 of file panel_board_finish_base.h.
Referenced by PANEL_SETUP_BOARD_FINISH_BASE().