KiCad PCB EDA Suite
dialog_sch_sheet_props_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_SHEET_PROPS_BASE::DIALOG_SCH_SHEET_PROPS_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( 500,150 ), wxDefaultSize );
15 
16  wxBoxSizer* mainSizer;
17  mainSizer = new wxBoxSizer( wxVERTICAL );
18 
19  wxBoxSizer* bupperSizer;
20  bupperSizer = new wxBoxSizer( wxVERTICAL );
21 
22  wxFlexGridSizer* fgSizer1;
23  fgSizer1 = new wxFlexGridSizer( 0, 6, 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, _("&File name:"), wxDefaultPosition, wxDefaultSize, 0 );
29  m_staticText1->Wrap( -1 );
30  fgSizer1->Add( m_staticText1, 0, wxALIGN_CENTER_VERTICAL|wxALL, 3 );
31 
32  m_textFileName = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
33  m_textFileName->SetMaxLength( 0 );
34  m_textFileName->SetMinSize( wxSize( 200,-1 ) );
35 
36  fgSizer1->Add( m_textFileName, 5, wxEXPAND|wxTOP|wxBOTTOM, 3 );
37 
38 
39  fgSizer1->Add( 0, 0, 1, wxALIGN_CENTER_HORIZONTAL|wxALL, 3 );
40 
41  m_staticText2 = new wxStaticText( this, wxID_ANY, _("Si&ze:"), wxDefaultPosition, wxDefaultSize, 0 );
42  m_staticText2->Wrap( -1 );
43  fgSizer1->Add( m_staticText2, 0, wxALIGN_CENTER_VERTICAL|wxALL, 3 );
44 
45  m_textFileNameSize = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
46  m_textFileNameSize->SetMaxLength( 0 );
47  fgSizer1->Add( m_textFileNameSize, 0, wxALIGN_CENTER_VERTICAL|wxTOP|wxBOTTOM, 3 );
48 
49  m_staticFileNameSizeUnits = new wxStaticText( this, wxID_ANY, _("units"), wxDefaultPosition, wxDefaultSize, 0 );
50  m_staticFileNameSizeUnits->Wrap( -1 );
51  fgSizer1->Add( m_staticFileNameSizeUnits, 0, wxALIGN_CENTER_VERTICAL|wxALL, 3 );
52 
53  m_staticText4 = new wxStaticText( this, wxID_ANY, _("&Sheet name:"), wxDefaultPosition, wxDefaultSize, 0 );
54  m_staticText4->Wrap( -1 );
55  fgSizer1->Add( m_staticText4, 0, wxALIGN_CENTER_VERTICAL|wxALL, 3 );
56 
57  m_textSheetName = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
58  m_textSheetName->SetMaxLength( 0 );
59  fgSizer1->Add( m_textSheetName, 5, wxEXPAND|wxTOP|wxBOTTOM, 3 );
60 
61 
62  fgSizer1->Add( 0, 0, 1, wxALIGN_CENTER_VERTICAL|wxALL, 3 );
63 
64  m_staticText5 = new wxStaticText( this, wxID_ANY, _("&Size:"), wxDefaultPosition, wxDefaultSize, 0 );
65  m_staticText5->Wrap( -1 );
66  fgSizer1->Add( m_staticText5, 0, wxALIGN_CENTER_VERTICAL|wxALL, 3 );
67 
68  m_textSheetNameSize = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
69  m_textSheetNameSize->SetMaxLength( 0 );
70  fgSizer1->Add( m_textSheetNameSize, 0, wxALIGN_CENTER_VERTICAL|wxTOP|wxBOTTOM, 3 );
71 
72  m_staticSheetNameSizeUnits = new wxStaticText( this, wxID_ANY, _("units"), wxDefaultPosition, wxDefaultSize, 0 );
73  m_staticSheetNameSizeUnits->Wrap( -1 );
74  fgSizer1->Add( m_staticSheetNameSizeUnits, 0, wxALIGN_CENTER_VERTICAL|wxALL, 3 );
75 
76  m_staticline2 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
77  fgSizer1->Add( m_staticline2, 0, wxEXPAND|wxALL, 5 );
78 
79  m_staticline3 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
80  fgSizer1->Add( m_staticline3, 0, wxEXPAND | wxALL, 5 );
81 
82 
83  fgSizer1->Add( 0, 0, 1, wxEXPAND, 5 );
84 
85 
86  fgSizer1->Add( 0, 0, 1, wxEXPAND, 5 );
87 
88 
89  fgSizer1->Add( 0, 0, 1, wxEXPAND, 5 );
90 
91 
92  fgSizer1->Add( 0, 0, 1, wxEXPAND, 5 );
93 
94  m_staticTextTimeStamp = new wxStaticText( this, wxID_ANY, _("Unique timestamp:"), wxDefaultPosition, wxDefaultSize, 0 );
95  m_staticTextTimeStamp->Wrap( -1 );
96  fgSizer1->Add( m_staticTextTimeStamp, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
97 
98  m_textCtrlTimeStamp = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_READONLY );
99  fgSizer1->Add( m_textCtrlTimeStamp, 0, wxEXPAND|wxTOP|wxBOTTOM, 5 );
100 
101 
102  bupperSizer->Add( fgSizer1, 1, wxALL|wxEXPAND, 5 );
103 
104 
105  mainSizer->Add( bupperSizer, 0, wxEXPAND, 5 );
106 
107 
108  mainSizer->Add( 0, 0, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
109 
110  m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
111  mainSizer->Add( m_staticline1, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 );
112 
113  m_sdbSizer1 = new wxStdDialogButtonSizer();
114  m_sdbSizer1OK = new wxButton( this, wxID_OK );
115  m_sdbSizer1->AddButton( m_sdbSizer1OK );
116  m_sdbSizer1Cancel = new wxButton( this, wxID_CANCEL );
117  m_sdbSizer1->AddButton( m_sdbSizer1Cancel );
118  m_sdbSizer1->Realize();
119 
120  mainSizer->Add( m_sdbSizer1, 0, wxALL|wxEXPAND, 5 );
121 
122 
123  this->SetSizer( mainSizer );
124  this->Layout();
125 
126  this->Centre( wxBOTH );
127 }
128 
130 {
131 }
Class DIALOG_SHIM may sit in the inheritance tree between wxDialog and any class written by wxFormBui...
Definition: dialog_shim.h:60
DIALOG_SCH_SHEET_PROPS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Schematic Sheet Properties"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(519, 187), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
wxStdDialogButtonSizer * m_sdbSizer1