Create_Test_Model_Dialog_Base.cpp
Go to the documentation of this file.
1 
22 
23 
24 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 )
25 {
26  this->SetSizeHints( wxDefaultSize, wxDefaultSize );
27 
28  wxBoxSizer* bSizer1;
29  bSizer1 = new wxBoxSizer( wxHORIZONTAL );
30 
31 
32  bSizer1->Add( 10, 0, 0, 0, 5 );
33 
34  wxBoxSizer* bSizer4;
35  bSizer4 = new wxBoxSizer( wxVERTICAL );
36 
37 
38  bSizer4->Add( 0, 10, 0, 0, 5 );
39 
40  wxBoxSizer* bSizer2;
41  bSizer2 = new wxBoxSizer( wxVERTICAL );
42 
43 
44  bSizer2->Add( 0, 0, 1, wxEXPAND, 5 );
45 
46  label_message = new wxStaticText( this, wxID_ANY, wxT("Creating Descriptor model. Please wait..."), wxDefaultPosition, wxSize( -1,50 ), 0 );
47  label_message->Wrap( -1 );
48  bSizer2->Add( label_message, 0, wxALL|wxEXPAND, 5 );
49 
50 
51  bSizer2->Add( 0, 0, 1, wxEXPAND, 5 );
52 
53  bSizer4->Add( bSizer2, 1, wxEXPAND, 5 );
54 
55  wxBoxSizer* bSizer3;
56  bSizer3 = new wxBoxSizer( wxHORIZONTAL );
57 
58 
59  bSizer3->Add( 0, 0, 1, wxEXPAND, 5 );
60 
61  button_abort = new wxButton( this, wxID_ANY, wxT("Abort"), wxDefaultPosition, wxDefaultSize, 0 );
62  bSizer3->Add( button_abort, 0, wxALL, 5 );
63 
64  bSizer4->Add( bSizer3, 0, wxEXPAND, 5 );
65 
66  bSizer1->Add( bSizer4, 1, wxEXPAND, 5 );
67 
68 
69  bSizer1->Add( 10, 0, 0, 0, 5 );
70 
71  this->SetSizer( bSizer1 );
72  this->Layout();
73 
74  // Connect Events
75  this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( Create_Test_Model_Dialog_Base::onCloseClicked ) );
76  button_abort->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( Create_Test_Model_Dialog_Base::onButtonAbortClicked ), NULL, this );
77 }
78 
80 {
81  // Disconnect Events
82  this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( Create_Test_Model_Dialog_Base::onCloseClicked ) );
83  button_abort->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( Create_Test_Model_Dialog_Base::onButtonAbortClicked ), NULL, this );
84 }
#define NULL
Create_Test_Model_Dialog_Base(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=wxT("Please wait..."), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(200, 100), long style=wxDEFAULT_DIALOG_STYLE)
virtual void onCloseClicked(wxCloseEvent &event)
virtual void onButtonAbortClicked(wxCommandEvent &event)


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