KiCad PCB EDA Suite
Loading...
Searching...
No Matches
panel_git_branches_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_BRANCHES_BASE::PANEL_GIT_BRANCHES_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 m_branchSearch = new wxSearchCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
18 #ifndef __WXMAC__
19 m_branchSearch->ShowSearchButton( true );
20 #endif
21 m_branchSearch->ShowCancelButton( false );
22 bMainSizer->Add( m_branchSearch, 0, wxEXPAND|wxALL, 4 );
23
24 m_branchesSplitter = new wxSplitterWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_3DSASH|wxSP_LIVE_UPDATE );
25 m_branchesSplitter->SetSashGravity( 0.6 );
26 m_branchesSplitter->SetMinimumPaneSize( 200 );
27
28 m_branchListPanel = new wxPanel( m_branchesSplitter, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
29 wxBoxSizer* bbranchListPanelSizer;
30 bbranchListPanelSizer = new wxBoxSizer( wxVERTICAL );
31
32 m_branchesList = new wxListCtrl( m_branchListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL );
33 bbranchListPanelSizer->Add( m_branchesList, 1, wxEXPAND, 0 );
34
35 m_branchCount = new wxStaticText( m_branchListPanel, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
36 m_branchCount->Wrap( -1 );
37 bbranchListPanelSizer->Add( m_branchCount, 0, wxLEFT|wxTOP, 4 );
38
39
40 m_branchListPanel->SetSizer( bbranchListPanelSizer );
41 m_branchListPanel->Layout();
42 bbranchListPanelSizer->Fit( m_branchListPanel );
43 m_branchDetail = new wxPanel( m_branchesSplitter, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
44 wxBoxSizer* bbranchDetailSizer;
45 bbranchDetailSizer = new wxBoxSizer( wxVERTICAL );
46
47 m_branchTitle = new wxStaticText( m_branchDetail, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
48 m_branchTitle->Wrap( -1 );
49 m_branchTitle->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD, false, wxEmptyString ) );
50
51 bbranchDetailSizer->Add( m_branchTitle, 0, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 8 );
52
53 m_branchCommit = new wxStaticText( m_branchDetail, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
54 m_branchCommit->Wrap( -1 );
55 bbranchDetailSizer->Add( m_branchCommit, 0, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 8 );
56
57 m_branchAuthor = new wxStaticText( m_branchDetail, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
58 m_branchAuthor->Wrap( -1 );
59 bbranchDetailSizer->Add( m_branchAuthor, 0, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 8 );
60
61 wxStaticText* m_staticText4;
62 m_staticText4 = new wxStaticText( m_branchDetail, wxID_ANY, _("Message:"), wxDefaultPosition, wxDefaultSize, 0 );
63 m_staticText4->Wrap( -1 );
64 bbranchDetailSizer->Add( m_staticText4, 0, wxLEFT|wxRIGHT|wxTOP, 8 );
65
66 m_branchMessage = new wxTextCtrl( m_branchDetail, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY );
67 m_branchMessage->SetMinSize( wxSize( -1,90 ) );
68
69 bbranchDetailSizer->Add( m_branchMessage, 0, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 8 );
70
71 m_branchSync = new wxStaticText( m_branchDetail, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
72 m_branchSync->Wrap( -1 );
73 bbranchDetailSizer->Add( m_branchSync, 0, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 8 );
74
75
76 bbranchDetailSizer->Add( 0, 0, 1, wxEXPAND, 0 );
77
78 wxBoxSizer* bButtons;
79 bButtons = new wxBoxSizer( wxHORIZONTAL );
80
81 m_newBranchButton = new wxButton( m_branchDetail, wxID_ANY, _("New Branch..."), wxDefaultPosition, wxDefaultSize, 0 );
82 bButtons->Add( m_newBranchButton, 1, wxRIGHT, 4 );
83
84 m_deleteBranchButton = new wxButton( m_branchDetail, wxID_ANY, _("Delete Branch"), wxDefaultPosition, wxDefaultSize, 0 );
85 bButtons->Add( m_deleteBranchButton, 1, 0, 0 );
86
87
88 bbranchDetailSizer->Add( bButtons, 0, wxEXPAND|wxALL, 8 );
89
90
91 m_branchDetail->SetSizer( bbranchDetailSizer );
92 m_branchDetail->Layout();
93 bbranchDetailSizer->Fit( m_branchDetail );
95 bMainSizer->Add( m_branchesSplitter, 1, wxEXPAND|wxALL, 4 );
96
97 wxBoxSizer* bBottomRow;
98 bBottomRow = new wxBoxSizer( wxHORIZONTAL );
99
100 m_forcePushButton = new wxButton( this, wxID_ANY, _("Force Push"), wxDefaultPosition, wxDefaultSize, 0 );
101 bBottomRow->Add( m_forcePushButton, 0, wxRIGHT, 4 );
102
103
104 bMainSizer->Add( bBottomRow, 0, wxLEFT|wxRIGHT|wxBOTTOM, 4 );
105
106
107 this->SetSizer( bMainSizer );
108 this->Layout();
109 bMainSizer->Fit( this );
110}
111
const char * name
wxSplitterWindow * m_branchesSplitter
PANEL_GIT_BRANCHES_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)