KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_export_step_process_base.cpp
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b3)
3// http://www.wxformbuilder.org/
4//
5// PLEASE DO *NOT* EDIT THIS FILE!
7
9
11
12DIALOG_EXPORT_STEP_PROCESS_BASE::DIALOG_EXPORT_STEP_PROCESS_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : DIALOG_SHIM( parent, id, title, pos, size, style )
13{
14 this->SetSizeHints( wxSize( -1,-1 ), wxDefaultSize );
15
16 wxBoxSizer* bMainSizer;
17 bMainSizer = new wxBoxSizer( wxVERTICAL );
18
19 m_textCtrlLog = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY );
20 m_textCtrlLog->SetMinSize( wxSize( 450,250 ) );
21
22 bMainSizer->Add( m_textCtrlLog, 1, wxALL|wxEXPAND, 5 );
23
24 m_activityGauge = new wxGauge( this, wxID_ANY, 100, wxDefaultPosition, wxDefaultSize, wxGA_HORIZONTAL );
25 m_activityGauge->SetValue( 0 );
26 bMainSizer->Add( m_activityGauge, 0, wxALL|wxEXPAND, 5 );
27
28 m_sdbSizer = new wxStdDialogButtonSizer();
29 m_sdbSizerOK = new wxButton( this, wxID_OK );
30 m_sdbSizer->AddButton( m_sdbSizerOK );
31 m_sdbSizer->Realize();
32
33 bMainSizer->Add( m_sdbSizer, 0, wxALL|wxEXPAND, 5 );
34
35
36 this->SetSizer( bMainSizer );
37 this->Layout();
38 bMainSizer->Fit( this );
39
40 // Connect Events
41 m_sdbSizerOK->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EXPORT_STEP_PROCESS_BASE::OnButtonPlot ), NULL, this );
42}
43
45{
46 // Disconnect Events
47 m_sdbSizerOK->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_EXPORT_STEP_PROCESS_BASE::OnButtonPlot ), NULL, this );
48
49}
DIALOG_EXPORT_STEP_PROCESS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("3D Export"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
virtual void OnButtonPlot(wxCommandEvent &event)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:88