KiCad PCB EDA Suite
Loading...
Searching...
No Matches
panel_jobs_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
10#include "panel_jobs_base.h"
11
13
14PANEL_JOBS_BASE::PANEL_JOBS_BASE( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxString& name ) : PANEL_NOTEBOOK_BASE( parent, id, pos, size, style, name )
15{
16 wxBoxSizer* bSizerMain;
17 bSizerMain = new wxBoxSizer( wxHORIZONTAL );
18
19 wxBoxSizer* bSizer3;
20 bSizer3 = new wxBoxSizer( wxVERTICAL );
21
22 m_staticText1 = new wxStaticText( this, wxID_ANY, wxT("Jobs"), wxDefaultPosition, wxDefaultSize, 0 );
23 m_staticText1->Wrap( -1 );
24 bSizer3->Add( m_staticText1, 0, wxALL, 5 );
25
26 m_jobList = new wxListCtrl( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL );
27 bSizer3->Add( m_jobList, 1, wxALL|wxBOTTOM|wxEXPAND|wxLEFT|wxTOP, 5 );
28
29 wxBoxSizer* bSizer2;
30 bSizer2 = new wxBoxSizer( wxHORIZONTAL );
31
32 m_buttonAddJob = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
33 bSizer2->Add( m_buttonAddJob, 0, wxALIGN_CENTER|wxALL, 5 );
34
35 m_buttonUp = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
36 bSizer2->Add( m_buttonUp, 0, wxALL, 5 );
37
38 m_buttonDown = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
39 bSizer2->Add( m_buttonDown, 0, wxALL, 5 );
40
41
42 bSizer2->Add( 0, 0, 1, wxEXPAND, 5 );
43
44 m_buttonSave = new wxButton( this, wxID_ANY, wxT("Save"), wxDefaultPosition, wxDefaultSize, 0 );
45 bSizer2->Add( m_buttonSave, 0, wxALIGN_CENTER|wxALL, 5 );
46
47
48 bSizer3->Add( bSizer2, 0, wxEXPAND, 5 );
49
50
51 bSizerMain->Add( bSizer3, 2, wxEXPAND, 5 );
52
53 wxBoxSizer* bSizer4;
54 bSizer4 = new wxBoxSizer( wxVERTICAL );
55
56 wxBoxSizer* bSizer14;
57 bSizer14 = new wxBoxSizer( wxHORIZONTAL );
58
59 m_staticText4 = new wxStaticText( this, wxID_ANY, wxT("Outputs"), wxDefaultPosition, wxDefaultSize, 0 );
60 m_staticText4->Wrap( -1 );
61 bSizer14->Add( m_staticText4, 0, wxALL, 5 );
62
63 m_buttonOutputAdd = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
64 bSizer14->Add( m_buttonOutputAdd, 0, 0, 5 );
65
66
67 bSizer4->Add( bSizer14, 0, wxEXPAND, 5 );
68
69 m_outputList = new wxScrolledWindow( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxVSCROLL );
70 m_outputList->SetScrollRate( 5, 5 );
71 m_outputListSizer = new wxBoxSizer( wxVERTICAL );
72
73
75 m_outputList->Layout();
77 bSizer4->Add( m_outputList, 1, wxEXPAND | wxALL, 0 );
78
79 m_buttonRunAllOutputs = new wxButton( this, wxID_ANY, wxT("Run All Jobs"), wxDefaultPosition, wxDefaultSize, 0 );
80 m_buttonRunAllOutputs->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_WINDOW ) );
81
82 bSizer4->Add( m_buttonRunAllOutputs, 0, wxALIGN_RIGHT|wxALL, 5 );
83
84
85 bSizerMain->Add( bSizer4, 1, wxEXPAND, 5 );
86
87
88 this->SetSizer( bSizerMain );
89 this->Layout();
90
91 // Connect Events
92 m_jobList->Connect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( PANEL_JOBS_BASE::OnJobListDoubleClicked ), NULL, this );
93 m_jobList->Connect( wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, wxListEventHandler( PANEL_JOBS_BASE::OnJobListItemRightClick ), NULL, this );
94 m_buttonAddJob->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( PANEL_JOBS_BASE::OnAddJobClick ), NULL, this );
95 m_buttonUp->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( PANEL_JOBS_BASE::OnJobButtonUp ), NULL, this );
96 m_buttonDown->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( PANEL_JOBS_BASE::OnJobButtonDown ), NULL, this );
97 m_buttonSave->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( PANEL_JOBS_BASE::OnSaveButtonClick ), NULL, this );
98 m_buttonOutputAdd->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( PANEL_JOBS_BASE::OnAddOutputClick ), NULL, this );
99 m_buttonRunAllOutputs->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( PANEL_JOBS_BASE::OnRunAllJobsClick ), NULL, this );
100}
101
103{
104 // Disconnect Events
105 m_jobList->Disconnect( wxEVT_COMMAND_LIST_ITEM_ACTIVATED, wxListEventHandler( PANEL_JOBS_BASE::OnJobListDoubleClicked ), NULL, this );
106 m_jobList->Disconnect( wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, wxListEventHandler( PANEL_JOBS_BASE::OnJobListItemRightClick ), NULL, this );
107 m_buttonAddJob->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( PANEL_JOBS_BASE::OnAddJobClick ), NULL, this );
108 m_buttonUp->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( PANEL_JOBS_BASE::OnJobButtonUp ), NULL, this );
109 m_buttonDown->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( PANEL_JOBS_BASE::OnJobButtonDown ), NULL, this );
110 m_buttonSave->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( PANEL_JOBS_BASE::OnSaveButtonClick ), NULL, this );
111 m_buttonOutputAdd->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( PANEL_JOBS_BASE::OnAddOutputClick ), NULL, this );
112 m_buttonRunAllOutputs->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( PANEL_JOBS_BASE::OnRunAllJobsClick ), NULL, this );
113
114}
115
116PANEL_JOB_OUTPUT_BASE::PANEL_JOB_OUTPUT_BASE( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxString& name ) : wxPanel( parent, id, pos, size, style, name )
117{
118 this->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_3DLIGHT ) );
119
120 wxBoxSizer* bSizerMain;
121 bSizerMain = new wxBoxSizer( wxHORIZONTAL );
122
123 m_bitmapOutputType = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
124 bSizerMain->Add( m_bitmapOutputType, 0, wxALL, 5 );
125
126 wxBoxSizer* bSizer12;
127 bSizer12 = new wxBoxSizer( wxVERTICAL );
128
129 wxBoxSizer* bSizer14;
130 bSizer14 = new wxBoxSizer( wxHORIZONTAL );
131
132 m_textOutputType = new wxStaticText( this, wxID_ANY, wxT("Placeholder"), wxDefaultPosition, wxDefaultSize, 0 );
133 m_textOutputType->Wrap( -1 );
134 m_textOutputType->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD, false, wxEmptyString ) );
135
136 bSizer14->Add( m_textOutputType, 0, wxALL, 5 );
137
138 m_statusBitmap = new wxStaticBitmap( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
139 bSizer14->Add( m_statusBitmap, 0, wxALL, 5 );
140
141
142 bSizer12->Add( bSizer14, 1, wxEXPAND, 5 );
143
144
145 bSizerMain->Add( bSizer12, 1, wxEXPAND, 5 );
146
147 wxBoxSizer* bSizer13;
148 bSizer13 = new wxBoxSizer( wxVERTICAL );
149
150 m_buttonOutputRun = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
151 bSizer13->Add( m_buttonOutputRun, 0, wxALL, 5 );
152
153 m_buttonOutputOptions = new wxBitmapButton( this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
154 bSizer13->Add( m_buttonOutputOptions, 0, wxALL, 5 );
155
156
157 bSizerMain->Add( bSizer13, 0, wxEXPAND, 5 );
158
159
160 this->SetSizer( bSizerMain );
161 this->Layout();
162 bSizerMain->Fit( this );
163
164 // Connect Events
165 m_statusBitmap->Connect( wxEVT_LEFT_DOWN, wxMouseEventHandler( PANEL_JOB_OUTPUT_BASE::OnLastStatusClick ), NULL, this );
166 m_buttonOutputRun->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( PANEL_JOB_OUTPUT_BASE::OnOutputRunClick ), NULL, this );
167 m_buttonOutputOptions->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( PANEL_JOB_OUTPUT_BASE::OnOutputOptionsClick ), NULL, this );
168}
169
171{
172 // Disconnect Events
173 m_statusBitmap->Disconnect( wxEVT_LEFT_DOWN, wxMouseEventHandler( PANEL_JOB_OUTPUT_BASE::OnLastStatusClick ), NULL, this );
174 m_buttonOutputRun->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( PANEL_JOB_OUTPUT_BASE::OnOutputRunClick ), NULL, this );
175 m_buttonOutputOptions->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( PANEL_JOB_OUTPUT_BASE::OnOutputOptionsClick ), NULL, this );
176
177}
178
179DIALOG_JOB_OUTPUT_BASE::DIALOG_JOB_OUTPUT_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : DIALOG_SHIM( parent, id, title, pos, size, style )
180{
181 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
182
183 wxBoxSizer* bSizerMain;
184 bSizerMain = new wxBoxSizer( wxVERTICAL );
185
186 m_staticText9 = new wxStaticText( this, wxID_ANY, wxT("Options"), wxDefaultPosition, wxDefaultSize, 0 );
187 m_staticText9->Wrap( -1 );
188 m_staticText9->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD, false, wxEmptyString ) );
189
190 bSizerMain->Add( m_staticText9, 0, wxALL, 5 );
191
192 m_panel9 = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
193 wxFlexGridSizer* fgSizer1;
194 fgSizer1 = new wxFlexGridSizer( 0, 2, 0, 0 );
195 fgSizer1->SetFlexibleDirection( wxBOTH );
196 fgSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
197
198 m_textArchiveFormat = new wxStaticText( m_panel9, wxID_ANY, wxT("Format"), wxDefaultPosition, wxDefaultSize, 0 );
199 m_textArchiveFormat->Wrap( -1 );
200 fgSizer1->Add( m_textArchiveFormat, 0, wxALL, 5 );
201
202 wxArrayString m_choiceArchiveformatChoices;
203 m_choiceArchiveformat = new wxChoice( m_panel9, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choiceArchiveformatChoices, 0 );
204 m_choiceArchiveformat->SetSelection( 0 );
205 fgSizer1->Add( m_choiceArchiveformat, 0, wxALL, 5 );
206
207 m_textOutputPath = new wxStaticText( m_panel9, wxID_ANY, wxT("Output Path"), wxDefaultPosition, wxDefaultSize, 0 );
208 m_textOutputPath->Wrap( -1 );
209 fgSizer1->Add( m_textOutputPath, 0, wxALL, 5 );
210
211 wxBoxSizer* bSizer16;
212 bSizer16 = new wxBoxSizer( wxHORIZONTAL );
213
214 m_textCtrlOutputPath = new wxTextCtrl( m_panel9, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
215 m_textCtrlOutputPath->SetMinSize( wxSize( 350,-1 ) );
216
217 bSizer16->Add( m_textCtrlOutputPath, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
218
219 m_buttonOutputPath = new STD_BITMAP_BUTTON( m_panel9, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
220 bSizer16->Add( m_buttonOutputPath, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
221
222
223 fgSizer1->Add( bSizer16, 1, wxEXPAND, 5 );
224
225 m_staticText10 = new wxStaticText( m_panel9, wxID_ANY, wxT("Only Jobs"), wxDefaultPosition, wxDefaultSize, 0 );
226 m_staticText10->Wrap( -1 );
227 fgSizer1->Add( m_staticText10, 0, wxALL, 5 );
228
229 m_listBoxOnly = new wxListBox( m_panel9, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, NULL, wxLB_ALWAYS_SB|wxLB_MULTIPLE );
230 m_listBoxOnly->SetMinSize( wxSize( 300,200 ) );
231
232 fgSizer1->Add( m_listBoxOnly, 0, wxALL, 5 );
233
234
235 m_panel9->SetSizer( fgSizer1 );
236 m_panel9->Layout();
237 fgSizer1->Fit( m_panel9 );
238 bSizerMain->Add( m_panel9, 1, wxEXPAND | wxALL, 5 );
239
240 m_sdbSizer1 = new wxStdDialogButtonSizer();
241 m_sdbSizer1Save = new wxButton( this, wxID_SAVE );
242 m_sdbSizer1->AddButton( m_sdbSizer1Save );
243 m_sdbSizer1Cancel = new wxButton( this, wxID_CANCEL );
244 m_sdbSizer1->AddButton( m_sdbSizer1Cancel );
245 m_sdbSizer1->Realize();
246
247 bSizerMain->Add( m_sdbSizer1, 0, wxEXPAND, 5 );
248
249
250 this->SetSizer( bSizerMain );
251 this->Layout();
252
253 this->Centre( wxBOTH );
254
255 // Connect Events
256 m_buttonOutputPath->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_JOB_OUTPUT_BASE::onOutputPathBrowseClicked ), NULL, this );
257}
258
260{
261 // Disconnect Events
262 m_buttonOutputPath->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_JOB_OUTPUT_BASE::onOutputPathBrowseClicked ), NULL, this );
263
264}
265
266DIALOG_SPECIAL_EXECUTE_BASE::DIALOG_SPECIAL_EXECUTE_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : DIALOG_SHIM( parent, id, title, pos, size, style )
267{
268 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
269
270 wxBoxSizer* bSizerMain;
271 bSizerMain = new wxBoxSizer( wxVERTICAL );
272
273 m_staticText9 = new wxStaticText( this, wxID_ANY, wxT("Options"), wxDefaultPosition, wxDefaultSize, 0 );
274 m_staticText9->Wrap( -1 );
275 m_staticText9->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD, false, wxEmptyString ) );
276
277 bSizerMain->Add( m_staticText9, 0, wxALL, 5 );
278
279 m_panel9 = new wxPanel( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
280 wxFlexGridSizer* fgSizer1;
281 fgSizer1 = new wxFlexGridSizer( 0, 2, 0, 0 );
282 fgSizer1->SetFlexibleDirection( wxBOTH );
283 fgSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
284
285 m_textCommand = new wxStaticText( m_panel9, wxID_ANY, wxT("Command"), wxDefaultPosition, wxDefaultSize, 0 );
286 m_textCommand->Wrap( -1 );
287 fgSizer1->Add( m_textCommand, 0, wxALL, 5 );
288
289 m_textCtrlCommand = new wxTextCtrl( m_panel9, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
290 m_textCtrlCommand->SetMinSize( wxSize( 350,-1 ) );
291
292 fgSizer1->Add( m_textCtrlCommand, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
293
294
295 fgSizer1->Add( 0, 0, 1, wxEXPAND, 5 );
296
297 m_cbRecordOutput = new wxCheckBox( m_panel9, wxID_ANY, wxT("Record Output"), wxDefaultPosition, wxDefaultSize, 0 );
298 fgSizer1->Add( m_cbRecordOutput, 0, wxALL, 5 );
299
300 m_textOutputPath = new wxStaticText( m_panel9, wxID_ANY, wxT("Output Path"), wxDefaultPosition, wxDefaultSize, 0 );
301 m_textOutputPath->Wrap( -1 );
302 fgSizer1->Add( m_textOutputPath, 0, wxALL, 5 );
303
304 m_textCtrlOutputPath = new wxTextCtrl( m_panel9, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
305 m_textCtrlOutputPath->SetMinSize( wxSize( 350,-1 ) );
306
307 fgSizer1->Add( m_textCtrlOutputPath, 0, wxALL, 5 );
308
309
310 fgSizer1->Add( 0, 0, 1, wxEXPAND, 5 );
311
312 m_cbIgnoreExitCode = new wxCheckBox( m_panel9, wxID_ANY, wxT("Ignore non-zero exit code"), wxDefaultPosition, wxDefaultSize, 0 );
313 fgSizer1->Add( m_cbIgnoreExitCode, 1, wxALL, 5 );
314
315
316 m_panel9->SetSizer( fgSizer1 );
317 m_panel9->Layout();
318 fgSizer1->Fit( m_panel9 );
319 bSizerMain->Add( m_panel9, 1, wxEXPAND | wxALL, 5 );
320
321 m_sdbSizer1 = new wxStdDialogButtonSizer();
322 m_sdbSizer1Save = new wxButton( this, wxID_SAVE );
323 m_sdbSizer1->AddButton( m_sdbSizer1Save );
324 m_sdbSizer1Cancel = new wxButton( this, wxID_CANCEL );
325 m_sdbSizer1->AddButton( m_sdbSizer1Cancel );
326 m_sdbSizer1->Realize();
327
328 bSizerMain->Add( m_sdbSizer1, 0, wxEXPAND, 5 );
329
330
331 this->SetSizer( bSizerMain );
332 this->Layout();
333 bSizerMain->Fit( this );
334
335 this->Centre( wxBOTH );
336
337 // Connect Events
338 m_cbRecordOutput->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_SPECIAL_EXECUTE_BASE::OnRecordOutputClicked ), NULL, this );
339}
340
342{
343 // Disconnect Events
344 m_cbRecordOutput->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_SPECIAL_EXECUTE_BASE::OnRecordOutputClicked ), NULL, this );
345
346}
347
348DIALOG_OUTPUT_RUN_RESULTS_BASE::DIALOG_OUTPUT_RUN_RESULTS_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : DIALOG_SHIM( parent, id, title, pos, size, style )
349{
350 this->SetSizeHints( wxSize( 450,250 ), wxDefaultSize );
351
352 wxBoxSizer* bMainSizer;
353 bMainSizer = new wxBoxSizer( wxVERTICAL );
354
355 m_staticTextOutputName = new wxStaticText( this, wxID_ANY, wxT("Placeholder"), wxDefaultPosition, wxDefaultSize, 0 );
356 m_staticTextOutputName->Wrap( -1 );
357 bMainSizer->Add( m_staticTextOutputName, 0, wxALL, 5 );
358
359 wxBoxSizer* bSizer16;
360 bSizer16 = new wxBoxSizer( wxHORIZONTAL );
361
362 m_jobList = new wxListCtrl( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL );
363 bSizer16->Add( m_jobList, 1, wxALL|wxEXPAND, 5 );
364
365
366 bMainSizer->Add( bSizer16, 1, wxEXPAND, 5 );
367
368 m_sdbSizer = new wxStdDialogButtonSizer();
369 m_sdbSizerOK = new wxButton( this, wxID_OK );
370 m_sdbSizer->AddButton( m_sdbSizerOK );
371 m_sdbSizer->Realize();
372
373 bMainSizer->Add( m_sdbSizer, 0, wxEXPAND, 5 );
374
375
376 this->SetSizer( bMainSizer );
377 this->Layout();
378 bMainSizer->Fit( this );
379
380 this->Centre( wxBOTH );
381
382 // Connect Events
383 m_sdbSizerOK->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_OUTPUT_RUN_RESULTS_BASE::OnButtonOk ), NULL, this );
384}
385
387{
388 // Disconnect Events
389 m_sdbSizerOK->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_OUTPUT_RUN_RESULTS_BASE::OnButtonOk ), NULL, this );
390
391}
const char * name
Definition: DXF_plotter.cpp:57
DIALOG_JOB_OUTPUT_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=wxEmptyString, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(495, 369), long style=wxDEFAULT_DIALOG_STYLE)
wxStaticText * m_textOutputPath
wxStdDialogButtonSizer * m_sdbSizer1
wxStaticText * m_staticText10
wxStaticText * m_textArchiveFormat
virtual void onOutputPathBrowseClicked(wxCommandEvent &event)
STD_BITMAP_BUTTON * m_buttonOutputPath
wxChoice * m_choiceArchiveformat
wxStaticText * m_staticText9
wxTextCtrl * m_textCtrlOutputPath
virtual void OnButtonOk(wxCommandEvent &event)
wxStdDialogButtonSizer * m_sdbSizer
DIALOG_OUTPUT_RUN_RESULTS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=wxT("Job Output Run Log"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:88
virtual void OnRecordOutputClicked(wxCommandEvent &event)
DIALOG_SPECIAL_EXECUTE_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=wxEmptyString, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE)
wxStdDialogButtonSizer * m_sdbSizer1
wxBitmapButton * m_buttonUp
virtual void OnRunAllJobsClick(wxCommandEvent &event)
wxButton * m_buttonSave
virtual void OnAddJobClick(wxCommandEvent &event)
virtual void OnJobListItemRightClick(wxListEvent &event)
virtual void OnAddOutputClick(wxCommandEvent &event)
wxBitmapButton * m_buttonAddJob
virtual void OnJobButtonDown(wxCommandEvent &event)
wxButton * m_buttonRunAllOutputs
wxStaticText * m_staticText1
wxStaticText * m_staticText4
wxBoxSizer * m_outputListSizer
virtual void OnJobListDoubleClicked(wxListEvent &event)
wxBitmapButton * m_buttonOutputAdd
wxListCtrl * m_jobList
wxScrolledWindow * m_outputList
wxBitmapButton * m_buttonDown
virtual void OnSaveButtonClick(wxCommandEvent &event)
virtual void OnJobButtonUp(wxCommandEvent &event)
PANEL_JOBS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(600, 400), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
virtual void OnLastStatusClick(wxMouseEvent &event)
wxBitmapButton * m_buttonOutputRun
wxStaticBitmap * m_statusBitmap
PANEL_JOB_OUTPUT_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxBORDER_SIMPLE|wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
wxStaticBitmap * m_bitmapOutputType
wxBitmapButton * m_buttonOutputOptions
virtual void OnOutputOptionsClick(wxCommandEvent &event)
wxStaticText * m_textOutputType
virtual void OnOutputRunClick(wxCommandEvent &event)
A bitmap button widget that behaves like a standard dialog button except with an icon.