KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_export_netlist_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
13
14BEGIN_EVENT_TABLE( DIALOG_EXPORT_NETLIST_BASE, DIALOG_SHIM )
15 EVT_NOTEBOOK_PAGE_CHANGED( ID_CHANGE_NOTEBOOK_PAGE, DIALOG_EXPORT_NETLIST_BASE::_wxFB_OnNetlistTypeSelection )
16 EVT_BUTTON( ID_ADD_PLUGIN, DIALOG_EXPORT_NETLIST_BASE::_wxFB_OnAddGenerator )
17 EVT_BUTTON( ID_DEL_PLUGIN, DIALOG_EXPORT_NETLIST_BASE::_wxFB_OnDelGenerator )
18END_EVENT_TABLE()
19
20DIALOG_EXPORT_NETLIST_BASE::DIALOG_EXPORT_NETLIST_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : DIALOG_SHIM( parent, id, title, pos, size, style )
21{
22 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
23
24 wxBoxSizer* bMainSizer;
25 bMainSizer = new wxBoxSizer( wxVERTICAL );
26
27 wxBoxSizer* bUpperSizer;
28 bUpperSizer = new wxBoxSizer( wxVERTICAL );
29
30 wxBoxSizer* bSizer8;
31 bSizer8 = new wxBoxSizer( wxHORIZONTAL );
32
33 m_staticTextOutputPath = new wxStaticText( this, wxID_ANY, _("Output Path:"), wxDefaultPosition, wxDefaultSize, 0 );
34 m_staticTextOutputPath->Wrap( -1 );
35 bSizer8->Add( m_staticTextOutputPath, 0, wxALL, 5 );
36
37 m_outputPath = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
38 m_outputPath->SetMinSize( wxSize( 450,-1 ) );
39
40 bSizer8->Add( m_outputPath, 0, wxALL, 5 );
41
42
43 bUpperSizer->Add( bSizer8, 1, wxEXPAND, 5 );
44
45 m_NoteBook = new wxNotebook( this, ID_CHANGE_NOTEBOOK_PAGE, wxDefaultPosition, wxDefaultSize, 0 );
46 m_NoteBook->SetMinSize( wxSize( 540,-1 ) );
47
48
49 bUpperSizer->Add( m_NoteBook, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
50
51 wxBoxSizer* bSizerMsgPanel;
52 bSizerMsgPanel = new wxBoxSizer( wxVERTICAL );
53
54 m_MessagesBox = new WX_HTML_REPORT_PANEL( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
55 bSizerMsgPanel->Add( m_MessagesBox, 1, wxEXPAND|wxTOP, 5 );
56
57
58 bUpperSizer->Add( bSizerMsgPanel, 1, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
59
60
61 bMainSizer->Add( bUpperSizer, 1, wxEXPAND, 5 );
62
63 m_buttonSizer = new wxBoxSizer( wxHORIZONTAL );
64
65 m_buttonAddGenerator = new wxButton( this, ID_ADD_PLUGIN, _("Add Exporter..."), wxDefaultPosition, wxDefaultSize, 0 );
66 m_buttonSizer->Add( m_buttonAddGenerator, 0, wxALIGN_CENTER_VERTICAL, 5 );
67
68 m_buttonDelGenerator = new wxButton( this, ID_DEL_PLUGIN, _("Remove Exporter"), wxDefaultPosition, wxDefaultSize, 0 );
69 m_buttonSizer->Add( m_buttonDelGenerator, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
70
71 m_sdbSizer2 = new wxStdDialogButtonSizer();
72 m_sdbSizer2OK = new wxButton( this, wxID_OK );
73 m_sdbSizer2->AddButton( m_sdbSizer2OK );
74 m_sdbSizer2Cancel = new wxButton( this, wxID_CANCEL );
75 m_sdbSizer2->AddButton( m_sdbSizer2Cancel );
76 m_sdbSizer2->Realize();
77
78 m_buttonSizer->Add( m_sdbSizer2, 1, wxEXPAND, 5 );
79
80
81 bMainSizer->Add( m_buttonSizer, 0, wxBOTTOM|wxEXPAND|wxLEFT|wxTOP, 5 );
82
83
84 this->SetSizer( bMainSizer );
85 this->Layout();
86 bMainSizer->Fit( this );
87
88 this->Centre( wxBOTH );
89}
90
92{
93}
94
97END_EVENT_TABLE()
98
99NETLIST_DIALOG_ADD_GENERATOR_BASE::NETLIST_DIALOG_ADD_GENERATOR_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : DIALOG_SHIM( parent, id, title, pos, size, style )
100{
101 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
102
103 wxBoxSizer* bSizerMain;
104 bSizerMain = new wxBoxSizer( wxVERTICAL );
105
106 wxBoxSizer* bSizerTop;
107 bSizerTop = new wxBoxSizer( wxVERTICAL );
108
109 m_staticTextName = new wxStaticText( this, wxID_ANY, _("Name:"), wxDefaultPosition, wxDefaultSize, 0 );
110 m_staticTextName->Wrap( -1 );
111 bSizerTop->Add( m_staticTextName, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
112
113 m_textCtrlName = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
114 bSizerTop->Add( m_textCtrlName, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
115
116 m_staticTextCmd = new wxStaticText( this, wxID_ANY, _("Command line to run the exporter:"), wxDefaultPosition, wxDefaultSize, 0 );
117 m_staticTextCmd->Wrap( -1 );
118 bSizerTop->Add( m_staticTextCmd, 0, wxTOP|wxRIGHT|wxLEFT, 5 );
119
120 m_textCtrlCommand = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
121 m_textCtrlCommand->SetMinSize( wxSize( 500,-1 ) );
122
123 bSizerTop->Add( m_textCtrlCommand, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
124
125
126 bSizerMain->Add( bSizerTop, 1, wxEXPAND|wxALL, 5 );
127
128 wxBoxSizer* bSizerBottom;
129 bSizerBottom = new wxBoxSizer( wxHORIZONTAL );
130
131 m_buttonGenerator = new wxButton( this, wxID_BROWSE_PLUGINS, _("Browse Scripts..."), wxDefaultPosition, wxDefaultSize, 0 );
132 bSizerBottom->Add( m_buttonGenerator, 0, wxALL|wxEXPAND, 5 );
133
134 m_sdbSizer = new wxStdDialogButtonSizer();
135 m_sdbSizerOK = new wxButton( this, wxID_OK );
136 m_sdbSizer->AddButton( m_sdbSizerOK );
137 m_sdbSizerCancel = new wxButton( this, wxID_CANCEL );
138 m_sdbSizer->AddButton( m_sdbSizerCancel );
139 m_sdbSizer->Realize();
140
141 bSizerBottom->Add( m_sdbSizer, 1, wxEXPAND, 5 );
142
143
144 bSizerMain->Add( bSizerBottom, 0, wxEXPAND|wxTOP|wxBOTTOM|wxLEFT, 5 );
145
146
147 this->SetSizer( bSizerMain );
148 this->Layout();
149 bSizerMain->Fit( this );
150
151 this->Centre( wxBOTH );
152}
153
155{
156}
Class DIALOG_EXPORT_NETLIST_BASE.
void _wxFB_OnDelGenerator(wxCommandEvent &event)
void _wxFB_OnAddGenerator(wxCommandEvent &event)
void _wxFB_OnNetlistTypeSelection(wxNotebookEvent &event)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:88
Class NETLIST_DIALOG_ADD_GENERATOR_BASE.
void _wxFB_OnBrowseGenerators(wxCommandEvent &event)
A widget for browsing a rich text error/status report.
#define _(s)