|
KiCad PCB EDA Suite
|
#include <panel_setup_mask_and_paste.h>
Public Member Functions | |
| PANEL_SETUP_MASK_AND_PASTE (wxWindow *aParentWindow, PCB_EDIT_FRAME *aFrame, BOARD_DESIGN_SETTINGS &aSettings) | |
| ~PANEL_SETUP_MASK_AND_PASTE () | |
| bool | TransferDataToWindow () override |
| bool | TransferDataFromWindow () override |
| void | RefreshDefaults () |
| Reads the values a rule page sets back into their fields. | |
Static Public Member Functions | |
| static void | CopySettings (const BOARD_DESIGN_SETTINGS &aFrom, BOARD_DESIGN_SETTINGS &aTo) |
| Copies every value this page edits, which is what the Solder Mask/Paste import group carries. | |
Protected Attributes | |
| wxStaticBitmap * | m_bitmapWarning |
| wxStaticText * | m_staticTextInfoMaskMinWidth |
| wxStaticText * | m_staticTextInfoMaskMinWidth1 |
| wxStaticText * | m_stSolderMaskSettings |
| wxStaticLine * | m_staticline1 |
| wxStaticText * | m_maskMarginLabel |
| wxTextCtrl * | m_maskMarginCtrl |
| wxStaticText * | m_maskMarginUnits |
| wxStaticText * | m_maskMinWidthLabel |
| wxTextCtrl * | m_maskMinWidthCtrl |
| wxStaticText * | m_maskMinWidthUnits |
| wxStaticText * | m_maskToCopperClearanceLabel |
| wxTextCtrl * | m_maskToCopperClearanceCtrl |
| wxStaticText * | m_maskToCopperClearanceUnits |
| wxCheckBox * | m_allowBridges |
| wxStaticText * | m_stSolderPasteSettings |
| wxStaticLine * | m_staticline2 |
| wxStaticText * | m_pasteMarginLabel |
| wxTextCtrl * | m_pasteMarginCtrl |
| wxStaticText * | m_pasteMarginUnits |
| wxStaticText * | m_pasteMarginRatioLabel |
| wxTextCtrl * | m_pasteMarginRatioCtrl |
| wxStaticText * | m_pasteMarginRatioUnits |
| wxStaticText * | m_staticTextInfoPaste |
Private Attributes | |
| PCB_EDIT_FRAME * | m_Frame |
| BOARD_DESIGN_SETTINGS * | m_BrdSettings |
| UNIT_BINDER | m_maskExpansion |
| UNIT_BINDER | m_maskMinWidth |
| UNIT_BINDER | m_maskToCopperClearance |
| MARGIN_OFFSET_BINDER | m_pasteMargin |
| wxString | m_maskExpansionPage |
| The rule pages that also hold these values, where they do. | |
| wxString | m_maskMinWidthPage |
| wxString | m_pasteMarginPage |
| int | m_maskExpansionLoaded = 0 |
| The values as this page last read them, so an untouched field does not write back over an edit made on the page that also holds it. | |
| int | m_maskMinWidthLoaded = 0 |
| int | m_pasteMarginLoaded = 0 |
Definition at line 33 of file panel_setup_mask_and_paste.h.
| PANEL_SETUP_MASK_AND_PASTE::PANEL_SETUP_MASK_AND_PASTE | ( | wxWindow * | aParentWindow, |
| PCB_EDIT_FRAME * | aFrame, | ||
| BOARD_DESIGN_SETTINGS & | aSettings ) |
| aSettings | is where this page reads and writes its values. Board Setup passes a copy that reaches the board only when the dialog is accepted. |
Definition at line 28 of file panel_setup_mask_and_paste.cpp.
References _, KIUI::GetInfoFont(), PANEL_SETUP_CONSTRAINT_RULES::LinkToPage(), m_BrdSettings, m_Frame, m_maskExpansion, m_maskExpansionPage, PANEL_SETUP_MASK_AND_PASTE_BASE::m_maskMarginCtrl, PANEL_SETUP_MASK_AND_PASTE_BASE::m_maskMarginLabel, PANEL_SETUP_MASK_AND_PASTE_BASE::m_maskMarginUnits, m_maskMinWidth, PANEL_SETUP_MASK_AND_PASTE_BASE::m_maskMinWidthCtrl, PANEL_SETUP_MASK_AND_PASTE_BASE::m_maskMinWidthLabel, m_maskMinWidthPage, PANEL_SETUP_MASK_AND_PASTE_BASE::m_maskMinWidthUnits, m_maskToCopperClearance, PANEL_SETUP_MASK_AND_PASTE_BASE::m_maskToCopperClearanceCtrl, PANEL_SETUP_MASK_AND_PASTE_BASE::m_maskToCopperClearanceLabel, PANEL_SETUP_MASK_AND_PASTE_BASE::m_maskToCopperClearanceUnits, m_pasteMargin, PANEL_SETUP_MASK_AND_PASTE_BASE::m_pasteMarginCtrl, PANEL_SETUP_MASK_AND_PASTE_BASE::m_pasteMarginLabel, m_pasteMarginPage, PANEL_SETUP_MASK_AND_PASTE_BASE::m_pasteMarginRatioCtrl, PANEL_SETUP_MASK_AND_PASTE_BASE::m_pasteMarginRatioLabel, PANEL_SETUP_MASK_AND_PASTE_BASE::m_pasteMarginRatioUnits, PANEL_SETUP_MASK_AND_PASTE_BASE::m_pasteMarginUnits, PANEL_SETUP_MASK_AND_PASTE_BASE::m_staticTextInfoPaste, PANEL_SETUP_CONSTRAINT_RULES::PageEditingDefault(), and PANEL_SETUP_MASK_AND_PASTE_BASE::PANEL_SETUP_MASK_AND_PASTE_BASE().
|
inline |
Definition at line 41 of file panel_setup_mask_and_paste.h.
|
static |
Copies every value this page edits, which is what the Solder Mask/Paste import group carries.
Definition at line 136 of file panel_setup_mask_and_paste.cpp.
References BOARD_DESIGN_SETTINGS::m_AllowSoldermaskBridgesInFPs, BOARD_DESIGN_SETTINGS::m_SolderMaskExpansion, BOARD_DESIGN_SETTINGS::m_SolderMaskMinWidth, BOARD_DESIGN_SETTINGS::m_SolderMaskToCopperClearance, BOARD_DESIGN_SETTINGS::m_SolderPasteMargin, and BOARD_DESIGN_SETTINGS::m_SolderPasteMarginRatio.
Referenced by BOOST_AUTO_TEST_CASE(), DIALOG_BOARD_SETUP::onAuxiliaryAction(), and DIALOG_BOARD_SETUP::TransferDataFromWindow().
| void PANEL_SETUP_MASK_AND_PASTE::RefreshDefaults | ( | ) |
Reads the values a rule page sets back into their fields.
This page only shows those, so it has to be told when the page that sets one has written it.
Definition at line 123 of file panel_setup_mask_and_paste.cpp.
References m_BrdSettings, m_maskExpansion, m_maskExpansionLoaded, m_maskMinWidth, m_maskMinWidthLoaded, m_pasteMargin, and m_pasteMarginLoaded.
Referenced by TransferDataToWindow().
|
override |
Definition at line 89 of file panel_setup_mask_and_paste.cpp.
References PANEL_SETUP_MASK_AND_PASTE_BASE::m_allowBridges, m_BrdSettings, m_maskExpansion, m_maskExpansionLoaded, m_maskMinWidth, m_maskMinWidthLoaded, m_maskToCopperClearance, m_pasteMargin, and m_pasteMarginLoaded.
|
override |
Definition at line 75 of file panel_setup_mask_and_paste.cpp.
References PANEL_SETUP_MASK_AND_PASTE_BASE::m_allowBridges, m_BrdSettings, m_maskToCopperClearance, m_pasteMargin, and RefreshDefaults().
|
protectedinherited |
Definition at line 54 of file panel_setup_mask_and_paste_base.h.
Referenced by PANEL_SETUP_MASK_AND_PASTE_BASE(), PANEL_SETUP_MASK_AND_PASTE::TransferDataFromWindow(), and PANEL_SETUP_MASK_AND_PASTE::TransferDataToWindow().
|
protectedinherited |
Definition at line 40 of file panel_setup_mask_and_paste_base.h.
Referenced by PANEL_SETUP_MASK_AND_PASTE_BASE().
|
private |
Definition at line 57 of file panel_setup_mask_and_paste.h.
Referenced by PANEL_SETUP_MASK_AND_PASTE(), RefreshDefaults(), TransferDataFromWindow(), and TransferDataToWindow().
|
private |
Definition at line 56 of file panel_setup_mask_and_paste.h.
Referenced by PANEL_SETUP_MASK_AND_PASTE().
|
private |
Definition at line 59 of file panel_setup_mask_and_paste.h.
Referenced by PANEL_SETUP_MASK_AND_PASTE(), RefreshDefaults(), and TransferDataFromWindow().
|
private |
The values as this page last read them, so an untouched field does not write back over an edit made on the page that also holds it.
Definition at line 71 of file panel_setup_mask_and_paste.h.
Referenced by RefreshDefaults(), and TransferDataFromWindow().
|
private |
The rule pages that also hold these values, where they do.
Definition at line 65 of file panel_setup_mask_and_paste.h.
Referenced by PANEL_SETUP_MASK_AND_PASTE().
|
protectedinherited |
Definition at line 46 of file panel_setup_mask_and_paste_base.h.
Referenced by PANEL_SETUP_MASK_AND_PASTE::PANEL_SETUP_MASK_AND_PASTE(), and PANEL_SETUP_MASK_AND_PASTE_BASE().
|
protectedinherited |
Definition at line 45 of file panel_setup_mask_and_paste_base.h.
Referenced by PANEL_SETUP_MASK_AND_PASTE::PANEL_SETUP_MASK_AND_PASTE(), and PANEL_SETUP_MASK_AND_PASTE_BASE().
|
protectedinherited |
Definition at line 47 of file panel_setup_mask_and_paste_base.h.
Referenced by PANEL_SETUP_MASK_AND_PASTE::PANEL_SETUP_MASK_AND_PASTE(), and PANEL_SETUP_MASK_AND_PASTE_BASE().
|
private |
Definition at line 60 of file panel_setup_mask_and_paste.h.
Referenced by PANEL_SETUP_MASK_AND_PASTE(), RefreshDefaults(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 49 of file panel_setup_mask_and_paste_base.h.
Referenced by PANEL_SETUP_MASK_AND_PASTE::PANEL_SETUP_MASK_AND_PASTE(), and PANEL_SETUP_MASK_AND_PASTE_BASE().
|
protectedinherited |
Definition at line 48 of file panel_setup_mask_and_paste_base.h.
Referenced by PANEL_SETUP_MASK_AND_PASTE::PANEL_SETUP_MASK_AND_PASTE(), and PANEL_SETUP_MASK_AND_PASTE_BASE().
|
private |
Definition at line 72 of file panel_setup_mask_and_paste.h.
Referenced by RefreshDefaults(), and TransferDataFromWindow().
|
private |
Definition at line 66 of file panel_setup_mask_and_paste.h.
Referenced by PANEL_SETUP_MASK_AND_PASTE().
|
protectedinherited |
Definition at line 50 of file panel_setup_mask_and_paste_base.h.
Referenced by PANEL_SETUP_MASK_AND_PASTE::PANEL_SETUP_MASK_AND_PASTE(), and PANEL_SETUP_MASK_AND_PASTE_BASE().
|
private |
Definition at line 61 of file panel_setup_mask_and_paste.h.
Referenced by PANEL_SETUP_MASK_AND_PASTE(), TransferDataFromWindow(), and TransferDataToWindow().
|
protectedinherited |
Definition at line 52 of file panel_setup_mask_and_paste_base.h.
Referenced by PANEL_SETUP_MASK_AND_PASTE::PANEL_SETUP_MASK_AND_PASTE(), and PANEL_SETUP_MASK_AND_PASTE_BASE().
|
protectedinherited |
Definition at line 51 of file panel_setup_mask_and_paste_base.h.
Referenced by PANEL_SETUP_MASK_AND_PASTE::PANEL_SETUP_MASK_AND_PASTE(), and PANEL_SETUP_MASK_AND_PASTE_BASE().
|
protectedinherited |
Definition at line 53 of file panel_setup_mask_and_paste_base.h.
Referenced by PANEL_SETUP_MASK_AND_PASTE::PANEL_SETUP_MASK_AND_PASTE(), and PANEL_SETUP_MASK_AND_PASTE_BASE().
|
private |
Definition at line 62 of file panel_setup_mask_and_paste.h.
Referenced by PANEL_SETUP_MASK_AND_PASTE(), RefreshDefaults(), TransferDataFromWindow(), and TransferDataToWindow().
|
protectedinherited |
Definition at line 58 of file panel_setup_mask_and_paste_base.h.
Referenced by PANEL_SETUP_MASK_AND_PASTE::PANEL_SETUP_MASK_AND_PASTE(), and PANEL_SETUP_MASK_AND_PASTE_BASE().
|
protectedinherited |
Definition at line 57 of file panel_setup_mask_and_paste_base.h.
Referenced by PANEL_SETUP_MASK_AND_PASTE::PANEL_SETUP_MASK_AND_PASTE(), and PANEL_SETUP_MASK_AND_PASTE_BASE().
|
private |
Definition at line 73 of file panel_setup_mask_and_paste.h.
Referenced by RefreshDefaults(), and TransferDataFromWindow().
|
private |
Definition at line 67 of file panel_setup_mask_and_paste.h.
Referenced by PANEL_SETUP_MASK_AND_PASTE().
|
protectedinherited |
Definition at line 61 of file panel_setup_mask_and_paste_base.h.
Referenced by PANEL_SETUP_MASK_AND_PASTE::PANEL_SETUP_MASK_AND_PASTE(), and PANEL_SETUP_MASK_AND_PASTE_BASE().
|
protectedinherited |
Definition at line 60 of file panel_setup_mask_and_paste_base.h.
Referenced by PANEL_SETUP_MASK_AND_PASTE::PANEL_SETUP_MASK_AND_PASTE(), and PANEL_SETUP_MASK_AND_PASTE_BASE().
|
protectedinherited |
Definition at line 62 of file panel_setup_mask_and_paste_base.h.
Referenced by PANEL_SETUP_MASK_AND_PASTE::PANEL_SETUP_MASK_AND_PASTE(), and PANEL_SETUP_MASK_AND_PASTE_BASE().
|
protectedinherited |
Definition at line 59 of file panel_setup_mask_and_paste_base.h.
Referenced by PANEL_SETUP_MASK_AND_PASTE::PANEL_SETUP_MASK_AND_PASTE(), and PANEL_SETUP_MASK_AND_PASTE_BASE().
|
protectedinherited |
Definition at line 44 of file panel_setup_mask_and_paste_base.h.
Referenced by PANEL_SETUP_MASK_AND_PASTE_BASE().
|
protectedinherited |
Definition at line 56 of file panel_setup_mask_and_paste_base.h.
Referenced by PANEL_SETUP_MASK_AND_PASTE_BASE().
|
protectedinherited |
Definition at line 41 of file panel_setup_mask_and_paste_base.h.
Referenced by PANEL_SETUP_MASK_AND_PASTE_BASE().
|
protectedinherited |
Definition at line 42 of file panel_setup_mask_and_paste_base.h.
Referenced by PANEL_SETUP_MASK_AND_PASTE_BASE().
|
protectedinherited |
Definition at line 63 of file panel_setup_mask_and_paste_base.h.
Referenced by PANEL_SETUP_MASK_AND_PASTE::PANEL_SETUP_MASK_AND_PASTE(), and PANEL_SETUP_MASK_AND_PASTE_BASE().
|
protectedinherited |
Definition at line 43 of file panel_setup_mask_and_paste_base.h.
Referenced by PANEL_SETUP_MASK_AND_PASTE_BASE().
|
protectedinherited |
Definition at line 55 of file panel_setup_mask_and_paste_base.h.
Referenced by PANEL_SETUP_MASK_AND_PASTE_BASE().