KiCad PCB EDA Suite
dialog_sch_sheet_props_base.cpp
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Dec 30 2017)
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_filenameLabel = new wxStaticText( this, wxID_ANY, _("&File name:"), wxDefaultPosition, wxDefaultSize, 0 );
29  m_filenameLabel->Wrap( -1 );
30  fgSizer1->Add( m_filenameLabel, 0, wxALIGN_CENTER_VERTICAL|wxTOP|wxRIGHT|wxLEFT, 5 );
31 
32  m_textFileName = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
33  m_textFileName->SetMinSize( wxSize( 200,-1 ) );
34 
35  fgSizer1->Add( m_textFileName, 5, wxEXPAND|wxTOP, 5 );
36 
37 
38  fgSizer1->Add( 0, 0, 0, wxALIGN_CENTER_HORIZONTAL|wxRIGHT|wxLEFT, 10 );
39 
40  m_filenameSizeLabel = new wxStaticText( this, wxID_ANY, _("Text size:"), wxDefaultPosition, wxDefaultSize, 0 );
41  m_filenameSizeLabel->Wrap( -1 );
42  fgSizer1->Add( m_filenameSizeLabel, 0, wxALIGN_CENTER_VERTICAL|wxTOP|wxRIGHT|wxLEFT, 5 );
43 
44  m_filenameSizeCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
45  fgSizer1->Add( m_filenameSizeCtrl, 0, wxALIGN_CENTER_VERTICAL|wxTOP, 5 );
46 
47  m_filenameSizeUnits = new wxStaticText( this, wxID_ANY, _("units"), wxDefaultPosition, wxDefaultSize, 0 );
48  m_filenameSizeUnits->Wrap( -1 );
49  fgSizer1->Add( m_filenameSizeUnits, 0, wxALIGN_CENTER_VERTICAL|wxTOP|wxRIGHT|wxLEFT, 5 );
50 
51  m_sheetnameLabel = new wxStaticText( this, wxID_ANY, _("&Sheet name:"), wxDefaultPosition, wxDefaultSize, 0 );
52  m_sheetnameLabel->Wrap( -1 );
53  fgSizer1->Add( m_sheetnameLabel, 0, wxALIGN_CENTER_VERTICAL|wxTOP|wxRIGHT|wxLEFT, 5 );
54 
55  m_textSheetName = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
56  fgSizer1->Add( m_textSheetName, 5, wxEXPAND|wxTOP, 5 );
57 
58 
59  fgSizer1->Add( 0, 0, 0, wxALIGN_CENTER_VERTICAL|wxALL, 10 );
60 
61  m_sheetnameSizeLabel = new wxStaticText( this, wxID_ANY, _("Text size:"), wxDefaultPosition, wxDefaultSize, 0 );
62  m_sheetnameSizeLabel->Wrap( -1 );
63  fgSizer1->Add( m_sheetnameSizeLabel, 0, wxALIGN_CENTER_VERTICAL|wxTOP|wxRIGHT|wxLEFT, 5 );
64 
65  m_sheetnameSizeCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
66  fgSizer1->Add( m_sheetnameSizeCtrl, 0, wxALIGN_CENTER_VERTICAL|wxTOP, 5 );
67 
68  m_sheetnameSizeUnits = new wxStaticText( this, wxID_ANY, _("units"), wxDefaultPosition, wxDefaultSize, 0 );
69  m_sheetnameSizeUnits->Wrap( -1 );
70  fgSizer1->Add( m_sheetnameSizeUnits, 0, wxALIGN_CENTER_VERTICAL|wxTOP|wxRIGHT|wxLEFT, 5 );
71 
72 
73  fgSizer1->Add( 0, 0, 1, wxEXPAND|wxTOP|wxBOTTOM, 5 );
74 
75 
76  fgSizer1->Add( 0, 0, 1, wxEXPAND, 5 );
77 
78 
79  fgSizer1->Add( 0, 0, 1, wxEXPAND, 5 );
80 
81 
82  fgSizer1->Add( 0, 0, 1, wxEXPAND, 5 );
83 
84 
85  fgSizer1->Add( 0, 0, 1, wxEXPAND, 5 );
86 
87 
88  fgSizer1->Add( 0, 0, 1, wxEXPAND, 5 );
89 
90  m_staticTextTimeStamp = new wxStaticText( this, wxID_ANY, _("Unique timestamp:"), wxDefaultPosition, wxDefaultSize, 0 );
91  m_staticTextTimeStamp->Wrap( -1 );
92  fgSizer1->Add( m_staticTextTimeStamp, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
93 
94  m_textCtrlTimeStamp = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_READONLY );
95  fgSizer1->Add( m_textCtrlTimeStamp, 0, wxEXPAND|wxTOP|wxBOTTOM, 5 );
96 
97 
98  bupperSizer->Add( fgSizer1, 1, wxALL|wxEXPAND, 5 );
99 
100 
101  mainSizer->Add( bupperSizer, 0, wxEXPAND|wxTOP, 5 );
102 
103  m_staticline1 = new wxStaticLine( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
104  mainSizer->Add( m_staticline1, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
105 
106  m_sdbSizer1 = new wxStdDialogButtonSizer();
107  m_sdbSizer1OK = new wxButton( this, wxID_OK );
108  m_sdbSizer1->AddButton( m_sdbSizer1OK );
109  m_sdbSizer1Cancel = new wxButton( this, wxID_CANCEL );
110  m_sdbSizer1->AddButton( m_sdbSizer1Cancel );
111  m_sdbSizer1->Realize();
112 
113  mainSizer->Add( m_sdbSizer1, 0, wxALL|wxEXPAND, 5 );
114 
115 
116  this->SetSizer( mainSizer );
117  this->Layout();
118  mainSizer->Fit( this );
119 
120  this->Centre( wxBOTH );
121 }
122 
124 {
125 }
Class DIALOG_SHIM may sit in the inheritance tree between wxDialog and any class written by wxFormBui...
Definition: dialog_shim.h:82
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(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
wxStdDialogButtonSizer * m_sdbSizer1