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

#include <panel_setup_teardrops.h>

Inheritance diagram for PANEL_SETUP_TEARDROPS:
PANEL_SETUP_TEARDROPS_BASE

Public Member Functions

 PANEL_SETUP_TEARDROPS (wxWindow *aParentWindow, PCB_EDIT_FRAME *aFrame)
 
bool TransferDataToWindow () override
 
bool TransferDataFromWindow () override
 
void ImportSettingsFrom (BOARD *aBoard)
 

Protected Attributes

wxBoxSizer * m_gridSizer
 
wxStaticText * m_roundShapesLabel
 
wxStaticLine * m_staticline1
 
wxStaticBitmap * m_bitmapTeardrop
 
wxStaticText * m_edgesLabel
 
wxRadioButton * m_rbStraightLines
 
wxRadioButton * m_rbCurved
 
wxStaticText * m_stLenPercentLabel
 
wxSpinCtrlDouble * m_spLenPercent
 
wxStaticText * m_stMaxLen
 
wxTextCtrl * m_tcTdMaxLen
 
wxStaticText * m_stMaxLenUnits
 
wxStaticText * m_stWidthLabel
 
wxSpinCtrlDouble * m_spWidthPercent
 
wxStaticText * m_stMaxWidthLabel
 
wxTextCtrl * m_tcMaxWidth
 
wxStaticText * m_stMaxWidthUnits
 
wxStaticText * m_curvePointsLabel
 
wxSpinCtrl * m_curvePointsCtrl
 
wxCheckBox * m_cbPreferZoneConnection
 
wxStaticText * m_stHDRatio
 
wxSpinCtrlDouble * m_spTeardropHDPercent
 
wxCheckBox * m_cbTeardropsUseNextTrack
 
wxStaticText * m_rectShapesLabel
 
wxStaticLine * m_staticline2
 
wxStaticBitmap * m_bitmapTeardrop1
 
wxStaticText * m_edgesLabel1
 
wxRadioButton * m_rbStraightLines1
 
wxRadioButton * m_rbCurved1
 
wxStaticText * m_stLenPercent1Label
 
wxSpinCtrlDouble * m_spLenPercent1
 
wxStaticText * m_stMaxLen1
 
wxTextCtrl * m_tcTdMaxLen1
 
wxStaticText * m_stMaxLen1Units
 
wxStaticText * m_stWidth1Label
 
wxSpinCtrlDouble * m_spWidthPercent1
 
wxStaticText * m_stMaxWidth1Label
 
wxTextCtrl * m_tcMaxWidth1
 
wxStaticText * m_stMaxWidth1Units
 
wxStaticText * m_curvePoints1Label
 
wxSpinCtrl * m_curvePointsCtrl1
 
wxCheckBox * m_cbPreferZoneConnection1
 
wxStaticText * m_stHDRatio1
 
wxSpinCtrlDouble * m_spTeardropHDPercent1
 
wxCheckBox * m_cbTeardropsUseNextTrack1
 
wxStaticText * m_tracksLabel
 
wxStaticLine * m_staticline3
 
wxStaticBitmap * m_bitmapTeardrop2
 
wxStaticText * m_edgesLabel2
 
wxRadioButton * m_rbStraightLines2
 
wxRadioButton * m_rbCurved2
 
wxStaticText * m_stLenPercent2Label
 
wxSpinCtrlDouble * m_spLenPercent2
 
wxStaticText * m_stMaxLen2
 
wxTextCtrl * m_tcTdMaxLen2
 
wxStaticText * m_stMaxLen2Units
 
wxStaticText * m_stWidth2Label
 
wxSpinCtrlDouble * m_spWidthPercent2
 
wxStaticText * m_stMaxWidth2Label
 
wxTextCtrl * m_tcMaxWidth2
 
wxStaticText * m_stMaxWidth2Units
 
wxStaticText * m_curvePoints2Label
 
wxSpinCtrl * m_curvePointsCtrl2
 
