KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_git_remote_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_REMOTE_BASE::DIALOG_GIT_REMOTE_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( 460,-1 ), wxDefaultSize );
15
16 wxBoxSizer* bMainSizer;
17 bMainSizer = new wxBoxSizer( wxVERTICAL );
18
19 wxFlexGridSizer* fgFields;
20 fgFields = new wxFlexGridSizer( 0, 2, 6, 6 );
21 fgFields->AddGrowableCol( 1 );
22 fgFields->SetFlexibleDirection( wxBOTH );
23 fgFields->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
24
25 wxStaticText* m_staticText17;
26 m_staticText17 = new wxStaticText( this, wxID_ANY, _("Name:"), wxDefaultPosition, wxDefaultSize, 0 );
27 m_staticText17->Wrap( -1 );
28 fgFields->Add( m_staticText17, 0, wxALIGN_CENTER_VERTICAL, 0 );
29
30 m_nameCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
31 fgFields->Add( m_nameCtrl, 1, wxEXPAND, 0 );
32
33 wxStaticText* m_staticText18;
34 m_staticText18 = new wxStaticText( this, wxID_ANY, _("URL:"), wxDefaultPosition, wxDefaultSize, 0 );
35 m_staticText18->Wrap( -1 );
36 fgFields->Add( m_staticText18, 0, wxALIGN_CENTER_VERTICAL, 0 );
37
38 m_urlCtrl = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
39 m_urlCtrl->SetMinSize( wxSize( 360,-1 ) );
40
41 fgFields->Add( m_urlCtrl, 1, wxEXPAND, 0 );
42
43
44 bMainSizer->Add( fgFields, 1, wxEXPAND|wxALL, 10 );
45
46 m_sdbSizer = new wxStdDialogButtonSizer();
47 m_sdbSizerOK = new wxButton( this, wxID_OK );
48 m_sdbSizer->AddButton( m_sdbSizerOK );
49 m_sdbSizerCancel = new wxButton( this, wxID_CANCEL );
50 m_sdbSizer->AddButton( m_sdbSizerCancel );
51 m_sdbSizer->Realize();
52
53 bMainSizer->Add( m_sdbSizer, 0, wxEXPAND|wxALL, 10 );
54
55
56 this->SetSizer( bMainSizer );
57 this->Layout();
58 bMainSizer->Fit( this );
59
60 this->Centre( wxBOTH );
61}
62
DIALOG_GIT_REMOTE_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Add Remote"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
wxStdDialogButtonSizer * m_sdbSizer
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)