KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_rc_job_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_RC_JOB_BASE::DIALOG_RC_JOB_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->AddGrowableCol( 1 );
22 fgSizer1->SetFlexibleDirection( wxBOTH );
23 fgSizer1->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
24
25 m_staticText18 = new wxStaticText( this, wxID_ANY, _("Format:"), wxDefaultPosition, wxDefaultSize, 0 );
26 m_staticText18->Wrap( -1 );
27 fgSizer1->Add( m_staticText18, 0, 0, 5 );
28
29 wxArrayString m_choiceFormatChoices;
30 m_choiceFormat = new wxChoice( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choiceFormatChoices, 0 );
31 m_choiceFormat->SetSelection( 0 );
32 fgSizer1->Add( m_choiceFormat, 0, wxALIGN_CENTER_VERTICAL, 5 );
33
34 m_staticText10 = new wxStaticText( this, wxID_ANY, _("Include:"), wxDefaultPosition, wxDefaultSize, 0 );
35 m_staticText10->Wrap( -1 );
36 fgSizer1->Add( m_staticText10, 0, wxALIGN_CENTER_VERTICAL, 5 );
37
38 wxBoxSizer* bSizer2;
39 bSizer2 = new wxBoxSizer( wxHORIZONTAL );
40
41 m_cbViolationErrors = new wxCheckBox( this, wxID_ANY, _("Errors"), wxDefaultPosition, wxDefaultSize, 0 );
42 bSizer2->Add( m_cbViolationErrors, 0, wxALIGN_CENTER_VERTICAL, 10 );
43
44
45 bSizer2->Add( 40, 0, 0, wxEXPAND, 5 );
46
47 m_cbViolationWarnings = new wxCheckBox( this, wxID_ANY, _("Warnings"), wxDefaultPosition, wxDefaultSize, 0 );
48 bSizer2->Add( m_cbViolationWarnings, 0, wxALIGN_CENTER_VERTICAL, 10 );
49
50
51 fgSizer1->Add( bSizer2, 1, wxEXPAND|wxTOP|wxBOTTOM, 4 );
52
53 m_textOutputPath = new wxStaticText( this, wxID_ANY, _("Output file:"), wxDefaultPosition, wxDefaultSize, 0 );
54 m_textOutputPath->Wrap( -1 );
55 fgSizer1->Add( m_textOutputPath, 0, wxALIGN_CENTER, 5 );
56
57 m_textCtrlOutputPath = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
58 m_textCtrlOutputPath->SetMinSize( wxSize( 350,-1 ) );
59
60 fgSizer1->Add( m_textCtrlOutputPath, 1, wxALIGN_CENTER_VERTICAL, 5 );
61
62
63 bSizerMain->Add( fgSizer1, 1, wxALL|wxEXPAND, 10 );
64
65 wxBoxSizer* bSizerBottom;
66 bSizerBottom = new wxBoxSizer( wxVERTICAL );
67
68 m_cbHaltOutput = new wxCheckBox( this, wxID_ANY, _("Report job failure when violations present"), wxDefaultPosition, wxDefaultSize, 0 );
69 bSizerBottom->Add( m_cbHaltOutput, 0, wxBOTTOM|wxLEFT, 5 );
70
71
72 bSizerBottom->Add( 0, 3, 0, wxEXPAND, 5 );
73
74 m_cbAllTrackViolations = new wxCheckBox( this, wxID_ANY, _("Report all errors for each track"), wxDefaultPosition, wxDefaultSize, 0 );
75 bSizerBottom->Add( m_cbAllTrackViolations, 0, wxBOTTOM|wxLEFT, 5 );
76
77
78 bSizerBottom->Add( 0, 3, 0, wxEXPAND, 5 );
79
80 m_cbSchParity = new wxCheckBox( this, wxID_ANY, _("Test for parity between PCB and schematic"), wxDefaultPosition, wxDefaultSize, 0 );
81 bSizerBottom->Add( m_cbSchParity, 0, wxBOTTOM|wxLEFT, 5 );
82
83
84 bSizerMain->Add( bSizerBottom, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 );
85
86 m_sdbSizer1 = new wxStdDialogButtonSizer();
87 m_sdbSizer1OK = new wxButton( this, wxID_OK );
88 m_sdbSizer1->AddButton( m_sdbSizer1OK );
89 m_sdbSizer1Cancel = new wxButton( this, wxID_CANCEL );
90 m_sdbSizer1->AddButton( m_sdbSizer1Cancel );
91 m_sdbSizer1->Realize();
92
93 bSizerMain->Add( m_sdbSizer1, 0, wxEXPAND|wxALL, 5 );
94
95
96 this->SetSizer( bSizerMain );
97 this->Layout();
98 bSizerMain->Fit( this );
99
100 this->Centre( wxBOTH );
101
102 // Connect Events
103 m_choiceFormat->Connect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( DIALOG_RC_JOB_BASE::OnFormatChoice ), NULL, this );
104}
105
107{
108 // Disconnect Events
109 m_choiceFormat->Disconnect( wxEVT_COMMAND_CHOICE_SELECTED, wxCommandEventHandler( DIALOG_RC_JOB_BASE::OnFormatChoice ), NULL, this );
110
111}
wxCheckBox * m_cbAllTrackViolations
wxCheckBox * m_cbHaltOutput
wxTextCtrl * m_textCtrlOutputPath
wxCheckBox * m_cbViolationWarnings
wxButton * m_sdbSizer1Cancel
wxStdDialogButtonSizer * m_sdbSizer1
wxCheckBox * m_cbSchParity
DIALOG_RC_JOB_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=wxEmptyString, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
wxStaticText * m_textOutputPath
wxStaticText * m_staticText10
wxCheckBox * m_cbViolationErrors
virtual void OnFormatChoice(wxCommandEvent &event)
wxStaticText * m_staticText18
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:88
#define _(s)