Create_Output_Files_Dialog_Base.cpp
Go to the documentation of this file.
00001 
00021 #include "descriptor_surface_based_trainer/Create_Output_Files_Dialog_Base.h"
00022 
00023 
00024 
00025 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 )
00026 {
00027         this->SetSizeHints( wxDefaultSize, wxDefaultSize );
00028         
00029         wxBoxSizer* bSizer1;
00030         bSizer1 = new wxBoxSizer( wxVERTICAL );
00031         
00032         
00033         bSizer1->Add( 0, 10, 0, 0, 5 );
00034         
00035         wxBoxSizer* bSizer2;
00036         bSizer2 = new wxBoxSizer( wxHORIZONTAL );
00037         
00038         
00039         bSizer2->Add( 10, 0, 0, 0, 5 );
00040         
00041         label_message = new wxStaticText( this, wxID_ANY, wxT("Creating output files. Please wait ..."), wxDefaultPosition, wxDefaultSize, 0 );
00042         label_message->Wrap( -1 );
00043         bSizer2->Add( label_message, 1, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
00044         
00045         
00046         bSizer2->Add( 10, 0, 0, 0, 5 );
00047         
00048         bSizer1->Add( bSizer2, 1, wxEXPAND, 5 );
00049         
00050         
00051         bSizer1->Add( 0, 5, 0, wxEXPAND, 5 );
00052         
00053         wxBoxSizer* bSizer4;
00054         bSizer4 = new wxBoxSizer( wxHORIZONTAL );
00055         
00056         
00057         bSizer4->Add( 10, 0, 0, 0, 5 );
00058         
00059         progress_bar = new wxGauge( this, wxID_ANY, 10, wxDefaultPosition, wxSize( -1,15 ), wxGA_HORIZONTAL );
00060         progress_bar->SetValue( 0 ); 
00061         bSizer4->Add( progress_bar, 1, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
00062         
00063         
00064         bSizer4->Add( 10, 0, 0, 0, 5 );
00065         
00066         bSizer1->Add( bSizer4, 1, wxEXPAND, 5 );
00067         
00068         
00069         bSizer1->Add( 0, 5, 0, 0, 5 );
00070         
00071         wxBoxSizer* bSizer3;
00072         bSizer3 = new wxBoxSizer( wxHORIZONTAL );
00073         
00074         
00075         bSizer3->Add( 0, 0, 1, wxEXPAND, 5 );
00076         
00077         button_done = new wxButton( this, wxID_ANY, wxT("Done"), wxDefaultPosition, wxDefaultSize, 0 );
00078         bSizer3->Add( button_done, 0, wxALL, 5 );
00079         
00080         
00081         bSizer3->Add( 10, 0, 0, 0, 5 );
00082         
00083         bSizer1->Add( bSizer3, 1, wxEXPAND, 5 );
00084         
00085         this->SetSizer( bSizer1 );
00086         this->Layout();
00087         
00088         // Connect Events
00089         this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( Create_Output_Files_Dialog_Base::onDialogClose ) );
00090         button_done->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( Create_Output_Files_Dialog_Base::onButtonDoneClicked ), NULL, this );
00091 }
00092 
00093 Create_Output_Files_Dialog_Base::~Create_Output_Files_Dialog_Base()
00094 {
00095         // Disconnect Events
00096         this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( Create_Output_Files_Dialog_Base::onDialogClose ) );
00097         button_done->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( Create_Output_Files_Dialog_Base::onButtonDoneClicked ), NULL, this );
00098 }


asr_descriptor_surface_based_recognition
Author(s): Allgeyer Tobias, Hutmacher Robin, Meißner Pascal
autogenerated on Thu Jun 6 2019 17:57:29