KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_executecommand_job_settings_base.cpp
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 4.2.1-0-g80c4cb6)
3// http://www.wxformbuilder.org/
4//
5// PLEASE DO *NOT* EDIT THIS FILE!
7
9
11
12DIALOG_EXECUTECOMMAND_JOB_SETTINGS_BASE::DIALOG_EXECUTECOMMAND_JOB_SETTINGS_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( wxDefaultSize, wxDefaultSize );
15
16 wxBoxSizer* bSizerMain;
17 bSizerMain = new wxBoxSizer( wxVERTICAL );
18
19 wxFlexGridSizer* fgSizer1;
20 fgSizer1 = new wxFlexGridSizer( 0, 2, 5, 5 );
21 fgSizer1->SetFlexibleDirection( wxBOTH );
22 fgSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
23
24 m_textCommand = new wxStaticText( this, wxID_ANY, _("Command:"), wxDefaultPosition, wxDefaultSize, 0 );
25 m_textCommand->Wrap( -1 );
26 fgSizer1->Add( m_textCommand, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
27
28 m_textCtrlCommand = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
29 m_textCtrlCommand->SetMinSize( wxSize( 350,-1 ) );
30
31 fgSizer1->Add( m_textCtrlCommand, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
32
33 m_textOutputPath = new wxStaticText( this, wxID_ANY, _("Output path:"), wxDefaultPosition, wxDefaultSize, 0 );
34 m_textOutputPath->Wrap( -1 );
35 fgSizer1->Add( m_textOutputPath, 0, wxALL|wxALIGN_CENTER_VERTICAL, 5 );
36
37 m_textCtrlOutputPath = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
38 m_textCtrlOutputPath->SetMinSize( wxSize( 350,-1 ) );
39
40 fgSizer1->Add( m_textCtrlOutputPath, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
41
42
43 bSizerMain->Add( fgSizer1, 1, wxALL|wxEXPAND, 5 );
44
45 wxBoxSizer* bSizerBottom;
46 bSizerBottom = new wxBoxSizer( wxVERTICAL );
47
48 m_cbRecordOutput = new wxCheckBox( this, wxID_ANY, _("Record output messages"), wxDefaultPosition, wxDefaultSize, 0 );
49 bSizerBottom->Add( m_cbRecordOutput, 0, wxLEFT, 5 );
50
51 m_cbIgnoreExitCode = new wxCheckBox( this, wxID_ANY, _("Ignore non-zero exit code"), wxDefaultPosition, wxDefaultSize, 0 );
52 bSizerBottom->Add( m_cbIgnoreExitCode, 0, wxLEFT|wxTOP, 5 );
53
54
55 bSizerMain->Add( bSizerBottom, 0, wxALL|wxEXPAND, 5 );
56
57 m_sdbSizer1 = new wxStdDialogButtonSizer();
58 m_sdbSizer1OK = new wxButton( this, wxID_OK );
59 m_sdbSizer1->AddButton( m_sdbSizer1OK );
60 m_sdbSizer1Cancel = new wxButton( this, wxID_CANCEL );
61 m_sdbSizer1->AddButton( m_sdbSizer1Cancel );
62 m_sdbSizer1->Realize();
63
64 bSizerMain->Add( m_sdbSizer1, 0, wxALL|wxEXPAND, 5 );
65
66
67 this->SetSizer( bSizerMain );
68 this->Layout();
69 bSizerMain->Fit( this );
70
71 this->Centre( wxBOTH );
72
73 // Connect Events
74 m_cbRecordOutput->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_EXECUTECOMMAND_JOB_SETTINGS_BASE::OnRecordOutputClicked ), NULL, this );
75}
76
78{
79 // Disconnect Events
80 m_cbRecordOutput->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_EXECUTECOMMAND_JOB_SETTINGS_BASE::OnRecordOutputClicked ), NULL, this );
81
82}
DIALOG_EXECUTECOMMAND_JOB_SETTINGS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Execute Command Job Settings"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:88
#define _(s)