wxStaticText * m_stHDRatio2
 
wxSpinCtrlDouble * m_spTeardropHDPercent2
 
wxCheckBox * m_cbTeardropsUseNextTrack2
 

Private Attributes

BOARD_DESIGN_SETTINGSm_BrdSettings
 
UNIT_BINDER m_teardropMaxLenRound
 
UNIT_BINDER m_teardropMaxWidthRound
 
UNIT_BINDER m_teardropMaxLenRect
 
UNIT_BINDER m_teardropMaxWidthRect
 
UNIT_BINDER m_teardropMaxLenT2T
 
UNIT_BINDER m_teardropMaxWidthT2T
 

Detailed Description

Definition at line 31 of file panel_setup_teardrops.h.

Constructor & Destructor Documentation

◆ PANEL_SETUP_TEARDROPS()

PANEL_SETUP_TEARDROPS::PANEL_SETUP_TEARDROPS ( wxWindow *  aParentWindow,
PCB_EDIT_FRAME aFrame 
)

Member Function Documentation

◆ ImportSettingsFrom()

void PANEL_SETUP_TEARDROPS::ImportSettingsFrom ( BOARD aBoard)

◆ TransferDataFromWindow()

bool PANEL_SETUP_TEARDROPS::TransferDataFromWindow ( )
override

Definition at line 116 of file panel_setup_teardrops.cpp.

References UNIT_BINDER::GetIntValue(), TEARDROP_PARAMETERS_LIST::GetParameters(), BOARD_DESIGN_SETTINGS::GetTeadropParamsList(), TEARDROP_PARAMETERS::m_AllowUseTwoTracks, TEARDROP_PARAMETERS::m_BestLengthRatio, TEARDROP_PARAMETERS::m_BestWidthRatio, m_BrdSettings, PANEL_SETUP_TEARDROPS_BASE::m_cbPreferZoneConnection, PANEL_SETUP_TEARDROPS_BASE::m_cbPreferZoneConnection1, PANEL_SETUP_TEARDROPS_BASE::m_cbTeardropsUseNextTrack, PANEL_SETUP_TEARDROPS_BASE::m_cbTeardropsUseNextTrack1, PANEL_SETUP_TEARDROPS_BASE::m_cbTeardropsUseNextTrack2, PANEL_SETUP_TEARDROPS_BASE::m_curvePointsCtrl, PANEL_SETUP_TEARDROPS_BASE::m_curvePointsCtrl1, PANEL_SETUP_TEARDROPS_BASE::m_curvePointsCtrl2, TEARDROP_PARAMETERS::m_CurveSegCount, PANEL_SETUP_TEARDROPS_BASE::m_rbStraightLines, PANEL_SETUP_TEARDROPS_BASE::m_rbStraightLines1, PANEL_SETUP_TEARDROPS_BASE::m_rbStraightLines2, PANEL_SETUP_TEARDROPS_BASE::m_spLenPercent, PANEL_SETUP_TEARDROPS_BASE::m_spLenPercent1, PANEL_SETUP_TEARDROPS_BASE::m_spLenPercent2, PANEL_SETUP_TEARDROPS_BASE::m_spTeardropHDPercent, PANEL_SETUP_TEARDROPS_BASE::m_spTeardropHDPercent1, PANEL_SETUP_TEARDROPS_BASE::m_spTeardropHDPercent2, PANEL_SETUP_TEARDROPS_BASE::m_spWidthPercent, PANEL_SETUP_TEARDROPS_BASE::m_spWidthPercent1, PANEL_SETUP_TEARDROPS_BASE::m_spWidthPercent2, TEARDROP_PARAMETERS::m_TdMaxLen, TEARDROP_PARAMETERS::m_TdMaxWidth, TEARDROP_PARAMETERS::m_TdOnPadsInZones, m_teardropMaxLenRect, m_teardropMaxLenRound, m_teardropMaxLenT2T, m_teardropMaxWidthRect, m_teardropMaxWidthRound, m_teardropMaxWidthT2T, TEARDROP_PARAMETERS::m_WidthtoSizeFilterRatio, TARGET_RECT, TARGET_ROUND, and TARGET_TRACK.

