KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_git_advanced_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_ADVANCED_BASE::DIALOG_GIT_ADVANCED_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( -1,-1 ), wxDefaultSize );
15
16 wxBoxSizer* bMainSizer;
17 bMainSizer = new wxBoxSizer( wxVERTICAL );
18
19 m_topBar = new wxBoxSizer( wxHORIZONTAL );
20
21 wxStaticText* m_staticText1;
22 m_staticText1 = new wxStaticText( this, wxID_ANY, _("Repository:"), wxDefaultPosition, wxDefaultSize, 0 );
23 m_staticText1->Wrap( -1 );
24 m_topBar->Add( m_staticText1, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 4 );
25
26 m_repoName = new wxStaticText( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
27 m_repoName->Wrap( -1 );
28 m_repoName->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD, false, wxEmptyString ) );
29
30 m_topBar->Add( m_repoName, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 16 );
31
32 wxStaticText* m_staticText2;
33 m_staticText2 = new wxStaticText( this, wxID_ANY, _("Branch:"), wxDefaultPosition, wxDefaultSize, 0 );
34 m_staticText2->Wrap( -1 );
35 m_topBar->Add( m_staticText2, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 4 );
36
37 wxArrayString m_branchChoiceChoices;
38 m_branchChoice = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_branchChoiceChoices, 0 );
39 m_branchChoice->SetSelection( 0 );
40 m_topBar->Add( m_branchChoice, 0, wxALIGN_CENTER_VERTICAL, 0 );
41
42
43 m_topBar->Add( 0, 0, 1, wxEXPAND, 0 );
44
45 m_fetchButton = new wxButton( this, wxID_ANY, _("Fetch"), wxDefaultPosition, wxDefaultSize, 0 );
46 m_topBar->Add( m_fetchButton, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 4 );
47
48 m_pullButton = new wxButton( this, wxID_ANY, _("Pull"), wxDefaultPosition, wxDefaultSize, 0 );
49 m_topBar->Add( m_pullButton, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 4 );
50
51 m_pushButton = new wxButton( this, wxID_ANY, _("Push"), wxDefaultPosition, wxDefaultSize, 0 );
52 m_topBar->Add( m_pushButton, 0, wxALIGN_CENTER_VERTICAL, 0 );
53
54
55 bMainSizer->Add( m_topBar, 0, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 8 );
56
57 m_book = new WX_TREEBOOK( this, wxID_ANY );
58 bMainSizer->Add( m_book, 1, wxEXPAND|wxALL, 4 );
59
60 m_sdbSizer = new wxStdDialogButtonSizer();
61 m_sdbSizerCancel = new wxButton( this, wxID_CANCEL );
62 m_sdbSizer->AddButton( m_sdbSizerCancel );
63 m_sdbSizer->Realize();
64
65 bMainSizer->Add( m_sdbSizer, 0, wxEXPAND|wxALL, 4 );
66
67
68 this->SetSizer( bMainSizer );
69 this->Layout();
70 bMainSizer->Fit( this );
71
72 this->Centre( wxBOTH );
73}
74
DIALOG_GIT_ADVANCED_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Advanced Git"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
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)