KiCad PCB EDA Suite
dialog_sch_edit_sheet_pin_base.cpp
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Mar 28 2015)
3 // http://www.wxformbuilder.org/
4 //
5 // PLEASE DO "NOT" EDIT THIS FILE!
7 
9 
11 
12 DIALOG_SCH_EDIT_SHEET_PIN_BASE::DIALOG_SCH_EDIT_SHEET_PIN_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : DIALOG_SHIM( parent, id, title, pos, size, style )
13 {
14  this->SetSizeHints( wxSize( 350,-1 ), wxDefaultSize );
15 
16  wxBoxSizer* m_mainSizer;
17  m_mainSizer = new wxBoxSizer( wxVERTICAL );
18 
19  wxBoxSizer* m_nameSizer;
20  m_nameSizer = new wxBoxSizer( wxHORIZONTAL );
21 
22  wxFlexGridSizer* fgSizer1;
23  fgSizer1 = new wxFlexGridSizer( 4, 3, 0, 0 );
24  fgSizer1->AddGrowableCol( 1 );
25  fgSizer1->SetFlexibleDirection( wxBOTH );
26  fgSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
27 
28  m_staticText1 = new wxStaticText( this, wxID_ANY, _("Name:"), wxDefaultPosition, wxDefaultSize, 0 );
29  m_staticText1->Wrap( -1 );
30  fgSizer1->Add( m_staticText1, 0, wxALIGN_CENTER_VERTICAL|wxALL, 6 );
31 
32  m_textName = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
33  m_textName->SetMaxLength( 0 );
34  fgSizer1->Add( m_textName, 0, wxALIGN_CENTER_VERTICAL|wxALL|wxEXPAND, 6 );
35 
36 
37  fgSizer1->Add( 0, 0, 1, wxEXPAND, 6 );
38 
39  m_staticText2 = new wxStaticText( this, wxID_ANY, _("Text height:"), wxDefaultPosition, wxDefaultSize, 0 );
40  m_staticText2->Wrap( -1 );
41  fgSizer1->Add( m_staticText2, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT, 6 );
42 
43  m_textHeight = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
44  m_textHeight->SetMaxLength( 0 );
45  fgSizer1->Add( m_textHeight, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT, 6 );
46 
47  m_staticHeightUnits = new wxStaticText( this, wxID_ANY, _("units"), wxDefaultPosition, wxDefaultSize, 0 );
48  m_staticHeightUnits->Wrap( -1 );
49  fgSizer1->Add( m_staticHeightUnits, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT, 6 );
50 
51  m_staticText5 = new wxStaticText( this, wxID_ANY, _("Text width:"), wxDefaultPosition, wxDefaultSize, 0 );
52  m_staticText5->Wrap( -1 );
53  fgSizer1->Add( m_staticText5, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT, 6 );
54 
55  m_textWidth = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
56  m_textWidth->SetMaxLength( 0 );
57  fgSizer1->Add( m_textWidth, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxEXPAND|wxLEFT|wxRIGHT, 6 );
58 
59  m_staticWidthUnits = new wxStaticText( this, wxID_ANY, _("units"), wxDefaultPosition, wxDefaultSize, 0 );
60  m_staticWidthUnits->Wrap( -1 );
61  fgSizer1->Add( m_staticWidthUnits, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT, 6 );
62 
63  m_staticText3 = new wxStaticText( this, wxID_ANY, _("Connection type:"), wxDefaultPosition, wxDefaultSize, 0 );
64  m_staticText3->Wrap( -1 );
65  fgSizer1->Add( m_staticText3, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT, 6 );
66 
67  wxArrayString m_choiceConnectionTypeChoices;
68  m_choiceConnectionType = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choiceConnectionTypeChoices, 0 );
69  m_choiceConnectionType->SetSelection( 0 );
70  fgSizer1->Add( m_choiceConnectionType, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxLEFT|wxRIGHT, 6 );
71 
72 
73  fgSizer1->Add( 0, 0, 1, wxEXPAND, 6 );
74 
75 
76  m_nameSizer->Add( fgSizer1, 1, wxEXPAND, 6 );
77 
78 
79  m_mainSizer->Add( m_nameSizer, 1, wxALL|wxEXPAND, 6 );
80 
81 
82  m_mainSizer->Add( 0, 0, 0, wxALL|wxEXPAND, 3 );
83 
84  m_sdbSizer = new wxStdDialogButtonSizer();
85  m_sdbSizerOK = new wxButton( this, wxID_OK );
86  m_sdbSizer->AddButton( m_sdbSizerOK );
87  m_sdbSizerCancel = new wxButton( this, wxID_CANCEL );
88  m_sdbSizer->AddButton( m_sdbSizerCancel );
89  m_sdbSizer->Realize();
90 
91  m_mainSizer->Add( m_sdbSizer, 0, wxALL|wxEXPAND, 6 );
92 
93 
94  this->SetSizer( m_mainSizer );
95  this->Layout();
96 
97  this->Centre( wxBOTH );
98 }
99 
101 {
102 }
DIALOG_SCH_EDIT_SHEET_PIN_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Sheet Pin Properties"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(350, 189), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
Class DIALOG_SHIM may sit in the inheritance tree between wxDialog and any class written by wxFormBui...
Definition: dialog_shim.h:60