◆ TransferDataToWindow()

bool PANEL_SETUP_TEARDROPS::TransferDataToWindow ( )
override

Definition at line 49 of file panel_setup_teardrops.cpp.

References TEARDROP_PARAMETERS_LIST::GetParameters(), BOARD_DESIGN_SETTINGS::GetTeadropParamsList(), TEARDROP_PARAMETERS::IsCurved(), TEARDROP_PARAMETERS::m_AllowUseTwoTracks, TEARDROP_PARAMETERS::m_BestLengthRatio, TEARDROP_PARAMETERS::m_BestWidthRatio, m_BrdSettings, PANEL_SETUP_TEARDROPS_BASE::m_cbPreferZoneConnection, PANEL_SETUP_TEARDROPS_BASE::m_cbPreferZoneConnection1, PANEL_SETUP_TEARDROPS_BASE::m_cbTeardropsUseNextTrack, PANEL_SETUP_TEARDROPS_BASE::m_cbTeardropsUseNextTrack1, PANEL_SETUP_TEARDROPS_BASE::m_cbTeardropsUseNextTrack2, PANEL_SETUP_TEARDROPS_BASE::m_curvePointsCtrl, PANEL_SETUP_TEARDROPS_BASE::m_curvePointsCtrl1, PANEL_SETUP_TEARDROPS_BASE::m_curvePointsCtrl2, TEARDROP_PARAMETERS::m_CurveSegCount, PANEL_SETUP_TEARDROPS_BASE::m_rbCurved, PANEL_SETUP_TEARDROPS_BASE::m_rbCurved1, PANEL_SETUP_TEARDROPS_BASE::m_rbCurved2, PANEL_SETUP_TEARDROPS_BASE::m_rbStraightLines, PANEL_SETUP_TEARDROPS_BASE::m_rbStraightLines1, PANEL_SETUP_TEARDROPS_BASE::m_rbStraightLines2, PANEL_SETUP_TEARDROPS_BASE::m_spLenPercent, PANEL_SETUP_TEARDROPS_BASE::m_spLenPercent1, PANEL_SETUP_TEARDROPS_BASE::m_spLenPercent2, PANEL_SETUP_TEARDROPS_BASE::m_spTeardropHDPercent, PANEL_SETUP_TEARDROPS_BASE::m_spTeardropHDPercent1, PANEL_SETUP_TEARDROPS_BASE::m_spTeardropHDPercent2, PANEL_SETUP_TEARDROPS_BASE::m_spWidthPercent, PANEL_SETUP_TEARDROPS_BASE::m_spWidthPercent1, PANEL_SETUP_TEARDROPS_BASE::m_spWidthPercent2, TEARDROP_PARAMETERS::m_TdMaxLen, TEARDROP_PARAMETERS::m_TdMaxWidth, TEARDROP_PARAMETERS::m_TdOnPadsInZones, m_teardropMaxLenRect, m_teardropMaxLenRound, m_teardropMaxLenT2T, m_teardropMaxWidthRect, m_teardropMaxWidthRound, m_teardropMaxWidthT2T, TEARDROP_PARAMETERS::m_WidthtoSizeFilterRatio, UNIT_BINDER::SetValue(), TARGET_RECT, TARGET_ROUND, and TARGET_TRACK.

Referenced by ImportSettingsFrom().

Member Data Documentation

◆ m_bitmapTeardrop

wxStaticBitmap* PANEL_SETUP_TEARDROPS_BASE::m_bitmapTeardrop
protectedinherited

◆ m_bitmapTeardrop1

wxStaticBitmap* PANEL_SETUP_TEARDROPS_BASE::m_bitmapTeardrop1
protectedinherited

◆ m_bitmapTeardrop2

wxStaticBitmap* PANEL_SETUP_TEARDROPS_BASE::m_bitmapTeardrop2
protectedinherited

