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

#include <panel_setup_mask_and_paste.h>

Inheritance diagram for PANEL_SETUP_MASK_AND_PASTE:
PANEL_SETUP_MASK_AND_PASTE_BASE

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
 

Detailed Description

Definition at line 33 of file panel_setup_mask_and_paste.h.

Constructor & Destructor Documentation

◆ PANEL_SETUP_MASK_AND_PASTE()

PANEL_SETUP_MASK_AND_PASTE::PANEL_SETUP_MASK_AND_PASTE ( wxWindow * aParentWindow,
PCB_EDIT_FRAME * aFrame,
BOARD_DESIGN_SETTINGS & aSettings )

◆ ~PANEL_SETUP_MASK_AND_PASTE()

PANEL_SETUP_MASK_AND_PASTE::~PANEL_SETUP_MASK_AND_PASTE ( )
inline

Definition at line 41 of file panel_setup_mask_and_paste.h.

Member Function Documentation

◆ CopySettings()

◆ RefreshDefaults()

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().

◆ TransferDataFromWindow()

◆ TransferDataToWindow()

bool PANEL_SETUP_MASK_AND_PASTE::TransferDataToWindow ( )
override

Member Data Documentation

◆ m_allowBridges

wxCheckBox* PANEL_SETUP_MASK_AND_PASTE_BASE::m_allowBridges
protectedinherited

◆ m_bitmapWarning

wxStaticBitmap* PANEL_SETUP_MASK_AND_PASTE_BASE::m_bitmapWarning
protectedinherited

Definition at line 40 of file panel_setup_mask_and_paste_base.h.

Referenced by PANEL_SETUP_MASK_AND_PASTE_BASE().

◆ m_BrdSettings

BOARD_DESIGN_SETTINGS* PANEL_SETUP_MASK_AND_PASTE::m_BrdSettings
private

◆ m_Frame

PCB_EDIT_FRAME* PANEL_SETUP_MASK_AND_PASTE::m_Frame
private

Definition at line 56 of file panel_setup_mask_and_paste.h.

Referenced by PANEL_SETUP_MASK_AND_PASTE().

◆ m_maskExpansion

UNIT_BINDER PANEL_SETUP_MASK_AND_PASTE::m_maskExpansion
private

◆ m_maskExpansionLoaded

int PANEL_SETUP_MASK_AND_PASTE::m_maskExpansionLoaded = 0
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().

◆ m_maskExpansionPage

wxString PANEL_SETUP_MASK_AND_PASTE::m_maskExpansionPage
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().

◆ m_maskMarginCtrl

wxTextCtrl* PANEL_SETUP_MASK_AND_PASTE_BASE::m_maskMarginCtrl
protectedinherited

◆ m_maskMarginLabel

wxStaticText* PANEL_SETUP_MASK_AND_PASTE_BASE::m_maskMarginLabel
protectedinherited

◆ m_maskMarginUnits

wxStaticText* PANEL_SETUP_MASK_AND_PASTE_BASE::m_maskMarginUnits
protectedinherited

◆ m_maskMinWidth

UNIT_BINDER PANEL_SETUP_MASK_AND_PASTE::m_maskMinWidth
private

◆ m_maskMinWidthCtrl

wxTextCtrl* PANEL_SETUP_MASK_AND_PASTE_BASE::m_maskMinWidthCtrl
protectedinherited

◆ m_maskMinWidthLabel

wxStaticText* PANEL_SETUP_MASK_AND_PASTE_BASE::m_maskMinWidthLabel
protectedinherited

◆ m_maskMinWidthLoaded

int PANEL_SETUP_MASK_AND_PASTE::m_maskMinWidthLoaded = 0
private

Definition at line 72 of file panel_setup_mask_and_paste.h.

Referenced by RefreshDefaults(), and TransferDataFromWindow().

◆ m_maskMinWidthPage

wxString PANEL_SETUP_MASK_AND_PASTE::m_maskMinWidthPage
private

Definition at line 66 of file panel_setup_mask_and_paste.h.

Referenced by PANEL_SETUP_MASK_AND_PASTE().

◆ m_maskMinWidthUnits

wxStaticText* PANEL_SETUP_MASK_AND_PASTE_BASE::m_maskMinWidthUnits
protectedinherited

◆ m_maskToCopperClearance

UNIT_BINDER PANEL_SETUP_MASK_AND_PASTE::m_maskToCopperClearance
private

◆ m_maskToCopperClearanceCtrl

