12PANEL_SETUP_SYMBOL_PARITY_BASE::PANEL_SETUP_SYMBOL_PARITY_BASE( wxWindow* parent, wxWindowID
id,
const wxPoint& pos,
const wxSize& size,
long style,
const wxString&
name ) : wxPanel( parent, id, pos, size, style,
name )
14 wxBoxSizer* bPanelSizer;
15 bPanelSizer =
new wxBoxSizer( wxHORIZONTAL );
17 wxBoxSizer* bLeftColumn;
18 bLeftColumn =
new wxBoxSizer( wxVERTICAL );
20 m_staticText26 =
new wxStaticText(
this, wxID_ANY,
_(
"Fields"), wxDefaultPosition, wxDefaultSize, 0 );
24 m_staticline1 =
new wxStaticLine(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
25 bLeftColumn->Add(
m_staticline1, 0, wxEXPAND|wxTOP|wxBOTTOM, 2 );
27 wxFlexGridSizer* fgSizer2;
28 fgSizer2 =
new wxFlexGridSizer( 0, 1, 5, 5 );
29 fgSizer2->SetFlexibleDirection( wxHORIZONTAL );
30 fgSizer2->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_NONE );
32 m_missingFields =
new wxCheckBox(
this, wxID_ANY,
_(
"Check for missing fields"), wxDefaultPosition, wxDefaultSize, 0 );
36 m_extraFields =
new wxCheckBox(
this, wxID_ANY,
_(
"Check for extra fields"), wxDefaultPosition, wxDefaultSize, 0 );
39 m_fieldTextOpt =
new wxCheckBox(
this, wxID_ANY,
_(
"Compare non-reference field text"), wxDefaultPosition, wxDefaultSize, 0 );
42 m_fieldVisibilitiesOpt =
new wxCheckBox(
this, wxID_ANY,
_(
"Compare field visibilities"), wxDefaultPosition, wxDefaultSize, 0 );
45 m_fieldStyleOpt =
new wxCheckBox(
this, wxID_ANY,
_(
"Compare field text sizes and styles"), wxDefaultPosition, wxDefaultSize, 0 );
48 m_fieldPositionsOpt =
new wxCheckBox(
this, wxID_ANY,
_(
"Compare field positions"), wxDefaultPosition, wxDefaultSize, 0 );
52 bLeftColumn->Add( fgSizer2, 0, wxEXPAND|wxALL, 5 );
55 bLeftColumn->Add( 0, 5, 0, wxEXPAND, 5 );
57 m_staticText27 =
new wxStaticText(
this, wxID_ANY,
_(
"Pins"), wxDefaultPosition, wxDefaultSize, 0 );
61 m_staticline2 =
new wxStaticLine(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
62 bLeftColumn->Add(
m_staticline2, 0, wxEXPAND|wxTOP|wxBOTTOM, 2 );
64 wxFlexGridSizer* fgSizer321;
65 fgSizer321 =
new wxFlexGridSizer( 0, 1, 5, 0 );
66 fgSizer321->SetFlexibleDirection( wxBOTH );
67 fgSizer321->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
69 m_pinVisibilitiesOpt =
new wxCheckBox(
this, wxID_ANY,
_(
"Compare pin name/number visibilities"), wxDefaultPosition, wxDefaultSize, 0 );
72 m_altPinFunctionsOpt =
new wxCheckBox(
this, wxID_ANY,
_(
"Compare alternate pin functions"), wxDefaultPosition, wxDefaultSize, 0 );
77 bLeftColumn->Add( fgSizer321, 0, wxEXPAND|wxALL, 5 );
80 bLeftColumn->Add( 0, 5, 0, wxEXPAND, 5 );
82 m_staticText28 =
new wxStaticText(
this, wxID_ANY,
_(
"Attributes"), wxDefaultPosition, wxDefaultSize, 0 );
86 m_staticline3 =
new wxStaticLine(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLI_HORIZONTAL );
87 bLeftColumn->Add(
m_staticline3, 0, wxEXPAND|wxTOP|wxBOTTOM, 2 );
89 wxFlexGridSizer* fgSizer3211;
90 fgSizer3211 =
new wxFlexGridSizer( 0, 1, 5, 0 );
91 fgSizer3211->SetFlexibleDirection( wxBOTH );
92 fgSizer3211->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
94 m_excludeFromBoardOpt =
new wxCheckBox(
this, wxID_ANY,
_(
"Compare exclude from board flags"), wxDefaultPosition, wxDefaultSize, 0 );
98 m_DNPOpt =
new wxCheckBox(
this, wxID_ANY,
_(
"Compare do not populate flags"), wxDefaultPosition, wxDefaultSize, 0 );
99 fgSizer3211->Add(
m_DNPOpt, 0, wxRIGHT|wxLEFT, 5 );
101 m_excludeFromBOMOpt =
new wxCheckBox(
this, wxID_ANY,
_(
"Compare exlucde from bill of materials flags"), wxDefaultPosition, wxDefaultSize, 0 );
104 m_excludeFromPosFilesOpt =
new wxCheckBox(
this, wxID_ANY,
_(
"Compare exclude from position file flags"), wxDefaultPosition, wxDefaultSize, 0 );
109 bLeftColumn->Add( fgSizer3211, 0, wxEXPAND|wxALL, 5 );
112 bPanelSizer->Add( bLeftColumn, 1, wxEXPAND|wxRIGHT, 15 );
115 this->SetSizer( bPanelSizer );
117 bPanelSizer->Fit(
this );