◆ m_BrdSettings

BOARD_DESIGN_SETTINGS* PANEL_SETUP_TEARDROPS::m_BrdSettings
private

◆ m_cbPreferZoneConnection

wxCheckBox* PANEL_SETUP_TEARDROPS_BASE::m_cbPreferZoneConnection
protectedinherited

◆ m_cbPreferZoneConnection1

wxCheckBox* PANEL_SETUP_TEARDROPS_BASE::m_cbPreferZoneConnection1
protectedinherited

◆ m_cbTeardropsUseNextTrack

wxCheckBox* PANEL_SETUP_TEARDROPS_BASE::m_cbTeardropsUseNextTrack
protectedinherited

◆ m_cbTeardropsUseNextTrack1

wxCheckBox* PANEL_SETUP_TEARDROPS_BASE::m_cbTeardropsUseNextTrack1
protectedinherited

◆ m_cbTeardropsUseNextTrack2

wxCheckBox* PANEL_SETUP_TEARDROPS_BASE::m_cbTeardropsUseNextTrack2
protectedinherited

◆ m_curvePoints1Label

wxStaticText* PANEL_SETUP_TEARDROPS_BASE::m_curvePoints1Label
protectedinherited

◆ m_curvePoints2Label

wxStaticText* PANEL_SETUP_TEARDROPS_BASE::m_curvePoints2Label
protectedinherited

◆ m_curvePointsCtrl

wxSpinCtrl* PANEL_SETUP_TEARDROPS_BASE::m_curvePointsCtrl
protectedinherited

◆ m_curvePointsCtrl1

wxSpinCtrl* PANEL_SETUP_TEARDROPS_BASE::m_curvePointsCtrl1
protectedinherited

◆ m_curvePointsCtrl2

wxSpinCtrl* PANEL_SETUP_TEARDROPS_BASE::m_curvePointsCtrl2
protectedinherited

◆ m_curvePointsLabel

wxStaticText* PANEL_SETUP_TEARDROPS_BASE::m_curvePointsLabel
protectedinherited

◆ m_edgesLabel

wxStaticText* PANEL_SETUP_TEARDROPS_BASE::m_edgesLabel
protectedinherited

◆ m_edgesLabel1

wxStaticText* PANEL_SETUP_TEARDROPS_BASE::m_edgesLabel1
protectedinherited

◆ m_edgesLabel2

wxStaticText* PANEL_SETUP_TEARDROPS_BASE::m_edgesLabel2
protectedinherited

◆ m_gridSizer

wxBoxSizer* PANEL_SETUP_TEARDROPS_BASE::m_gridSizer
protectedinherited

◆ m_rbCurved

wxRadioButton* PANEL_SETUP_TEARDROPS_BASE::m_rbCurved
protectedinherited

◆ m_rbCurved1

wxRadioButton* PANEL_SETUP_TEARDROPS_BASE::m_rbCurved1
protectedinherited

◆ m_rbCurved2

wxRadioButton* PANEL_SETUP_TEARDROPS_BASE::m_rbCurved2
protectedinherited

◆ m_rbStraightLines

wxRadioButton* PANEL_SETUP_TEARDROPS_BASE::m_rbStraightLines
protectedinherited

◆ m_rbStraightLines1

wxRadioButton* PANEL_SETUP_TEARDROPS_BASE::m_rbStraightLines1
protectedinherited

◆ m_rbStraightLines2

wxRadioButton* PANEL_SETUP_TEARDROPS_BASE::m_rbStraightLines2
protectedinherited

◆ m_rectShapesLabel

wxStaticText* PANEL_SETUP_TEARDROPS_BASE::m_rectShapesLabel
protectedinherited

◆ m_roundShapesLabel

wxStaticText* PANEL_SETUP_TEARDROPS_BASE::m_roundShapesLabel
protectedinherited

◆ m_spLenPercent

wxSpinCtrlDouble* PANEL_SETUP_TEARDROPS_BASE::m_spLenPercent
protectedinherited

