15PANEL_SETUP_TUNING_PROFILE_INFO_BASE::PANEL_SETUP_TUNING_PROFILE_INFO_BASE( wxWindow* parent, wxWindowID
id,
const wxPoint& pos,
const wxSize& size,
long style,
const wxString&
name ) : wxPanel( parent, id, pos, size, style,
name )
17 wxFlexGridSizer* fgSizer1;
18 fgSizer1 =
new wxFlexGridSizer( 3, 1, 0, 0 );
19 fgSizer1->AddGrowableCol( 0 );
20 fgSizer1->AddGrowableRow( 2 );
21 fgSizer1->SetFlexibleDirection( wxBOTH );
22 fgSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_ALL );
24 wxFlexGridSizer* fgSizer2;
25 fgSizer2 =
new wxFlexGridSizer( 1, 9, 0, 0 );
26 fgSizer2->AddGrowableCol( 2 );
27 fgSizer2->AddGrowableCol( 5 );
28 fgSizer2->SetFlexibleDirection( wxHORIZONTAL );
29 fgSizer2->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_ALL );
31 m_nameLabel =
new wxStaticText(
this, wxID_ANY,
_(
"Name:"), wxDefaultPosition, wxDefaultSize, 0 );
35 m_name =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
36 fgSizer2->Add(
m_name, 0, wxALL|wxEXPAND, 5 );
39 fgSizer2->Add( 0, 0, 1, wxEXPAND, 5 );
41 m_typeLabel =
new wxStaticText(
this, wxID_ANY,
_(
"Type:"), wxDefaultPosition, wxDefaultSize, 0 );
45 wxString m_typeChoices[] = {
_(
"Single"),
_(
"Differential") };
46 int m_typeNChoices =
sizeof( m_typeChoices ) /
sizeof( wxString );
47 m_type =
new wxChoice(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_typeNChoices, m_typeChoices, 0 );
49 fgSizer2->Add(
m_type, 0, wxALL, 5 );
52 fgSizer2->Add( 0, 0, 1, wxEXPAND, 5 );
54 m_targetImpedanceLabel =
new wxStaticText(
this, wxID_ANY,
_(
"Target Impedance:"), wxDefaultPosition, wxDefaultSize, 0 );
58 m_targetImpedance =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
69 m_ohmsLabel =
new wxStaticText(
this, wxID_ANY,
_(
"ohms"), wxDefaultPosition, wxDefaultSize, 0 );
74 fgSizer1->Add( fgSizer2, 1, wxEXPAND, 5 );
76 wxGridBagSizer* gbSizer1;
77 gbSizer1 =
new wxGridBagSizer( 0, 0 );
78 gbSizer1->SetFlexibleDirection( wxBOTH );
79 gbSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
81 m_enableDrcGeneration =
new wxCheckBox(
this, wxID_ANY,
_(
"Generate Net Class DRC Rules"), wxDefaultPosition, wxDefaultSize, 0 );
85 m_enableDelayTuning =
new wxCheckBox(
this, wxID_ANY,
_(
"Enable Time Domain Tuning"), wxDefaultPosition, wxDefaultSize, 0 );
88 m_staticline1 =
new wxStaticLine(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
89 gbSizer1->Add(
m_staticline1, wxGBPosition( 1, 0 ), wxGBSpan( 1, 2 ), wxEXPAND | wxALL, 5 );
92 gbSizer1->AddGrowableCol( 0 );
94 fgSizer1->Add( gbSizer1, 1, wxEXPAND, 5 );
96 m_splitter1 =
new wxSplitterWindow(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_3DSASH );
99 m_panel3 =
new wxPanel(
m_splitter1, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
100 wxStaticBoxSizer* sbSizer2;
101 sbSizer2 =
new wxStaticBoxSizer(
new wxStaticBox(
m_panel3, wxID_ANY,
_(
"Track Propagation") ), wxVERTICAL );
103 wxFlexGridSizer* fgSizer4;
104 fgSizer4 =
new wxFlexGridSizer( 0, 1, 0, 0 );
105 fgSizer4->AddGrowableCol( 0 );
106 fgSizer4->AddGrowableRow( 0 );
107 fgSizer4->SetFlexibleDirection( wxBOTH );
108 fgSizer4->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
143 bSizer9 =
new wxBoxSizer( wxHORIZONTAL );
149 bSizer9->Add( 20, 0, 1, 0, 5 );
155 fgSizer4->Add( bSizer9, 1, 0, 5 );
158 sbSizer2->Add( fgSizer4, 1, wxEXPAND, 5 );
164 m_panel4 =
new wxPanel(
m_splitter1, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
165 wxStaticBoxSizer* sbSizer3;
166 sbSizer3 =
new wxStaticBoxSizer(
new wxStaticBox(
m_panel4, wxID_ANY,
_(
"Via Propagation") ), wxVERTICAL );
168 wxFlexGridSizer* fgSizer3;
169 fgSizer3 =
new wxFlexGridSizer( 3, 1, 0, 0 );
170 fgSizer3->AddGrowableCol( 0 );
171 fgSizer3->AddGrowableRow( 1 );
172 fgSizer3->SetFlexibleDirection( wxBOTH );
173 fgSizer3->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
176 bSizer8 =
new wxBoxSizer( wxHORIZONTAL );
178 m_viaPropagationSpeedLabel =
new wxStaticText( sbSizer3->GetStaticBox(), wxID_ANY,
_(
"Via Propagation Speed:"), wxDefaultPosition, wxDefaultSize, 0 );
182 m_viaPropagationSpeed =
new wxTextCtrl( sbSizer3->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
185 m_viaPropSpeedUnits =
new wxStaticText( sbSizer3->GetStaticBox(), wxID_ANY,
_(
"ps/cm"), wxDefaultPosition, wxDefaultSize, 0 );
190 bSizer8->Add( 50, 0, 1, wxEXPAND, 5 );
192 m_viaDelayOverridesLabel =
new wxStaticText( sbSizer3->GetStaticBox(), wxID_ANY,
_(
"Via Delay Overrides:"), wxDefaultPosition, wxDefaultSize, 0 );
197 fgSizer3->Add( bSizer8, 1, 0, 5 );
199 m_viaOverrides =
new WX_GRID( sbSizer3->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
217 m_viaOverrides->SetColLabelAlignment( wxALIGN_CENTER, wxALIGN_CENTER );
222 m_viaOverrides->SetRowLabelAlignment( wxALIGN_CENTER, wxALIGN_CENTER );
227 m_viaOverrides->SetDefaultCellAlignment( wxALIGN_LEFT, wxALIGN_TOP );
230 wxBoxSizer* bSizer91;
231 bSizer91 =
new wxBoxSizer( wxHORIZONTAL );
237 bSizer91->Add( 20, 0, 1, wxEXPAND, 5 );
243 fgSizer3->Add( bSizer91, 1, 0, 5 );
246 sbSizer3->Add( fgSizer3, 1, wxEXPAND, 5 );
256 this->SetSizer( fgSizer1 );