12PANEL_SETUP_BOARD_FINISH_BASE::PANEL_SETUP_BOARD_FINISH_BASE( wxWindow* parent, wxWindowID
id,
const wxPoint& pos,
const wxSize& size,
long style,
const wxString&
name ) : wxPanel( parent, id, pos, size, style,
name )
14 wxBoxSizer* bMainSizer;
15 bMainSizer =
new wxBoxSizer( wxVERTICAL );
18 bMargins =
new wxBoxSizer( wxVERTICAL );
20 m_cbCastellatedPads =
new wxCheckBox(
this, wxID_ANY,
_(
"Has castellated pads"), wxDefaultPosition, wxDefaultSize, 0 );
23 m_cbEgdesPlated =
new wxCheckBox(
this, wxID_ANY,
_(
"Plated board edge"), wxDefaultPosition, wxDefaultSize, 0 );
26 wxFlexGridSizer* fgSizer2;
27 fgSizer2 =
new wxFlexGridSizer( 0, 2, 5, 0 );
28 fgSizer2->SetFlexibleDirection( wxBOTH );
29 fgSizer2->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
31 m_staticTextFinish =
new wxStaticText(
this, wxID_ANY,
_(
"Copper finish:"), wxDefaultPosition, wxDefaultSize, 0 );
35 wxArrayString m_choiceFinishChoices;
36 m_choiceFinish =
new wxChoice(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choiceFinishChoices, 0 );
38 fgSizer2->Add(
m_choiceFinish, 0, wxEXPAND|wxALIGN_CENTER_VERTICAL, 2 );
40 m_staticTextEdgeConn =
new wxStaticText(
this, wxID_ANY,
_(
"Edge card connectors:"), wxDefaultPosition, wxDefaultSize, 0 );
44 wxString m_choiceEdgeConnChoices[] = {
_(
"None"),
_(
"Yes"),
_(
"Yes, bevelled") };
45 int m_choiceEdgeConnNChoices =
sizeof( m_choiceEdgeConnChoices ) /
sizeof( wxString );
46 m_choiceEdgeConn =
new wxChoice(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choiceEdgeConnNChoices, m_choiceEdgeConnChoices, 0 );
53 bMargins->Add( fgSizer2, 1, wxEXPAND|wxTOP, 10 );
56 bMainSizer->Add( bMargins, 1, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
59 this->SetSizer( bMainSizer );
61 bMainSizer->Fit(
this );
wxChoice * m_choiceFinish
PANEL_SETUP_BOARD_FINISH_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
wxStaticText * m_staticTextFinish
wxStaticText * m_staticTextEdgeConn
wxCheckBox * m_cbCastellatedPads
wxChoice * m_choiceEdgeConn
~PANEL_SETUP_BOARD_FINISH_BASE()
wxCheckBox * m_cbEgdesPlated