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 )
16 wxBoxSizer* bSizerMain;
17 bSizerMain =
new wxBoxSizer( wxHORIZONTAL );
20 bSizer3 =
new wxBoxSizer( wxVERTICAL );
22 m_staticText1 =
new wxStaticText(
this, wxID_ANY, wxT(
"Jobs"), wxDefaultPosition, wxDefaultSize, 0 );
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 );
30 bSizer2 =
new wxBoxSizer( wxHORIZONTAL );
32 m_buttonAddJob =
new wxBitmapButton(
this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
35 m_buttonUp =
new wxBitmapButton(
this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
38 m_buttonDown =
new wxBitmapButton(
this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
42 bSizer2->Add( 0, 0, 1, wxEXPAND, 5 );
44 m_buttonSave =
new wxButton(
this, wxID_ANY, wxT(
"Save"), wxDefaultPosition, wxDefaultSize, 0 );
45 bSizer2->Add(
m_buttonSave, 0, wxALIGN_CENTER|wxALL, 5 );
48 bSizer3->Add( bSizer2, 0, wxEXPAND, 5 );
51 bSizerMain->Add( bSizer3, 2, wxEXPAND, 5 );
54 bSizer4 =
new wxBoxSizer( wxVERTICAL );
57 bSizer14 =
new wxBoxSizer( wxHORIZONTAL );
59 m_staticText4 =
new wxStaticText(
this, wxID_ANY, wxT(
"Outputs"), wxDefaultPosition, wxDefaultSize, 0 );
63 m_buttonOutputAdd =
new wxBitmapButton(
this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
67 bSizer4->Add( bSizer14, 0, wxEXPAND, 5 );
69 m_outputList =
new wxScrolledWindow(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxVSCROLL );
79 m_buttonRunAllOutputs =
new wxButton(
this, wxID_ANY, wxT(
"Run All Jobs"), wxDefaultPosition, wxDefaultSize, 0 );
85 bSizerMain->Add( bSizer4, 1, wxEXPAND, 5 );
88 this->SetSizer( bSizerMain );
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 )
118 this->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_3DLIGHT ) );
120 wxBoxSizer* bSizerMain;
121 bSizerMain =
new wxBoxSizer( wxHORIZONTAL );
123 m_bitmapOutputType =
new wxStaticBitmap(
this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
126 wxBoxSizer* bSizer12;
127 bSizer12 =
new wxBoxSizer( wxVERTICAL );
129 wxBoxSizer* bSizer14;
130 bSizer14 =
new wxBoxSizer( wxHORIZONTAL );
132 m_textOutputType =
new wxStaticText(
this, wxID_ANY, wxT(
"Placeholder"), wxDefaultPosition, wxDefaultSize, 0 );
134 m_textOutputType->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD,
false, wxEmptyString ) );
138 m_statusBitmap =
new wxStaticBitmap(
this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, 0 );
142 bSizer12->Add( bSizer14, 1, wxEXPAND, 5 );
145 bSizerMain->Add( bSizer12, 1, wxEXPAND, 5 );
147 wxBoxSizer* bSizer13;
148 bSizer13 =
new wxBoxSizer( wxVERTICAL );
150 m_buttonOutputRun =
new wxBitmapButton(
this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
153 m_buttonOutputOptions =
new wxBitmapButton(
this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
157 bSizerMain->Add( bSizer13, 0, wxEXPAND, 5 );
160 this->SetSizer( bSizerMain );
162 bSizerMain->Fit(
this );
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 )
181 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
183 wxBoxSizer* bSizerMain;
184 bSizerMain =
new wxBoxSizer( wxVERTICAL );
186 m_staticText9 =
new wxStaticText(
this, wxID_ANY, wxT(
"Options"), wxDefaultPosition, wxDefaultSize, 0 );
188 m_staticText9->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD,
false, wxEmptyString ) );
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 );
202 wxArrayString m_choiceArchiveformatChoices;
211 wxBoxSizer* bSizer16;
212 bSizer16 =
new wxBoxSizer( wxHORIZONTAL );
223 fgSizer1->Add( bSizer16, 1, wxEXPAND, 5 );
225 m_staticText10 =
new wxStaticText(
m_panel9, wxID_ANY, wxT(
"Only Jobs"), wxDefaultPosition, wxDefaultSize, 0 );
229 m_listBoxOnly =
new wxListBox(
m_panel9, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, NULL, wxLB_ALWAYS_SB|wxLB_MULTIPLE );
238 bSizerMain->Add(
m_panel9, 1, wxEXPAND | wxALL, 5 );
250 this->SetSizer( bSizerMain );
253 this->Centre( wxBOTH );
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 )
268 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
270 wxBoxSizer* bSizerMain;
271 bSizerMain =
new wxBoxSizer( wxVERTICAL );
273 m_staticText9 =
new wxStaticText(
this, wxID_ANY, wxT(
"Options"), wxDefaultPosition, wxDefaultSize, 0 );
275 m_staticText9->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD,
false, wxEmptyString ) );
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 );
285 m_textCommand =
new wxStaticText(
m_panel9, wxID_ANY, wxT(
"Command"), wxDefaultPosition, wxDefaultSize, 0 );
295 fgSizer1->Add( 0, 0, 1, wxEXPAND, 5 );
310 fgSizer1->Add( 0, 0, 1, wxEXPAND, 5 );
312 m_cbIgnoreExitCode =
new wxCheckBox(
m_panel9, wxID_ANY, wxT(
"Ignore non-zero exit code"), wxDefaultPosition, wxDefaultSize, 0 );
319 bSizerMain->Add(
m_panel9, 1, wxEXPAND | wxALL, 5 );
331 this->SetSizer( bSizerMain );
333 bSizerMain->Fit(
this );
335 this->Centre( wxBOTH );
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 )
350 this->SetSizeHints( wxSize( 450,250 ), wxDefaultSize );
352 wxBoxSizer* bMainSizer;
353 bMainSizer =
new wxBoxSizer( wxVERTICAL );
355 m_staticTextOutputName =
new wxStaticText(
this, wxID_ANY, wxT(
"Placeholder"), wxDefaultPosition, wxDefaultSize, 0 );
359 wxBoxSizer* bSizer16;
360 bSizer16 =
new wxBoxSizer( wxHORIZONTAL );
362 m_jobList =
new wxListCtrl(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_SINGLE_SEL );
363 bSizer16->Add(
m_jobList, 1, wxALL|wxEXPAND, 5 );
366 bMainSizer->Add( bSizer16, 1, wxEXPAND, 5 );
373 bMainSizer->Add(
m_sdbSizer, 0, wxEXPAND, 5 );
376 this->SetSizer( bMainSizer );
378 bMainSizer->Fit(
this );
380 this->Centre( wxBOTH );
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)
wxButton * m_sdbSizer1Save
wxButton * m_sdbSizer1Cancel
wxStaticText * m_textOutputPath
wxStdDialogButtonSizer * m_sdbSizer1
wxStaticText * m_staticText10
wxStaticText * m_textArchiveFormat
virtual void onOutputPathBrowseClicked(wxCommandEvent &event)
~DIALOG_JOB_OUTPUT_BASE()
STD_BITMAP_BUTTON * m_buttonOutputPath
wxListBox * m_listBoxOnly
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_OUTPUT_RUN_RESULTS_BASE()
wxStaticText * m_staticTextOutputName
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
wxCheckBox * m_cbIgnoreExitCode
wxStaticText * m_textOutputPath
wxTextCtrl * m_textCtrlCommand
wxStaticText * m_staticText9
virtual void OnRecordOutputClicked(wxCommandEvent &event)
wxTextCtrl * m_textCtrlOutputPath
wxCheckBox * m_cbRecordOutput
wxButton * m_sdbSizer1Save
wxStaticText * m_textCommand
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)
~DIALOG_SPECIAL_EXECUTE_BASE()
wxButton * m_sdbSizer1Cancel
wxStdDialogButtonSizer * m_sdbSizer1
wxBitmapButton * m_buttonUp
virtual void OnRunAllJobsClick(wxCommandEvent &event)
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
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)