wxTextCtrl* PANEL_SETUP_MASK_AND_PASTE_BASE::m_maskToCopperClearanceCtrl
protectedinherited

◆ m_maskToCopperClearanceLabel

wxStaticText* PANEL_SETUP_MASK_AND_PASTE_BASE::m_maskToCopperClearanceLabel
protectedinherited

◆ m_maskToCopperClearanceUnits

wxStaticText* PANEL_SETUP_MASK_AND_PASTE_BASE::m_maskToCopperClearanceUnits
protectedinherited

◆ m_pasteMargin

MARGIN_OFFSET_BINDER PANEL_SETUP_MASK_AND_PASTE::m_pasteMargin
private

◆ m_pasteMarginCtrl

wxTextCtrl* PANEL_SETUP_MASK_AND_PASTE_BASE::m_pasteMarginCtrl
protectedinherited

◆ m_pasteMarginLabel

wxStaticText* PANEL_SETUP_MASK_AND_PASTE_BASE::m_pasteMarginLabel
protectedinherited

◆ m_pasteMarginLoaded

int PANEL_SETUP_MASK_AND_PASTE::m_pasteMarginLoaded = 0
private

Definition at line 73 of file panel_setup_mask_and_paste.h.

Referenced by RefreshDefaults(), and TransferDataFromWindow().

◆ m_pasteMarginPage

wxString PANEL_SETUP_MASK_AND_PASTE::m_pasteMarginPage
private

Definition at line 67 of file panel_setup_mask_and_paste.h.

Referenced by PANEL_SETUP_MASK_AND_PASTE().

◆ m_pasteMarginRatioCtrl

wxTextCtrl* PANEL_SETUP_MASK_AND_PASTE_BASE::m_pasteMarginRatioCtrl
protectedinherited

◆ m_pasteMarginRatioLabel

wxStaticText* PANEL_SETUP_MASK_AND_PASTE_BASE::m_pasteMarginRatioLabel
protectedinherited

◆ m_pasteMarginRatioUnits

wxStaticText* PANEL_SETUP_MASK_AND_PASTE_BASE::m_pasteMarginRatioUnits
protectedinherited

◆ m_pasteMarginUnits

wxStaticText* PANEL_SETUP_MASK_AND_PASTE_BASE::m_pasteMarginUnits
protectedinherited

◆ m_staticline1

wxStaticLine* PANEL_SETUP_MASK_AND_PASTE_BASE::m_staticline1
protectedinherited

Definition at line 44 of file panel_setup_mask_and_paste_base.h.

Referenced by PANEL_SETUP_MASK_AND_PASTE_BASE().

◆ m_staticline2

wxStaticLine* PANEL_SETUP_MASK_AND_PASTE_BASE::m_staticline2
protectedinherited

Definition at line 56 of file panel_setup_mask_and_paste_base.h.

Referenced by PANEL_SETUP_MASK_AND_PASTE_BASE().

◆ m_staticTextInfoMaskMinWidth

wxStaticText* PANEL_SETUP_MASK_AND_PASTE_BASE::m_staticTextInfoMaskMinWidth
protectedinherited

Definition at line 41 of file panel_setup_mask_and_paste_base.h.

Referenced by PANEL_SETUP_MASK_AND_PASTE_BASE().

◆ m_staticTextInfoMaskMinWidth1

wxStaticText* PANEL_SETUP_MASK_AND_PASTE_BASE::m_staticTextInfoMaskMinWidth1
protectedinherited

Definition at line 42 of file panel_setup_mask_and_paste_base.h.

Referenced by PANEL_SETUP_MASK_AND_PASTE_BASE().

◆ m_staticTextInfoPaste

wxStaticText* PANEL_SETUP_MASK_AND_PASTE_BASE::m_staticTextInfoPaste
protectedinherited

◆ m_stSolderMaskSettings

wxStaticText* PANEL_SETUP_MASK_AND_PASTE_BASE::m_stSolderMaskSettings
protectedinherited

Definition at line 43 of file panel_setup_mask_and_paste_base.h.

Referenced by PANEL_SETUP_MASK_AND_PASTE_BASE().

◆ m_stSolderPasteSettings

wxStaticText* PANEL_SETUP_MASK_AND_PASTE_BASE::m_stSolderPasteSettings
protectedinherited

Definition at line 55 of file panel_setup_mask_and_paste_base.h.

Referenced by PANEL_SETUP_MASK_AND_PASTE_BASE().


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