35 m_traceWidth( aParent, m_traceWidthLabel, m_traceWidthText, m_traceWidthUnit ),
36 m_traceGap( aParent, m_traceGapLabel, m_traceGapText, m_traceGapUnit ),
37 m_viaGap( aParent, m_viaGapLabel, m_viaGapText, m_viaGapUnit ),
43 GetSizer()->SetSizeHints(
this );
50 if( !wxDialog::TransferDataFromWindow() )
74 if( !wxDialog::TransferDataToWindow() )
Class DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE.
wxStaticText * m_viaGapUnit
wxTextCtrl * m_traceGapText
wxTextCtrl * m_viaGapText
wxStaticText * m_viaGapLabel
wxCheckBox * m_viaTraceGapEqual
DIALOG_PNS_DIFF_PAIR_DIMENSIONS(EDA_DRAW_FRAME *aParent, PNS::SIZES_SETTINGS &aSizes)
Push and Shove diff pair dimensions (gap) settings dialog.
PNS::SIZES_SETTINGS & m_sizes
bool TransferDataToWindow() override
virtual void OnViaTraceGapEqualCheck(wxCommandEvent &event) override
bool TransferDataFromWindow() override
void SetupStandardButtons(std::map< int, wxString > aLabels={})
The base class for create windows for drawing purpose.
void SetDiffPairViaGapSameAsTraceGap(bool aEnable)
int DiffPairWidth() const
bool DiffPairViaGapSameAsTraceGap() const
void SetDiffPairWidth(int aWidth)
void SetDiffPairWidthSource(const wxString &aSource)
void SetDiffPairGapSource(const wxString &aSource)
void SetDiffPairGap(int aGap)
void SetDiffPairViaGap(int aGap)
int DiffPairViaGap() const
virtual long long int GetValue()
Return the current value in Internal Units.
virtual void SetValue(long long int aValue)
Set new value (in Internal Units) for the text field, taking care of units conversion.
void DisplayErrorMessage(wxWindow *aParent, const wxString &aText, const wxString &aExtraInfo)
Display an error message with aMessage.
This file is part of the common library.