12DIALOG_EXECUTECOMMAND_JOB_SETTINGS_BASE::DIALOG_EXECUTECOMMAND_JOB_SETTINGS_BASE( wxWindow* parent, wxWindowID
id,
const wxString& title,
const wxPoint& pos,
const wxSize& size,
long style ) :
DIALOG_SHIM( parent, id, title, pos, size, style )
14 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
16 wxBoxSizer* bSizerMain;
17 bSizerMain =
new wxBoxSizer( wxVERTICAL );
19 wxFlexGridSizer* fgSizer1;
20 fgSizer1 =
new wxFlexGridSizer( 0, 2, 5, 5 );
21 fgSizer1->SetFlexibleDirection( wxBOTH );
22 fgSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
24 m_textCommand =
new wxStaticText(
this, wxID_ANY,
_(
"Command:"), wxDefaultPosition, wxDefaultSize, 0 );
26 fgSizer1->Add(
m_textCommand, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
28 m_textCtrlCommand =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
33 m_textOutputPath =
new wxStaticText(
this, wxID_ANY,
_(
"Output path:"), wxDefaultPosition, wxDefaultSize, 0 );
37 m_textCtrlOutputPath =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
43 bSizerMain->Add( fgSizer1, 1, wxALL|wxEXPAND, 5 );
45 wxBoxSizer* bSizerBottom;
46 bSizerBottom =
new wxBoxSizer( wxVERTICAL );
48 m_cbRecordOutput =
new wxCheckBox(
this, wxID_ANY,
_(
"Record output messages"), wxDefaultPosition, wxDefaultSize, 0 );
51 m_cbIgnoreExitCode =
new wxCheckBox(
this, wxID_ANY,
_(
"Ignore non-zero exit code"), wxDefaultPosition, wxDefaultSize, 0 );
55 bSizerMain->Add( bSizerBottom, 0, wxALL|wxEXPAND, 5 );
64 bSizerMain->Add(
m_sdbSizer1, 0, wxALL|wxEXPAND, 5 );
67 this->SetSizer( bSizerMain );
69 bSizerMain->Fit(
this );
71 this->Centre( wxBOTH );
wxCheckBox * m_cbRecordOutput
~DIALOG_EXECUTECOMMAND_JOB_SETTINGS_BASE()
wxStaticText * m_textCommand
wxButton * m_sdbSizer1Cancel
wxStdDialogButtonSizer * m_sdbSizer1
virtual void OnRecordOutputClicked(wxCommandEvent &event)
wxCheckBox * m_cbIgnoreExitCode
wxStaticText * m_textOutputPath
wxTextCtrl * m_textCtrlCommand
DIALOG_EXECUTECOMMAND_JOB_SETTINGS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Execute Command Job Settings"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE)
wxTextCtrl * m_textCtrlOutputPath
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...