KiCad PCB EDA Suite
panel_gerbview_settings_base.cpp
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Dec 30 2017)
3 // http://www.wxformbuilder.org/
4 //
5 // PLEASE DO *NOT* EDIT THIS FILE!
7 
9 
11 
12 PANEL_GERBVIEW_SETTINGS_BASE::PANEL_GERBVIEW_SETTINGS_BASE( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
13 {
14  wxBoxSizer* bDialogSizer;
15  bDialogSizer = new wxBoxSizer( wxVERTICAL );
16 
17  m_UpperSizer = new wxBoxSizer( wxVERTICAL );
18 
19  wxBoxSizer* bLeftSizer;
20  bLeftSizer = new wxBoxSizer( wxVERTICAL );
21 
22  wxString m_PolarDisplayChoices[] = { _("Cartesian coordinates"), _("Polar coordinates") };
23  int m_PolarDisplayNChoices = sizeof( m_PolarDisplayChoices ) / sizeof( wxString );
24  m_PolarDisplay = new wxRadioBox( this, wxID_ANY, _("Coordinates"), wxDefaultPosition, wxDefaultSize, m_PolarDisplayNChoices, m_PolarDisplayChoices, 1, wxRA_SPECIFY_COLS );
25  m_PolarDisplay->SetSelection( 0 );
26  bLeftSizer->Add( m_PolarDisplay, 0, wxEXPAND|wxTOP|wxBOTTOM|wxLEFT, 5 );
27 
28  wxString m_BoxUnitsChoices[] = { _("Inches"), _("Millimeters") };
29  int m_BoxUnitsNChoices = sizeof( m_BoxUnitsChoices ) / sizeof( wxString );
30  m_BoxUnits = new wxRadioBox( this, wxID_ANY, _("Units"), wxDefaultPosition, wxDefaultSize, m_BoxUnitsNChoices, m_BoxUnitsChoices, 1, wxRA_SPECIFY_COLS );
31  m_BoxUnits->SetSelection( 0 );
32  bLeftSizer->Add( m_BoxUnits, 0, wxEXPAND|wxTOP|wxBOTTOM|wxLEFT, 5 );
33 
34  wxString m_PageSizeChoices[] = { _("Full size"), _("Size A4"), _("Size A3"), _("Size A2"), _("Size A"), _("Size B"), _("Size C") };
35  int m_PageSizeNChoices = sizeof( m_PageSizeChoices ) / sizeof( wxString );
36  m_PageSize = new wxRadioBox( this, wxID_ANY, _("Page Size"), wxDefaultPosition, wxDefaultSize, m_PageSizeNChoices, m_PageSizeChoices, 1, wxRA_SPECIFY_COLS );
37  m_PageSize->SetSelection( 0 );
38  bLeftSizer->Add( m_PageSize, 0, wxEXPAND|wxTOP|wxLEFT, 5 );
39 
40  m_ShowPageLimitsOpt = new wxCheckBox( this, wxID_ANY, _("Show page limits"), wxDefaultPosition, wxDefaultSize, 0 );
41  bLeftSizer->Add( m_ShowPageLimitsOpt, 0, wxALL, 10 );
42 
43 
44  m_UpperSizer->Add( bLeftSizer, 0, wxEXPAND|wxRIGHT, 5 );
45 
46 
47  bDialogSizer->Add( m_UpperSizer, 0, wxEXPAND|wxRIGHT, 5 );
48 
49 
50  this->SetSizer( bDialogSizer );
51  this->Layout();
52  bDialogSizer->Fit( this );
53 }
54 
56 {
57 }
PANEL_GERBVIEW_SETTINGS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxTAB_TRAVERSAL)