KiCad PCB EDA Suite
Loading...
Searching...
No Matches
pcbnew/dialogs/panel_setup_formatting_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
12PANEL_SETUP_FORMATTING_BASE::PANEL_SETUP_FORMATTING_BASE( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxString& name ) : wxPanel( parent, id, pos, size, style, name )
13{
14 wxBoxSizer* bMainSizer;
15 bMainSizer = new wxBoxSizer( wxVERTICAL );
16
17 wxBoxSizer* bMargins;
18 bMargins = new wxBoxSizer( wxVERTICAL );
19
20 m_dashedLinesLabel = new wxStaticText( this, wxID_ANY, _("Dashed Lines"), wxDefaultPosition, wxDefaultSize, 0 );
21 m_dashedLinesLabel->Wrap( -1 );
22 bMargins->Add( m_dashedLinesLabel, 0, wxTOP|wxRIGHT|wxLEFT, 8 );
23
24 m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
25 bMargins->Add( m_staticline1, 0, wxEXPAND|wxBOTTOM|wxRIGHT, 5 );
26
27 wxFlexGridSizer* fgSizer41;
28 fgSizer41 = new wxFlexGridSizer( 0, 2, 5, 0 );
29 fgSizer41->SetFlexibleDirection( wxBOTH );
30 fgSizer41->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
31
32 dashLengthLabel = new wxStaticText( this, wxID_ANY, _("Dash length:"), wxDefaultPosition, wxDefaultSize, 0 );
33 dashLengthLabel->Wrap( -1 );
34 fgSizer41->Add( dashLengthLabel, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
35
36 m_dashLengthCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
37 fgSizer41->Add( m_dashLengthCtrl, 0, wxALIGN_CENTER_VERTICAL, 5 );
38
39 gapLengthLabel = new wxStaticText( this, wxID_ANY, _("Gap length:"), wxDefaultPosition, wxDefaultSize, 0 );
40 gapLengthLabel->Wrap( -1 );
41 fgSizer41->Add( gapLengthLabel, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
42
43 m_gapLengthCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
44 fgSizer41->Add( m_gapLengthCtrl, 0, wxALIGN_CENTER_VERTICAL, 5 );
45
46
47 bMargins->Add( fgSizer41, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 );
48
49 m_dashedLineHelp = new wxStaticText( this, wxID_ANY, _("Dash and dot lengths are ratios of the line width."), wxDefaultPosition, wxDefaultSize, 0 );
50 m_dashedLineHelp->Wrap( -1 );
51 bMargins->Add( m_dashedLineHelp, 0, wxALL, 10 );
52
53
54 bMargins->Add( 0, 10, 0, wxEXPAND, 5 );
55
56 m_staticText5 = new wxStaticText( this, wxID_ANY, _("When Adding Footprints to Board"), wxDefaultPosition, wxDefaultSize, 0 );
57 m_staticText5->Wrap( -1 );
58 bMargins->Add( m_staticText5, 0, wxTOP|wxRIGHT|wxLEFT, 8 );
59
60 m_staticline2 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
61 bMargins->Add( m_staticline2, 0, wxEXPAND|wxBOTTOM, 5 );
62
63 wxBoxSizer* bSizer3;
64 bSizer3 = new wxBoxSizer( wxVERTICAL );
65
66 m_styleFields = new wxCheckBox( this, wxID_ANY, _("Apply board defaults to footprint fields"), wxDefaultPosition, wxDefaultSize, 0 );
67 bSizer3->Add( m_styleFields, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
68
69 m_styleText = new wxCheckBox( this, wxID_ANY, _("Apply board defaults to footprint text"), wxDefaultPosition, wxDefaultSize, 0 );
70 bSizer3->Add( m_styleText, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
71
72 m_styleShapes = new wxCheckBox( this, wxID_ANY, _("Apply board defaults to non-copper footprint shapes"), wxDefaultPosition, wxDefaultSize, 0 );
73 bSizer3->Add( m_styleShapes, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
74
75
76 bMargins->Add( bSizer3, 1, wxEXPAND|wxTOP|wxLEFT, 5 );
77
78
79 bMainSizer->Add( bMargins, 1, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
80
81
82 this->SetSizer( bMainSizer );
83 this->Layout();
84 bMainSizer->Fit( this );
85}
86
88{
89}
const char * name
Definition: DXF_plotter.cpp:59
PANEL_SETUP_FORMATTING_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)
#define _(s)