KiCad PCB EDA Suite
Loading...
Searching...
No Matches
panel_git_repository_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
12PANEL_GIT_REPOSITORY_BASE::PANEL_GIT_REPOSITORY_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* bMainSizer;
15 bMainSizer = new wxBoxSizer( wxVERTICAL );
16
17 wxBoxSizer* bContent;
18 bContent = new wxBoxSizer( wxVERTICAL );
19
20 wxFlexGridSizer* m_grid;
21 m_grid = new wxFlexGridSizer( 0, 2, 8, 12 );
22 m_grid->AddGrowableCol( 1 );
23 m_grid->SetFlexibleDirection( wxBOTH );
24 m_grid->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
25
26 wxStaticText* m_staticText10;
27 m_staticText10 = new wxStaticText( this, wxID_ANY, _("Name:"), wxDefaultPosition, wxDefaultSize, 0 );
28 m_staticText10->Wrap( -1 );
29 m_grid->Add( m_staticText10, 0, wxALIGN_CENTER_VERTICAL, 0 );
30
31 m_repoUserName = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
32 m_grid->Add( m_repoUserName, 1, wxEXPAND, 0 );
33
34 wxStaticText* m_staticText11;
35 m_staticText11 = new wxStaticText( this, wxID_ANY, _("Email:"), wxDefaultPosition, wxDefaultSize, 0 );
36 m_staticText11->Wrap( -1 );
37 m_grid->Add( m_staticText11, 0, wxALIGN_CENTER_VERTICAL, 0 );
38
39 m_repoUserEmail = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
40 m_grid->Add( m_repoUserEmail, 1, wxEXPAND, 0 );
41
42
43 bContent->Add( m_grid, 0, wxEXPAND|wxALL, 4 );
44
45 m_identityNote = new wxStaticText( this, wxID_ANY, _("Name and email apply to this project only. Preferences holds the default used when these are empty."), wxDefaultPosition, wxDefaultSize, 0 );
46 m_identityNote->Wrap( -1 );
47 bContent->Add( m_identityNote, 0, wxALL, 4 );
48
49
50 bMainSizer->Add( bContent, 1, wxEXPAND|wxALL, 8 );
51
52 wxBoxSizer* bBottomRow;
53 bBottomRow = new wxBoxSizer( wxHORIZONTAL );
54
55 m_saveButton = new wxButton( this, wxID_ANY, _("Save"), wxDefaultPosition, wxDefaultSize, 0 );
56 bBottomRow->Add( m_saveButton, 0, wxRIGHT, 4 );
57
58
59 bMainSizer->Add( bBottomRow, 0, wxLEFT|wxRIGHT|wxBOTTOM, 4 );
60
61
62 this->SetSizer( bMainSizer );
63 this->Layout();
64 bMainSizer->Fit( this );
65}
66
const char * name
PANEL_GIT_REPOSITORY_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)