25 Create_Output_Files_Dialog_Base::Create_Output_Files_Dialog_Base( wxWindow* parent, wxWindowID
id,
const wxString& title,
const wxPoint& pos,
const wxSize& size,
long style ) : wxDialog( parent, id, title, pos, size, style )
27 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
30 bSizer1 =
new wxBoxSizer( wxVERTICAL );
33 bSizer1->Add( 0, 10, 0, 0, 5 );
36 bSizer2 =
new wxBoxSizer( wxHORIZONTAL );
39 bSizer2->Add( 10, 0, 0, 0, 5 );
41 label_message =
new wxStaticText(
this, wxID_ANY, wxT(
"Creating output files. Please wait ..."), wxDefaultPosition, wxDefaultSize, 0 );
43 bSizer2->Add(
label_message, 1, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
46 bSizer2->Add( 10, 0, 0, 0, 5 );
48 bSizer1->Add( bSizer2, 1, wxEXPAND, 5 );
51 bSizer1->Add( 0, 5, 0, wxEXPAND, 5 );
54 bSizer4 =
new wxBoxSizer( wxHORIZONTAL );
57 bSizer4->Add( 10, 0, 0, 0, 5 );
59 progress_bar =
new wxGauge(
this, wxID_ANY, 10, wxDefaultPosition, wxSize( -1,15 ), wxGA_HORIZONTAL );
61 bSizer4->Add(
progress_bar, 1, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
64 bSizer4->Add( 10, 0, 0, 0, 5 );
66 bSizer1->Add( bSizer4, 1, wxEXPAND, 5 );
69 bSizer1->Add( 0, 5, 0, 0, 5 );
72 bSizer3 =
new wxBoxSizer( wxHORIZONTAL );
75 bSizer3->Add( 0, 0, 1, wxEXPAND, 5 );
77 button_done =
new wxButton(
this, wxID_ANY, wxT(
"Done"), wxDefaultPosition, wxDefaultSize, 0 );
81 bSizer3->Add( 10, 0, 0, 0, 5 );
83 bSizer1->Add( bSizer3, 1, wxEXPAND, 5 );
85 this->SetSizer( bSizer1 );
~Create_Output_Files_Dialog_Base()
wxStaticText * label_message
virtual void onButtonDoneClicked(wxCommandEvent &event)
virtual void onDialogClose(wxCloseEvent &event)
Create_Output_Files_Dialog_Base(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=wxT("Creating files"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(250, 130), long style=wxDEFAULT_DIALOG_STYLE)