KiCad PCB EDA Suite
Loading...
Searching...
No Matches
panel_git_remotes_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_REMOTES_BASE::PANEL_GIT_REMOTES_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_remotesSplitter = new wxSplitterWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_3DSASH|wxSP_LIVE_UPDATE );
18 m_remotesSplitter->SetSashGravity( 0.6 );
19 m_remotesSplitter->SetMinimumPaneSize( 200 );
20
21 m_remoteListPanel = new wxPanel( m_remotesSplitter, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
22 wxBoxSizer* bremoteListPanelSizer;
23 bremoteListPanelSizer = new wxBoxSizer( wxVERTICAL );
24
25 m_remotesList = new wxListCtrl( m_remoteListPanel, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL );
26 bremoteListPanelSizer->Add( m_remotesList, 1, wxEXPAND, 0 );
27
28 m_remoteCount = new wxStaticText( m_remoteListPanel, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
29 m_remoteCount->Wrap( -1 );
30 bremoteListPanelSizer->Add( m_remoteCount, 0, wxLEFT|wxTOP, 4 );
31
32
33 m_remoteListPanel->SetSizer( bremoteListPanelSizer );
34 m_remoteListPanel->Layout();
35 bremoteListPanelSizer->Fit( m_remoteListPanel );
36 m_remoteDetail = new wxPanel( m_remotesSplitter, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
37 wxBoxSizer* bremoteDetailSizer;
38 bremoteDetailSizer = new wxBoxSizer( wxVERTICAL );
39
40 m_remoteTitle = new wxStaticText( m_remoteDetail, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
41 m_remoteTitle->Wrap( -1 );
42 m_remoteTitle->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD, false, wxEmptyString ) );
43
44 bremoteDetailSizer->Add( m_remoteTitle, 0, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 8 );
45
46 wxStaticText* m_staticText5;
47 m_staticText5 = new wxStaticText( m_remoteDetail, wxID_ANY, _("URL:"), wxDefaultPosition, wxDefaultSize, 0 );
48 m_staticText5->Wrap( -1 );
49 bremoteDetailSizer->Add( m_staticText5, 0, wxLEFT|wxRIGHT|wxTOP, 8 );
50
51 m_remoteUrl = new wxTextCtrl( m_remoteDetail, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_READONLY );
52 bremoteDetailSizer->Add( m_remoteUrl, 0, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 8 );
53
54 m_remoteFetched = new wxStaticText( m_remoteDetail, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
55 m_remoteFetched->Wrap( -1 );
56 bremoteDetailSizer->Add( m_remoteFetched, 0, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 8 );
57
58
59 bremoteDetailSizer->Add( 0, 0, 1, wxEXPAND, 0 );
60
61 wxBoxSizer* bButtons;
62 bButtons = new wxBoxSizer( wxHORIZONTAL );
63
64 m_editUrlButton = new wxButton( m_remoteDetail, wxID_ANY, _("Edit URL..."), wxDefaultPosition, wxDefaultSize, 0 );
65 bButtons->Add( m_editUrlButton, 1, wxRIGHT, 4 );
66
67 m_removeRemoteButton = new wxButton( m_remoteDetail, wxID_ANY, _("Remove Remote"), wxDefaultPosition, wxDefaultSize, 0 );
68 bButtons->Add( m_removeRemoteButton, 1, 0, 0 );
69
70
71 bremoteDetailSizer->Add( bButtons, 0, wxEXPAND|wxALL, 8 );
72
73
74 m_remoteDetail->SetSizer( bremoteDetailSizer );
75 m_remoteDetail->Layout();
76 bremoteDetailSizer->Fit( m_remoteDetail );
77 m_remotesSplitter->SplitVertically( m_remoteListPanel, m_remoteDetail, -1 );
78 bMainSizer->Add( m_remotesSplitter, 1, wxEXPAND|wxALL, 4 );
79
80 wxBoxSizer* bBottomRow;
81 bBottomRow = new wxBoxSizer( wxHORIZONTAL );
82
83 m_addRemoteButton = new wxButton( this, wxID_ANY, _("Add Remote..."), wxDefaultPosition, wxDefaultSize, 0 );
84 bBottomRow->Add( m_addRemoteButton, 0, wxRIGHT, 4 );
85
86
87 bMainSizer->Add( bBottomRow, 0, wxLEFT|wxRIGHT|wxBOTTOM, 4 );
88
89
90 this->SetSizer( bMainSizer );
91 this->Layout();
92 bMainSizer->Fit( this );
93}
94
const char * name
wxSplitterWindow * m_remotesSplitter
PANEL_GIT_REMOTES_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)