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 m_textOutputType =
new wxStaticText(
this, wxID_ANY, wxT(
"Placeholder"), wxDefaultPosition, wxDefaultSize, 0 );
131 m_textOutputType->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD,
false, wxEmptyString ) );
136 bSizerMain->Add( bSizer12, 1, wxEXPAND, 5 );
138 wxBoxSizer* bSizer13;
139 bSizer13 =
new wxBoxSizer( wxVERTICAL );
141 m_buttonOutputRun =
new wxBitmapButton(
this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
144 m_buttonOutputOptions =
new wxBitmapButton(
this, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW|0 );
148 bSizerMain->Add( bSizer13, 0, wxEXPAND, 5 );
151 this->SetSizer( bSizerMain );
153 bSizerMain->Fit(
this );
168DIALOG_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 )
170 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
172 wxBoxSizer* bSizerMain;
173 bSizerMain =
new wxBoxSizer( wxVERTICAL );
175 m_staticText9 =
new wxStaticText(
this, wxID_ANY, wxT(
"Options"), wxDefaultPosition, wxDefaultSize, 0 );
177 m_staticText9->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD,
false, wxEmptyString ) );
181 m_panel9 =
new wxPanel(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
182 wxFlexGridSizer* fgSizer1;
183 fgSizer1 =
new wxFlexGridSizer( 0, 2, 0, 0 );
184 fgSizer1->SetFlexibleDirection( wxBOTH );
185 fgSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
191 wxArrayString m_choiceArchiveformatChoices;
200 wxBoxSizer* bSizer16;
201 bSizer16 =
new wxBoxSizer( wxHORIZONTAL );
212 fgSizer1->Add( bSizer16, 1, wxEXPAND, 5 );
214 m_staticText10 =
new wxStaticText(
m_panel9, wxID_ANY, wxT(
"Only Jobs"), wxDefaultPosition, wxDefaultSize, 0 );
218 m_listBoxOnly =
new wxListBox(
m_panel9, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0, NULL, wxLB_ALWAYS_SB|wxLB_MULTIPLE );
227 bSizerMain->Add(
m_panel9, 1, wxEXPAND | wxALL, 5 );
239 this->SetSizer( bSizerMain );
242 this->Centre( wxBOTH );
255DIALOG_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 )
257 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
259 wxBoxSizer* bSizerMain;
260 bSizerMain =
new wxBoxSizer( wxVERTICAL );
262 m_staticText9 =
new wxStaticText(
this, wxID_ANY, wxT(
"Options"), wxDefaultPosition, wxDefaultSize, 0 );
264 m_staticText9->SetFont( wxFont( wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_BOLD,
false, wxEmptyString ) );
268 m_panel9 =
new wxPanel(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
269 wxFlexGridSizer* fgSizer1;
270 fgSizer1 =
new wxFlexGridSizer( 0, 2, 0, 0 );
271 fgSizer1->SetFlexibleDirection( wxBOTH );
272 fgSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
274 m_textCommand =
new wxStaticText(
m_panel9, wxID_ANY, wxT(
"Command"), wxDefaultPosition, wxDefaultSize, 0 );
284 fgSizer1->Add( 0, 0, 1, wxEXPAND, 5 );
299 fgSizer1->Add( 0, 0, 1, wxEXPAND, 5 );
301 m_cbIgnoreExitCode =
new wxCheckBox(
m_panel9, wxID_ANY, wxT(
"Ignore non-zero exit code"), wxDefaultPosition, wxDefaultSize, 0 );
308 bSizerMain->Add(
m_panel9, 1, wxEXPAND | wxALL, 5 );
320 this->SetSizer( bSizerMain );
322 bSizerMain->Fit(
this );
324 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
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)
wxBitmapButton * m_buttonOutputRun
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)