KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_git_identity_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
12DIALOG_GIT_IDENTITY_BASE::DIALOG_GIT_IDENTITY_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( 400,-1 ), wxDefaultSize );
15
16 wxBoxSizer* bMainSizer;
17 bMainSizer = new wxBoxSizer( wxVERTICAL );
18
19 m_message = new wxStaticText( this, wxID_ANY, _("Commits record who made them. Enter the name and email to use."), wxDefaultPosition, wxDefaultSize, 0 );
20 m_message->Wrap( -1 );
21 bMainSizer->Add( m_message, 0, wxALL, 10 );
22
23 wxFlexGridSizer* fgFields;
24 fgFields = new wxFlexGridSizer( 0, 2, 6, 6 );
25 fgFields->AddGrowableCol( 1 );
26 fgFields->SetFlexibleDirection( wxBOTH );
27 fgFields->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
28
29 wxStaticText* m_staticText13;
30 m_staticText13 = new wxStaticText( this, wxID_ANY, _("Name:"), wxDefaultPosition, wxDefaultSize, 0 );
31 m_staticText13->Wrap( -1 );
32 fgFields->Add( m_staticText13, 0, wxALIGN_CENTER_VERTICAL, 0 );
33
34 m_nameCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
35 m_nameCtrl->SetMinSize( wxSize( 320,-1 ) );
36
37 fgFields->Add( m_nameCtrl, 1, wxEXPAND, 0 );
38
39 wxStaticText* m_staticText14;
40 m_staticText14 = new wxStaticText( this, wxID_ANY, _("Email:"), wxDefaultPosition, wxDefaultSize, 0 );
41 m_staticText14->Wrap( -1 );
42 fgFields->Add( m_staticText14, 0, wxALIGN_CENTER_VERTICAL, 0 );
43
44 m_emailCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
45 m_emailCtrl->SetMinSize( wxSize( 320,-1 ) );
46
47 fgFields->Add( m_emailCtrl, 1, wxEXPAND, 0 );
48
49
50 bMainSizer->Add( fgFields, 1, wxEXPAND|wxLEFT|wxRIGHT, 10 );
51
52 m_sdbSizer = new wxStdDialogButtonSizer();
53 m_sdbSizerOK = new wxButton( this, wxID_OK );
54 m_sdbSizer->AddButton( m_sdbSizerOK );
55 m_sdbSizerCancel = new wxButton( this, wxID_CANCEL );
56 m_sdbSizer->AddButton( m_sdbSizerCancel );
57 m_sdbSizer->Realize();
58
59 bMainSizer->Add( m_sdbSizer, 0, wxEXPAND|wxALL, 10 );
60
61
62 this->SetSizer( bMainSizer );
63 this->Layout();
64 bMainSizer->Fit( this );
65
66 this->Centre( wxBOTH );
67}
68
wxStdDialogButtonSizer * m_sdbSizer
DIALOG_GIT_IDENTITY_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Introduce Yourself"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
DIALOG_SHIM(wxWindow *aParent, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxRESIZE_BORDER, const wxString &name=wxDialogNameStr)
#define _(s)