KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_footprint_users_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_FOOTPRINT_USERS_BASE::DIALOG_FOOTPRINT_USERS_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 wxStaticBoxSizer* sbSizerMatchType;
20 sbSizerMatchType = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Match type") ), wxVERTICAL );
21
22 m_cbShowFilterMatches = new wxCheckBox( sbSizerMatchType->GetStaticBox(), wxID_ANY, _("Show footprint filter matches"), wxDefaultPosition, wxDefaultSize, 0 );
23 sbSizerMatchType->Add( m_cbShowFilterMatches, 0, wxLEFT|wxTOP, 5 );
24
25 m_cbShowFootprintFieldMatches = new wxCheckBox( sbSizerMatchType->GetStaticBox(), wxID_ANY, _("Show footprint field matches"), wxDefaultPosition, wxDefaultSize, 0 );
26 sbSizerMatchType->Add( m_cbShowFootprintFieldMatches, 0, wxLEFT, 5 );
27
28 m_cbShowPinMapMatches = new wxCheckBox( sbSizerMatchType->GetStaticBox(), wxID_ANY, _("Show pin map matches"), wxDefaultPosition, wxDefaultSize, 0 );
29 sbSizerMatchType->Add( m_cbShowPinMapMatches, 0, wxBOTTOM|wxLEFT, 5 );
30
31
32 bMainSizer->Add( sbSizerMatchType, 0, wxALL|wxEXPAND, 5 );
33
34 m_statusText = new wxStaticText( this, wxID_ANY, _("This footprint is referenced by %zu symbols"), wxDefaultPosition, wxDefaultSize, 0 );
35 m_statusText->Wrap( -1 );
36 bMainSizer->Add( m_statusText, 0, wxLEFT|wxRIGHT, 5 );
37
38 m_footprintUserList = new wxDataViewListCtrl( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxDV_ROW_LINES );
39 m_footprintUserList->SetMinSize( wxSize( -1,100 ) );
40
41 bMainSizer->Add( m_footprintUserList, 1, wxALL|wxEXPAND, 5 );
42
43 m_sdbSizer1 = new wxStdDialogButtonSizer();
44 m_sdbSizer1OK = new wxButton( this, wxID_OK );
45 m_sdbSizer1->AddButton( m_sdbSizer1OK );
46 m_sdbSizer1Cancel = new wxButton( this, wxID_CANCEL );
47 m_sdbSizer1->AddButton( m_sdbSizer1Cancel );
48 m_sdbSizer1->Realize();
49
50 bMainSizer->Add( m_sdbSizer1, 0, wxALL|wxEXPAND, 5 );
51
52
53 this->SetSizer( bMainSizer );
54 this->Layout();
55
56 this->Centre( wxBOTH );
57}
58
DIALOG_FOOTPRINT_USERS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Footprint users"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(750, 450), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
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)