KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_microvia_stack_base.cpp
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 4.2.1-0-g80c4cb6)
3// http://www.wxformbuilder.org/
4//
5// PLEASE DO *NOT* EDIT THIS FILE!
7
9
11
13
14DIALOG_MICROVIA_STACK_BASE::DIALOG_MICROVIA_STACK_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : DIALOG_SHIM( parent, id, title, pos, size, style )
15{
16 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
17
18 wxBoxSizer* bMainSizer;
19 bMainSizer = new wxBoxSizer( wxVERTICAL );
20
21 wxFlexGridSizer* fgSizer;
22 fgSizer = new wxFlexGridSizer( 0, 3, 5, 5 );
23 fgSizer->AddGrowableCol( 1 );
24 fgSizer->SetFlexibleDirection( wxBOTH );
25 fgSizer->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
26
27 m_startLayerLabel = new wxStaticText( this, wxID_ANY, _("Start layer:"), wxDefaultPosition, wxDefaultSize, 0 );
28 m_startLayerLabel->Wrap( -1 );
29 fgSizer->Add( m_startLayerLabel, 0, wxALL, 5 );
30
31 m_startLayer = new PCB_LAYER_BOX_SELECTOR( this, wxID_ANY, _("Combo!"), wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
32 fgSizer->Add( m_startLayer, 0, wxEXPAND, 5 );
33
34
35 fgSizer->Add( 0, 0, 1, wxEXPAND, 5 );
36
37 m_endLayerLabel = new wxStaticText( this, wxID_ANY, _("End layer:"), wxDefaultPosition, wxDefaultSize, 0 );
38 m_endLayerLabel->Wrap( -1 );
39 fgSizer->Add( m_endLayerLabel, 0, wxALL, 5 );
40
41 m_endLayer = new PCB_LAYER_BOX_SELECTOR( this, wxID_ANY, _("Combo!"), wxDefaultPosition, wxDefaultSize, 0, NULL, 0 );
42 fgSizer->Add( m_endLayer, 0, wxEXPAND, 5 );
43
44
45 fgSizer->Add( 0, 0, 1, wxEXPAND, 5 );
46
47 m_typeLabel = new wxStaticText( this, wxID_ANY, _("Type:"), wxDefaultPosition, wxDefaultSize, 0 );
48 m_typeLabel->Wrap( -1 );
49 fgSizer->Add( m_typeLabel, 0, wxALL, 5 );
50
51 wxString m_typeChoiceChoices[] = { _("Stacked"), _("Staggered") };
52 int m_typeChoiceNChoices = sizeof( m_typeChoiceChoices ) / sizeof( wxString );
53 m_typeChoice = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_typeChoiceNChoices, m_typeChoiceChoices, 0 );
54 m_typeChoice->SetSelection( 0 );
55 fgSizer->Add( m_typeChoice, 0, wxALL|wxEXPAND, 5 );
56
57
58 fgSizer->Add( 0, 0, 1, wxEXPAND, 5 );
59
60 m_viaSizeLabel = new wxStaticText( this, wxID_ANY, _("Via diameter:"), wxDefaultPosition, wxDefaultSize, 0 );
61 m_viaSizeLabel->Wrap( -1 );
62 fgSizer->Add( m_viaSizeLabel, 0, wxALL, 5 );
63
64 m_viaSizeCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
65 fgSizer->Add( m_viaSizeCtrl, 0, wxALL|wxEXPAND, 5 );
66
67 m_viaSizeUnit = new wxStaticText( this, wxID_ANY, _("mm"), wxDefaultPosition, wxDefaultSize, 0 );
68 m_viaSizeUnit->Wrap( -1 );
69 fgSizer->Add( m_viaSizeUnit, 0, wxALL, 5 );
70
71 m_viaDrillLabel = new wxStaticText( this, wxID_ANY, _("Via hole:"), wxDefaultPosition, wxDefaultSize, 0 );
72 m_viaDrillLabel->Wrap( -1 );
73 fgSizer->Add( m_viaDrillLabel, 0, wxALL, 5 );
74
75 m_viaDrillCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
76 fgSizer->Add( m_viaDrillCtrl, 0, wxALL|wxEXPAND, 5 );
77
78 m_viaDrillUnit = new wxStaticText( this, wxID_ANY, _("mm"), wxDefaultPosition, wxDefaultSize, 0 );
79 m_viaDrillUnit->Wrap( -1 );
80 fgSizer->Add( m_viaDrillUnit, 0, wxALL, 5 );
81
82 m_useNetclass = new wxCheckBox( this, wxID_ANY, _("Use netclass values"), wxDefaultPosition, wxDefaultSize, 0 );
83 fgSizer->Add( m_useNetclass, 0, wxALL, 5 );
84
85
86 fgSizer->Add( 0, 0, 1, wxEXPAND, 5 );
87
88
89 fgSizer->Add( 0, 0, 1, wxEXPAND, 5 );
90
91 m_filled = new wxCheckBox( this, wxID_ANY, _("Copper-filled"), wxDefaultPosition, wxDefaultSize, 0 );
92 fgSizer->Add( m_filled, 0, wxALL, 5 );
93
94 m_capped = new wxCheckBox( this, wxID_ANY, _("Capped"), wxDefaultPosition, wxDefaultSize, 0 );
95 fgSizer->Add( m_capped, 0, wxALL, 5 );
96
97
98 fgSizer->Add( 0, 0, 1, wxEXPAND, 5 );
99
100 m_pitchLabel = new wxStaticText( this, wxID_ANY, _("Pitch:"), wxDefaultPosition, wxDefaultSize, 0 );
101 m_pitchLabel->Wrap( -1 );
102 fgSizer->Add( m_pitchLabel, 0, wxALL, 5 );
103
104 m_pitchCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
105 fgSizer->Add( m_pitchCtrl, 0, wxALL|wxEXPAND, 5 );
106
107 m_pitchUnit = new wxStaticText( this, wxID_ANY, _("mm"), wxDefaultPosition, wxDefaultSize, 0 );
108 m_pitchUnit->Wrap( -1 );
109 fgSizer->Add( m_pitchUnit, 0, wxALL, 5 );
110
111
112 bMainSizer->Add( fgSizer, 1, wxALL|wxEXPAND, 5 );
113
114 m_stdButtons = new wxStdDialogButtonSizer();
115 m_stdButtonsOK = new wxButton( this, wxID_OK );
116 m_stdButtons->AddButton( m_stdButtonsOK );
117 m_stdButtonsCancel = new wxButton( this, wxID_CANCEL );
118 m_stdButtons->AddButton( m_stdButtonsCancel );
119 m_stdButtons->Realize();
120
121 bMainSizer->Add( m_stdButtons, 0, wxALL|wxEXPAND, 5 );
122
123
124 this->SetSizer( bMainSizer );
125 this->Layout();
126 bMainSizer->Fit( this );
127
128 this->Centre( wxBOTH );
129}
130
PCB_LAYER_BOX_SELECTOR * m_startLayer
PCB_LAYER_BOX_SELECTOR * m_endLayer
wxStdDialogButtonSizer * m_stdButtons
DIALOG_MICROVIA_STACK_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Microvia Stack"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE)
DIALOG_SHIM(wxWindow *aParent, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxRESIZE_BORDER, const wxString &name=wxDialogNameStr)
Class to display a pcb layer list in a wxBitmapComboBox.
#define _(s)