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 )
14 this->SetSizeHints( wxDefaultSize, wxDefaultSize );
16 wxBoxSizer* bSizerMain;
17 bSizerMain =
new wxBoxSizer( wxVERTICAL );
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 );
25 m_staticText18 =
new wxStaticText(
this, wxID_ANY,
_(
"Format:"), wxDefaultPosition, wxDefaultSize, 0 );
29 wxArrayString m_choiceFormatChoices;
30 m_choiceFormat =
new wxChoice(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_choiceFormatChoices, 0 );
34 m_staticText10 =
new wxStaticText(
this, wxID_ANY,
_(
"Include:"), wxDefaultPosition, wxDefaultSize, 0 );
39 bSizer2 =
new wxBoxSizer( wxHORIZONTAL );
41 m_cbViolationErrors =
new wxCheckBox(
this, wxID_ANY,
_(
"Errors"), wxDefaultPosition, wxDefaultSize, 0 );
45 bSizer2->Add( 40, 0, 0, wxEXPAND, 5 );
47 m_cbViolationWarnings =
new wxCheckBox(
this, wxID_ANY,
_(
"Warnings"), wxDefaultPosition, wxDefaultSize, 0 );
51 fgSizer1->Add( bSizer2, 1, wxEXPAND|wxTOP|wxBOTTOM, 4 );
53 m_textOutputPath =
new wxStaticText(
this, wxID_ANY,
_(
"Output file:"), wxDefaultPosition, wxDefaultSize, 0 );
57 m_textCtrlOutputPath =
new wxTextCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
63 bSizerMain->Add( fgSizer1, 1, wxALL|wxEXPAND, 10 );
65 wxBoxSizer* bSizerBottom;
66 bSizerBottom =
new wxBoxSizer( wxVERTICAL );
68 m_cbHaltOutput =
new wxCheckBox(
this, wxID_ANY,
_(
"Report job failure when violations present"), wxDefaultPosition, wxDefaultSize, 0 );
72 bSizerBottom->Add( 0, 3, 0, wxEXPAND, 5 );
74 m_cbAllTrackViolations =
new wxCheckBox(
this, wxID_ANY,
_(
"Report all errors for each track"), wxDefaultPosition, wxDefaultSize, 0 );
78 bSizerBottom->Add( 0, 3, 0, wxEXPAND, 5 );
80 m_cbSchParity =
new wxCheckBox(
this, wxID_ANY,
_(
"Test for parity between PCB and schematic"), wxDefaultPosition, wxDefaultSize, 0 );
84 bSizerMain->Add( bSizerBottom, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 );
93 bSizerMain->Add(
m_sdbSizer1, 0, wxEXPAND|wxALL, 5 );
96 this->SetSizer( bSizerMain );
98 bSizerMain->Fit(
this );
100 this->Centre( wxBOTH );
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
wxChoice * m_choiceFormat
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...