Create_Output_Files_Dialog_Base.cpp
Go to the documentation of this file.
1 
22 
23 
24 
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 )
26 {
27  this->SetSizeHints( wxDefaultSize, wxDefaultSize );
28 
29  wxBoxSizer* bSizer1;
30  bSizer1 = new wxBoxSizer( wxVERTICAL );
31 
32 
33  bSizer1->Add( 0, 10, 0, 0, 5 );
34 
35  wxBoxSizer* bSizer2;
36  bSizer2 = new wxBoxSizer( wxHORIZONTAL );
37 
38 
39  bSizer2->Add( 10, 0, 0, 0, 5 );
40 
41  label_message = new wxStaticText( this, wxID_ANY, wxT("Creating output files. Please wait ..."), wxDefaultPosition, wxDefaultSize, 0 );
42  label_message->Wrap( -1 );
43  bSizer2->Add( label_message, 1, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
44 
45 
46  bSizer2->Add( 10, 0, 0, 0, 5 );
47 
48  bSizer1->Add( bSizer2, 1, wxEXPAND, 5 );
49 
50 
51  bSizer1->Add( 0, 5, 0, wxEXPAND, 5 );
52 
53  wxBoxSizer* bSizer4;
54  bSizer4 = new wxBoxSizer( wxHORIZONTAL );
55 
56 
57  bSizer4->Add( 10, 0, 0, 0, 5 );
58 
59  progress_bar = new wxGauge( this, wxID_ANY, 10, wxDefaultPosition, wxSize( -1,15 ), wxGA_HORIZONTAL );
60  progress_bar->SetValue( 0 );
61  bSizer4->Add( progress_bar, 1, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
62 
63 
64  bSizer4->Add( 10, 0, 0, 0, 5 );
65 
66  bSizer1->Add( bSizer4, 1, wxEXPAND, 5 );
67 
68 
69  bSizer1->Add( 0, 5, 0, 0, 5 );
70 
71  wxBoxSizer* bSizer3;
72  bSizer3 = new wxBoxSizer( wxHORIZONTAL );
73 
74 
75  bSizer3->Add( 0, 0, 1, wxEXPAND, 5 );
76 
77  button_done = new wxButton( this, wxID_ANY, wxT("Done"), wxDefaultPosition, wxDefaultSize, 0 );
78  bSizer3->Add( button_done, 0, wxALL, 5 );
79 
80 
81  bSizer3->Add( 10, 0, 0, 0, 5 );
82 
83  bSizer1->Add( bSizer3, 1, wxEXPAND, 5 );
84 
85  this->SetSizer( bSizer1 );
86  this->Layout();
87 
88  // Connect Events
89  this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( Create_Output_Files_Dialog_Base::onDialogClose ) );
90  button_done->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( Create_Output_Files_Dialog_Base::onButtonDoneClicked ), NULL, this );
91 }
92 
94 {
95  // Disconnect Events
96  this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( Create_Output_Files_Dialog_Base::onDialogClose ) );
97  button_done->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( Create_Output_Files_Dialog_Base::onButtonDoneClicked ), NULL, this );
98 }
#define NULL
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)


asr_descriptor_surface_based_recognition
Author(s): Allgeyer Tobias, Hutmacher Robin, Meißner Pascal
autogenerated on Mon Dec 16 2019 03:31:15