KiCad PCB EDA Suite
Loading...
Searching...
No Matches
drc_re_numeric_input_panel_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
12DRC_RE_NUMERIC_INPUT_PANEL_BASE::DRC_RE_NUMERIC_INPUT_PANEL_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* mainSizer;
15 mainSizer = new wxBoxSizer( wxVERTICAL );
16
17 wxBoxSizer* bConstraintImageAndValueSizer;
18 bConstraintImageAndValueSizer = new wxBoxSizer( wxHORIZONTAL );
19
20 bConstraintImageSizer = new wxBoxSizer( wxVERTICAL );
21
22
23 bConstraintImageAndValueSizer->Add( bConstraintImageSizer, 1, wxBOTTOM|wxEXPAND|wxLEFT, 5 );
24
25 wxBoxSizer* bConstraintContentSizer;
26 bConstraintContentSizer = new wxBoxSizer( wxVERTICAL );
27
28
29 bConstraintContentSizer->Add( 0, 0, 1, wxEXPAND, 5 );
30
31 wxFlexGridSizer* fgSizer3;
32 fgSizer3 = new wxFlexGridSizer( 0, 3, 0, 0 );
33 fgSizer3->SetFlexibleDirection( wxBOTH );
34 fgSizer3->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
35
36 m_numericConstraintLabel = new wxStaticText( this, wxID_ANY, _("Value:"), wxDefaultPosition, wxDefaultSize, 0 );
37 m_numericConstraintLabel->Wrap( -1 );
38 fgSizer3->Add( m_numericConstraintLabel, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
39
40 m_numericConstraintCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxSize( -1,-1 ), 0 );
41 fgSizer3->Add( m_numericConstraintCtrl, 0, wxALL|wxEXPAND|wxRIGHT, 5 );
42
43 m_numericConstraintUnit = new wxStaticText( this, wxID_ANY, _("mm"), wxDefaultPosition, wxDefaultSize, 0 );
44 m_numericConstraintUnit->Wrap( -1 );
45 fgSizer3->Add( m_numericConstraintUnit, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
46
47
48 bConstraintContentSizer->Add( fgSizer3, 0, wxEXPAND, 5 );
49
50
51 bConstraintContentSizer->Add( 0, 0, 1, wxEXPAND, 5 );
52
53
54 bConstraintImageAndValueSizer->Add( bConstraintContentSizer, 1, wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT, 5 );
55
56
57 mainSizer->Add( bConstraintImageAndValueSizer, 0, wxEXPAND, 5 );
58
59
60 this->SetSizer( mainSizer );
61 this->Layout();
62 mainSizer->Fit( this );
63}
64
const char * name
DRC_RE_NUMERIC_INPUT_PANEL_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)