12DIALOG_COPYFILES_JOB_SETTINGS_BASE::DIALOG_COPYFILES_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_textSource =
new wxStaticText(
this, wxID_ANY,
_(
"Source:"), wxDefaultPosition, wxDefaultSize, 0 );
26 fgSizer1->Add(
m_textSource, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
28 m_textCtrlSource =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
33 m_textDest =
new wxStaticText(
this, wxID_ANY,
_(
"Destination:"), wxDefaultPosition, wxDefaultSize, 0 );
35 fgSizer1->Add(
m_textDest, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
37 m_textCtrlDest =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
40 fgSizer1->Add(
m_textCtrlDest, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
43 bSizerMain->Add( fgSizer1, 1, wxALL|wxEXPAND, 5 );
45 wxBoxSizer* bSizerBottom;
46 bSizerBottom =
new wxBoxSizer( wxVERTICAL );
48 m_cbGenerateError =
new wxCheckBox(
this, wxID_ANY,
_(
"Generate error if no files copied"), wxDefaultPosition, wxDefaultSize, 0 );
51 m_cbOverwrite =
new wxCheckBox(
this, wxID_ANY,
_(
"Overwrite files in destination"), wxDefaultPosition, wxDefaultSize, 0 );
56 bSizerMain->Add( bSizerBottom, 0, wxALL|wxEXPAND, 5 );
65 bSizerMain->Add(
m_sdbSizer1, 0, wxALL|wxEXPAND, 5 );
68 this->SetSizer( bSizerMain );
70 bSizerMain->Fit(
this );
72 this->Centre( wxBOTH );
wxStaticText * m_textSource
wxTextCtrl * m_textCtrlDest
DIALOG_COPYFILES_JOB_SETTINGS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Copy Files Job Settings"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE)
wxCheckBox * m_cbGenerateError
wxButton * m_sdbSizer1Cancel
~DIALOG_COPYFILES_JOB_SETTINGS_BASE()
wxTextCtrl * m_textCtrlSource
wxCheckBox * m_cbOverwrite
wxStdDialogButtonSizer * m_sdbSizer1
virtual void OnRecordOutputClicked(wxCommandEvent &event)
wxStaticText * m_textDest
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...