◆ m_spLenPercent1

wxSpinCtrlDouble* PANEL_SETUP_TEARDROPS_BASE::m_spLenPercent1
protectedinherited

◆ m_spLenPercent2

wxSpinCtrlDouble* PANEL_SETUP_TEARDROPS_BASE::m_spLenPercent2
protectedinherited

◆ m_spTeardropHDPercent

wxSpinCtrlDouble* PANEL_SETUP_TEARDROPS_BASE::m_spTeardropHDPercent
protectedinherited

◆ m_spTeardropHDPercent1

wxSpinCtrlDouble* PANEL_SETUP_TEARDROPS_BASE::m_spTeardropHDPercent1
protectedinherited

◆ m_spTeardropHDPercent2

wxSpinCtrlDouble* PANEL_SETUP_TEARDROPS_BASE::m_spTeardropHDPercent2
protectedinherited

◆ m_spWidthPercent

wxSpinCtrlDouble* PANEL_SETUP_TEARDROPS_BASE::m_spWidthPercent
protectedinherited

◆ m_spWidthPercent1

wxSpinCtrlDouble* PANEL_SETUP_TEARDROPS_BASE::m_spWidthPercent1
protectedinherited

◆ m_spWidthPercent2

wxSpinCtrlDouble* PANEL_SETUP_TEARDROPS_BASE::m_spWidthPercent2
protectedinherited

◆ m_staticline1

wxStaticLine* PANEL_SETUP_TEARDROPS_BASE::m_staticline1
protectedinherited

◆ m_staticline2

wxStaticLine* PANEL_SETUP_TEARDROPS_BASE::m_staticline2
protectedinherited

◆ m_staticline3

wxStaticLine* PANEL_SETUP_TEARDROPS_BASE::m_staticline3
protectedinherited

◆ m_stHDRatio

wxStaticText* PANEL_SETUP_TEARDROPS_BASE::m_stHDRatio
protectedinherited

◆ m_stHDRatio1

wxStaticText* PANEL_SETUP_TEARDROPS_BASE::m_stHDRatio1
protectedinherited

◆ m_stHDRatio2

wxStaticText* PANEL_SETUP_TEARDROPS_BASE::m_stHDRatio2
protectedinherited

◆ m_stLenPercent1Label

wxStaticText* PANEL_SETUP_TEARDROPS_BASE::m_stLenPercent1Label
protectedinherited

◆ m_stLenPercent2Label

wxStaticText* PANEL_SETUP_TEARDROPS_BASE::m_stLenPercent2Label
protectedinherited

◆ m_stLenPercentLabel

wxStaticText* PANEL_SETUP_TEARDROPS_BASE::m_stLenPercentLabel
protectedinherited

◆ m_stMaxLen

wxStaticText* PANEL_SETUP_TEARDROPS_BASE::m_stMaxLen
protectedinherited

◆ m_stMaxLen1

wxStaticText* PANEL_SETUP_TEARDROPS_BASE::m_stMaxLen1
protectedinherited

◆ m_stMaxLen1Units

wxStaticText* PANEL_SETUP_TEARDROPS_BASE::m_stMaxLen1Units
protectedinherited

◆ m_stMaxLen2

wxStaticText* PANEL_SETUP_TEARDROPS_BASE::m_stMaxLen2
protectedinherited

◆ m_stMaxLen2Units

wxStaticText* PANEL_SETUP_TEARDROPS_BASE::m_stMaxLen2Units
protectedinherited

◆ m_stMaxLenUnits

wxStaticText* PANEL_SETUP_TEARDROPS_BASE::m_stMaxLenUnits
protectedinherited

◆ m_stMaxWidth1Label

wxStaticText* PANEL_SETUP_TEARDROPS_BASE::m_stMaxWidth1Label
protectedinherited

◆ m_stMaxWidth1Units

wxStaticText* PANEL_SETUP_TEARDROPS_BASE::m_stMaxWidth1Units
protectedinherited

