KiCad PCB EDA Suite
Loading...
Searching...
No Matches
panel_pcbnew_display_origin_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_PCBNEW_DISPLAY_ORIGIN_BASE::PANEL_PCBNEW_DISPLAY_ORIGIN_BASE( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxString& name ) : RESETTABLE_PANEL( parent, id, pos, size, style, name )
13{
14 wxBoxSizer* bPanelSizer;
15 bPanelSizer = new wxBoxSizer( wxHORIZONTAL );
16
17 wxBoxSizer* bMargins;
18 bMargins = new wxBoxSizer( wxHORIZONTAL );
19
20 wxBoxSizer* bLeftSizer;
21 bLeftSizer = new wxBoxSizer( wxVERTICAL );
22
23 m_displayOrigin = new wxBoxSizer( wxVERTICAL );
24
25 displayOriginLabel = new wxStaticText( this, wxID_ANY, _("Display Origin"), wxDefaultPosition, wxDefaultSize, 0 );
26 displayOriginLabel->Wrap( -1 );
27 m_displayOrigin->Add( displayOriginLabel, 0, wxTOP|wxRIGHT|wxLEFT, 13 );
28
29 m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
30 m_displayOrigin->Add( m_staticline1, 0, wxEXPAND|wxTOP|wxBOTTOM, 2 );
31
32 wxGridSizer* gSizer1;
33 gSizer1 = new wxGridSizer( 0, 1, 4, 0 );
34
35 m_pageOrigin = new wxRadioButton( this, wxID_ANY, _("Page origin"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP );
36 gSizer1->Add( m_pageOrigin, 0, wxRIGHT, 5 );
37
38 m_drillPlaceOrigin = new wxRadioButton( this, wxID_ANY, _("Drill/place file origin"), wxDefaultPosition, wxDefaultSize, 0 );
39 gSizer1->Add( m_drillPlaceOrigin, 0, wxRIGHT, 5 );
40
41 m_gridOrigin = new wxRadioButton( this, wxID_ANY, _("Grid origin"), wxDefaultPosition, wxDefaultSize, 0 );
42 gSizer1->Add( m_gridOrigin, 0, wxRIGHT, 5 );
43
44
45 m_displayOrigin->Add( gSizer1, 0, wxEXPAND|wxALL, 10 );
46
47
48 bLeftSizer->Add( m_displayOrigin, 0, wxEXPAND, 5 );
49
50 xAxisLabel = new wxStaticText( this, wxID_ANY, _("X Axis"), wxDefaultPosition, wxDefaultSize, 0 );
51 xAxisLabel->Wrap( -1 );
52 bLeftSizer->Add( xAxisLabel, 0, wxTOP|wxRIGHT|wxLEFT, 13 );
53
54 m_staticline2 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
55 bLeftSizer->Add( m_staticline2, 0, wxEXPAND|wxTOP|wxBOTTOM, 2 );
56
57 wxGridSizer* gSizer2;
58 gSizer2 = new wxGridSizer( 0, 1, 4, 0 );
59
60 m_xIncreasesRight = new wxRadioButton( this, wxID_ANY, _("Increases right"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP );
61 gSizer2->Add( m_xIncreasesRight, 0, wxRIGHT, 5 );
62
63 m_xIncreasesLeft = new wxRadioButton( this, wxID_ANY, _("Increases left"), wxDefaultPosition, wxDefaultSize, 0 );
64 gSizer2->Add( m_xIncreasesLeft, 0, wxRIGHT, 5 );
65
66
67 bLeftSizer->Add( gSizer2, 0, wxEXPAND|wxALL, 10 );
68
69 yAxisLabel = new wxStaticText( this, wxID_ANY, _("Y Axis"), wxDefaultPosition, wxDefaultSize, 0 );
70 yAxisLabel->Wrap( -1 );
71 bLeftSizer->Add( yAxisLabel, 0, wxTOP|wxRIGHT|wxLEFT, 13 );
72
73 m_staticline3 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
74 bLeftSizer->Add( m_staticline3, 0, wxEXPAND|wxTOP|wxBOTTOM, 2 );
75
76 wxGridSizer* gSizer4;
77 gSizer4 = new wxGridSizer( 0, 1, 4, 0 );
78
79 m_yIncreasesUp = new wxRadioButton( this, wxID_ANY, _("Increases up"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP );
80 gSizer4->Add( m_yIncreasesUp, 0, wxRIGHT, 5 );
81
82 m_yIncreasesDown = new wxRadioButton( this, wxID_ANY, _("Increases down"), wxDefaultPosition, wxDefaultSize, 0 );
83 gSizer4->Add( m_yIncreasesDown, 0, wxRIGHT, 5 );
84
85
86 bLeftSizer->Add( gSizer4, 1, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 10 );
87
88
89 bMargins->Add( bLeftSizer, 1, wxEXPAND|wxRIGHT, 5 );
90
91 wxBoxSizer* bRightSizer;
92 bRightSizer = new wxBoxSizer( wxVERTICAL );
93
94
95 bRightSizer->Add( 0, 0, 1, wxEXPAND, 5 );
96
97
98 bMargins->Add( bRightSizer, 1, wxEXPAND|wxRIGHT, 5 );
99
100
101 bPanelSizer->Add( bMargins, 1, wxTOP|wxRIGHT, 5 );
102
103
104 this->SetSizer( bPanelSizer );
105 this->Layout();
106 bPanelSizer->Fit( this );
107}
108
110{
111}
const char * name
Definition: DXF_plotter.cpp:62
PANEL_PCBNEW_DISPLAY_ORIGIN_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)
A wxPanel that is designed to be reset in a standard manner.
#define _(s)