Create_Test_Model_Dialog_Base.cpp
Go to the documentation of this file.
00001 
00021 #include "descriptor_surface_based_trainer/Create_Test_Model_Dialog_Base.h"
00022 
00023 
00024 Create_Test_Model_Dialog_Base::Create_Test_Model_Dialog_Base( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
00025 {
00026         this->SetSizeHints( wxDefaultSize, wxDefaultSize );
00027         
00028         wxBoxSizer* bSizer1;
00029         bSizer1 = new wxBoxSizer( wxHORIZONTAL );
00030         
00031         
00032         bSizer1->Add( 10, 0, 0, 0, 5 );
00033         
00034         wxBoxSizer* bSizer4;
00035         bSizer4 = new wxBoxSizer( wxVERTICAL );
00036         
00037         
00038         bSizer4->Add( 0, 10, 0, 0, 5 );
00039         
00040         wxBoxSizer* bSizer2;
00041         bSizer2 = new wxBoxSizer( wxVERTICAL );
00042         
00043         
00044         bSizer2->Add( 0, 0, 1, wxEXPAND, 5 );
00045         
00046         label_message = new wxStaticText( this, wxID_ANY, wxT("Creating Descriptor model. Please wait..."), wxDefaultPosition, wxSize( -1,50 ), 0 );
00047         label_message->Wrap( -1 );
00048         bSizer2->Add( label_message, 0, wxALL|wxEXPAND, 5 );
00049         
00050         
00051         bSizer2->Add( 0, 0, 1, wxEXPAND, 5 );
00052         
00053         bSizer4->Add( bSizer2, 1, wxEXPAND, 5 );
00054         
00055         wxBoxSizer* bSizer3;
00056         bSizer3 = new wxBoxSizer( wxHORIZONTAL );
00057         
00058         
00059         bSizer3->Add( 0, 0, 1, wxEXPAND, 5 );
00060         
00061         button_abort = new wxButton( this, wxID_ANY, wxT("Abort"), wxDefaultPosition, wxDefaultSize, 0 );
00062         bSizer3->Add( button_abort, 0, wxALL, 5 );
00063         
00064         bSizer4->Add( bSizer3, 0, wxEXPAND, 5 );
00065         
00066         bSizer1->Add( bSizer4, 1, wxEXPAND, 5 );
00067         
00068         
00069         bSizer1->Add( 10, 0, 0, 0, 5 );
00070         
00071         this->SetSizer( bSizer1 );
00072         this->Layout();
00073         
00074         // Connect Events
00075     this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( Create_Test_Model_Dialog_Base::onCloseClicked ) );
00076     button_abort->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( Create_Test_Model_Dialog_Base::onButtonAbortClicked ), NULL, this );
00077 }
00078 
00079 Create_Test_Model_Dialog_Base::~Create_Test_Model_Dialog_Base()
00080 {
00081         // Disconnect Events
00082     this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( Create_Test_Model_Dialog_Base::onCloseClicked ) );
00083     button_abort->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( Create_Test_Model_Dialog_Base::onButtonAbortClicked ), NULL, this );
00084 }


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