◆ m_stMaxWidth2Label

wxStaticText* PANEL_SETUP_TEARDROPS_BASE::m_stMaxWidth2Label
protectedinherited

◆ m_stMaxWidth2Units

wxStaticText* PANEL_SETUP_TEARDROPS_BASE::m_stMaxWidth2Units
protectedinherited

◆ m_stMaxWidthLabel

wxStaticText* PANEL_SETUP_TEARDROPS_BASE::m_stMaxWidthLabel
protectedinherited

◆ m_stMaxWidthUnits

wxStaticText* PANEL_SETUP_TEARDROPS_BASE::m_stMaxWidthUnits
protectedinherited

◆ m_stWidth1Label

wxStaticText* PANEL_SETUP_TEARDROPS_BASE::m_stWidth1Label
protectedinherited

◆ m_stWidth2Label

wxStaticText* PANEL_SETUP_TEARDROPS_BASE::m_stWidth2Label
protectedinherited

◆ m_stWidthLabel

wxStaticText* PANEL_SETUP_TEARDROPS_BASE::m_stWidthLabel
protectedinherited

◆ m_tcMaxWidth

wxTextCtrl* PANEL_SETUP_TEARDROPS_BASE::m_tcMaxWidth
protectedinherited

◆ m_tcMaxWidth1

wxTextCtrl* PANEL_SETUP_TEARDROPS_BASE::m_tcMaxWidth1
protectedinherited

◆ m_tcMaxWidth2

wxTextCtrl* PANEL_SETUP_TEARDROPS_BASE::m_tcMaxWidth2
protectedinherited

◆ m_tcTdMaxLen

wxTextCtrl* PANEL_SETUP_TEARDROPS_BASE::m_tcTdMaxLen
protectedinherited

◆ m_tcTdMaxLen1

wxTextCtrl* PANEL_SETUP_TEARDROPS_BASE::m_tcTdMaxLen1
protectedinherited

◆ m_tcTdMaxLen2

wxTextCtrl* PANEL_SETUP_TEARDROPS_BASE::m_tcTdMaxLen2
protectedinherited

◆ m_teardropMaxLenRect

UNIT_BINDER PANEL_SETUP_TEARDROPS::m_teardropMaxLenRect
private

Definition at line 46 of file panel_setup_teardrops.h.

Referenced by TransferDataFromWindow(), and TransferDataToWindow().

◆ m_teardropMaxLenRound

UNIT_BINDER PANEL_SETUP_TEARDROPS::m_teardropMaxLenRound
private

Definition at line 44 of file panel_setup_teardrops.h.

Referenced by TransferDataFromWindow(), and TransferDataToWindow().

◆ m_teardropMaxLenT2T

UNIT_BINDER PANEL_SETUP_TEARDROPS::m_teardropMaxLenT2T
private

Definition at line 48 of file panel_setup_teardrops.h.

Referenced by TransferDataFromWindow(), and TransferDataToWindow().

◆ m_teardropMaxWidthRect

UNIT_BINDER PANEL_SETUP_TEARDROPS::m_teardropMaxWidthRect
private

Definition at line 47 of file panel_setup_teardrops.h.

Referenced by TransferDataFromWindow(), and TransferDataToWindow().

◆ m_teardropMaxWidthRound

UNIT_BINDER PANEL_SETUP_TEARDROPS::m_teardropMaxWidthRound
private

Definition at line 45 of file panel_setup_teardrops.h.

Referenced by TransferDataFromWindow(), and TransferDataToWindow().

◆ m_teardropMaxWidthT2T

UNIT_BINDER PANEL_SETUP_TEARDROPS::m_teardropMaxWidthT2T
private

Definition at line 49 of file panel_setup_teardrops.h.

Referenced by TransferDataFromWindow(), and TransferDataToWindow().

◆ m_tracksLabel

wxStaticText* PANEL_SETUP_TEARDROPS_BASE::m_tracksLabel
protectedinherited

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