12DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE::DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE( wxWindow* parent, wxWindowID
id,
const wxString& title,
const wxPoint& pos,
const wxSize& size,
long style ) :
DIALOG_SHIM( parent, id, title, pos, size, style )
14 this->SetSizeHints( wxSize( -1,-1 ), wxDefaultSize );
17 bSizer7 =
new wxBoxSizer( wxVERTICAL );
19 wxFlexGridSizer* fgSizer1;
20 fgSizer1 =
new wxFlexGridSizer( 0, 3, 5, 0 );
21 fgSizer1->AddGrowableCol( 1 );
22 fgSizer1->SetFlexibleDirection( wxBOTH );
23 fgSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
25 m_traceWidthLabel =
new wxStaticText(
this, wxID_ANY,
_(
"Width:"), wxDefaultPosition, wxDefaultSize, 0 );
29 m_traceWidthText =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
30 fgSizer1->Add(
m_traceWidthText, 0, wxEXPAND|wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL, 5 );
32 m_traceWidthUnit =
new wxStaticText(
this, wxID_ANY,
_(
"u"), wxDefaultPosition, wxDefaultSize, 0 );
36 m_traceGapLabel =
new wxStaticText(
this, wxID_ANY,
_(
"Track gap:"), wxDefaultPosition, wxDefaultSize, 0 );
38 fgSizer1->Add(
m_traceGapLabel, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
40 m_traceGapText =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
41 fgSizer1->Add(
m_traceGapText, 0, wxEXPAND|wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL, 5 );
43 m_traceGapUnit =
new wxStaticText(
this, wxID_ANY,
_(
"u"), wxDefaultPosition, wxDefaultSize, 0 );
45 fgSizer1->Add(
m_traceGapUnit, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
47 m_viaGapLabel =
new wxStaticText(
this, wxID_ANY,
_(
"Via gap:"), wxDefaultPosition, wxDefaultSize, 0 );
51 fgSizer1->Add(
m_viaGapLabel, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 1 );
53 m_viaGapText =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
56 fgSizer1->Add(
m_viaGapText, 0, wxEXPAND|wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL, 5 );
58 m_viaGapUnit =
new wxStaticText(
this, wxID_ANY,
_(
"u"), wxDefaultPosition, wxDefaultSize, 0 );
62 fgSizer1->Add(
m_viaGapUnit, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
65 bSizer7->Add( fgSizer1, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 10 );
67 m_viaTraceGapEqual =
new wxCheckBox(
this, wxID_ANY,
_(
"Via gap same as trace gap"), wxDefaultPosition, wxDefaultSize, 0 );
78 bSizer7->Add(
m_stdButtons, 0, wxBOTTOM|wxEXPAND|wxTOP, 5 );
81 this->SetSizer( bSizer7 );
wxStaticText * m_traceGapLabel
wxButton * m_stdButtonsCancel
wxStaticText * m_viaGapUnit
wxStdDialogButtonSizer * m_stdButtons
wxTextCtrl * m_traceGapText
wxTextCtrl * m_viaGapText
wxTextCtrl * m_traceWidthText
virtual void OnViaTraceGapEqualCheck(wxCommandEvent &event)
wxButton * m_stdButtonsOK
~DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE()
wxStaticText * m_viaGapLabel
DIALOG_PNS_DIFF_PAIR_DIMENSIONS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Differential Pair Dimensions"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
wxStaticText * m_traceGapUnit
wxStaticText * m_traceWidthUnit
wxStaticText * m_traceWidthLabel
wxCheckBox * m_viaTraceGapEqual
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...