KiCad PCB EDA Suite
dialog_symbol_remap_base.cpp
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Jun 5 2014)
3 // http://www.wxformbuilder.org/
4 //
5 // PLEASE DO "NOT" EDIT THIS FILE!
7 
8 #include "wx_html_report_panel.h"
9 
11 
13 
14 DIALOG_SYMBOL_REMAP_BASE::DIALOG_SYMBOL_REMAP_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : DIALOG_SHIM( parent, id, title, pos, size, style )
15 {
16  this->SetSizeHints( wxDefaultSize, wxDefaultSize );
17 
18  wxBoxSizer* bSizer1;
19  bSizer1 = new wxBoxSizer( wxVERTICAL );
20 
21  wxBoxSizer* bSizer2;
22  bSizer2 = new wxBoxSizer( wxHORIZONTAL );
23 
24  m_staticText1 = new wxStaticText( this, wxID_ANY, wxT("This schematic currently uses the symbol library look\nup method for loading schematic symbols. KiCad will\nattempt to map the existing symbols to use the new\nsymbol library table. If you choose to choose to skip\nthis step, you will be responsible for manually assigning\nsymbols."), wxDefaultPosition, wxDefaultSize, 0 );
25  m_staticText1->Wrap( -1 );
26  bSizer2->Add( m_staticText1, 0, wxALL|wxEXPAND, 5 );
27 
28  wxBoxSizer* bSizer3;
29  bSizer3 = new wxBoxSizer( wxVERTICAL );
30 
31  m_buttonRemp = new wxButton( this, wxID_ANY, wxT("Remap Symbols"), wxDefaultPosition, wxDefaultSize, 0 );
32  bSizer3->Add( m_buttonRemp, 0, wxALL|wxEXPAND, 5 );
33 
34  m_buttonClose = new wxButton( this, wxID_CANCEL, wxT("Close"), wxDefaultPosition, wxDefaultSize, 0 );
35  bSizer3->Add( m_buttonClose, 0, wxALL|wxEXPAND, 5 );
36 
37 
38  bSizer2->Add( bSizer3, 1, wxEXPAND, 5 );
39 
40 
41  bSizer1->Add( bSizer2, 0, wxEXPAND|wxLEFT|wxRIGHT|wxTOP, 5 );
42 
43  wxBoxSizer* bSizer4;
44  bSizer4 = new wxBoxSizer( wxVERTICAL );
45 
46  m_messagePanel = new WX_HTML_REPORT_PANEL( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
47  m_messagePanel->SetMinSize( wxSize( -1,150 ) );
48 
49  bSizer4->Add( m_messagePanel, 1, wxEXPAND | wxALL, 5 );
50 
51 
52  bSizer1->Add( bSizer4, 1, wxEXPAND, 5 );
53 
54 
55  this->SetSizer( bSizer1 );
56  this->Layout();
57  bSizer1->Fit( this );
58 
59  this->Centre( wxBOTH );
60 
61  // Connect Events
62  m_buttonRemp->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SYMBOL_REMAP_BASE::OnRemapSymbols ), NULL, this );
63 }
64 
66 {
67  // Disconnect Events
68  m_buttonRemp->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_SYMBOL_REMAP_BASE::OnRemapSymbols ), NULL, this );
69 
70 }
Class DIALOG_SHIM may sit in the inheritance tree between wxDialog and any class written by wxFormBui...
Definition: dialog_shim.h:60
DIALOG_SYMBOL_REMAP_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=wxT("Remap Symbols"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
WX_HTML_REPORT_PANEL * m_messagePanel
virtual void OnRemapSymbols(wxCommandEvent &event)
Class WX_HTML_REPORT_PANEL.