KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_drc_base.cpp
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 4.0.0-0-g0efcecf)
3// http://www.wxformbuilder.org/
4//
5// PLEASE DO *NOT* EDIT THIS FILE!
7
9
10#include "dialog_drc_base.h"
11
13
14DIALOG_DRC_BASE::DIALOG_DRC_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : DIALOG_SHIM( parent, id, title, pos, size, style )
15{
16 this->SetSizeHints( wxSize( -1,-1 ), wxDefaultSize );
17
18 wxBoxSizer* m_MainSizer;
19 m_MainSizer = new wxBoxSizer( wxVERTICAL );
20
21 wxBoxSizer* bSizerOptions;
22 bSizerOptions = new wxBoxSizer( wxHORIZONTAL );
23
24 wxBoxSizer* bSizer12;
25 bSizer12 = new wxBoxSizer( wxVERTICAL );
26
27 m_cbRefillZones = new wxCheckBox( this, wxID_ANY, _("Refill all zones before performing DRC"), wxDefaultPosition, wxDefaultSize, 0 );
28 bSizer12->Add( m_cbRefillZones, 0, wxALL, 5 );
29
30 m_cbReportAllTrackErrors = new wxCheckBox( this, wxID_ANY, _("Report all errors for each track"), wxDefaultPosition, wxDefaultSize, 0 );
31 m_cbReportAllTrackErrors->SetToolTip( _("If selected, all DRC violations for tracks will be reported. This can be slow for complicated designs.\n\nIf unselected, only the first DRC violation will be reported for each track connection.") );
32
33 bSizer12->Add( m_cbReportAllTrackErrors, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
34
35
36 bSizerOptions->Add( bSizer12, 1, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
37
38 wxBoxSizer* bSizerOptSettings;
39 bSizerOptSettings = new wxBoxSizer( wxVERTICAL );
40
41 m_cbTestFootprints = new wxCheckBox( this, wxID_ANY, _("Test for parity between PCB and schematic"), wxDefaultPosition, wxDefaultSize, 0 );
42 bSizerOptSettings->Add( m_cbTestFootprints, 0, wxALL, 5 );
43
44
45 bSizerOptions->Add( bSizerOptSettings, 1, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
46
47
48 m_MainSizer->Add( bSizerOptions, 0, wxEXPAND|wxTOP|wxBOTTOM|wxLEFT, 3 );
49
50 m_runningResultsBook = new wxSimplebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
51 running = new wxPanel( m_runningResultsBook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
52 wxBoxSizer* bSizer14;
53 bSizer14 = new wxBoxSizer( wxVERTICAL );
54
55 m_runningNotebook = new wxNotebook( running, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
56 m_panelMessages = new wxPanel( m_runningNotebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
57 wxBoxSizer* bSizer10;
58 bSizer10 = new wxBoxSizer( wxVERTICAL );
59
60 m_messages = new WX_HTML_REPORT_BOX( m_panelMessages, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxHW_SCROLLBAR_AUTO );
61 bSizer10->Add( m_messages, 1, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
62
63 wxBoxSizer* bGaugeMargins;
64 bGaugeMargins = new wxBoxSizer( wxVERTICAL );
65
66 m_gauge = new wxGauge( m_panelMessages, wxID_ANY, 1000, wxDefaultPosition, wxDefaultSize, wxGA_HORIZONTAL );
67 m_gauge->SetValue( 0 );
68 bGaugeMargins->Add( m_gauge, 0, wxALL|wxEXPAND, 5 );
69
70
71 bSizer10->Add( bGaugeMargins, 0, wxEXPAND|wxRIGHT|wxLEFT, 5 );
72
73
74 m_panelMessages->SetSizer( bSizer10 );
75 m_panelMessages->Layout();
76 bSizer10->Fit( m_panelMessages );
77 m_runningNotebook->AddPage( m_panelMessages, _("Tests Running..."), true );
78
79 bSizer14->Add( m_runningNotebook, 1, wxEXPAND, 5 );
80
81
82 running->SetSizer( bSizer14 );
83 running->Layout();
84 bSizer14->Fit( running );
85 m_runningResultsBook->AddPage( running, _("a page"), false );
86 results = new wxPanel( m_runningResultsBook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
87 wxBoxSizer* bSizer13;
88 bSizer13 = new wxBoxSizer( wxVERTICAL );
89
90 m_Notebook = new wxNotebook( results, ID_NOTEBOOK1, wxDefaultPosition, wxDefaultSize, 0 );
91 m_Notebook->SetMinSize( wxSize( 640,-1 ) );
92
93 m_panelViolations = new wxPanel( m_Notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
94 wxBoxSizer* bSizerViolationsBox;
95 bSizerViolationsBox = new wxBoxSizer( wxVERTICAL );
96
97 bSizerViolationsBox->SetMinSize( wxSize( -1,320 ) );
98 m_markerDataView = new wxDataViewCtrl( m_panelViolations, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxDV_NO_HEADER );
99 m_markerDataView->SetToolTip( _("Click on items to highlight them on the board.") );
100
101 bSizerViolationsBox->Add( m_markerDataView, 1, wxALL|wxEXPAND, 5 );
102
103
104 bSizerViolationsBox->Add( 0, 8, 0, wxEXPAND, 5 );
105
106
107 m_panelViolations->SetSizer( bSizerViolationsBox );
108 m_panelViolations->Layout();
109 bSizerViolationsBox->Fit( m_panelViolations );
110 m_Notebook->AddPage( m_panelViolations, _("Violations (%s)"), false );
111 m_panelUnconnectedItems = new wxPanel( m_Notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
112 wxBoxSizer* bSizerUnconnectedBox;
113 bSizerUnconnectedBox = new wxBoxSizer( wxVERTICAL );
114
115 m_unconnectedDataView = new wxDataViewCtrl( m_panelUnconnectedItems, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxDV_NO_HEADER );
116 bSizerUnconnectedBox->Add( m_unconnectedDataView, 1, wxALL|wxEXPAND, 5 );
117
118
119 bSizerUnconnectedBox->Add( 0, 8, 0, wxEXPAND, 5 );
120
121
122 m_panelUnconnectedItems->SetSizer( bSizerUnconnectedBox );
123 m_panelUnconnectedItems->Layout();
124 bSizerUnconnectedBox->Fit( m_panelUnconnectedItems );
125 m_Notebook->AddPage( m_panelUnconnectedItems, _("Unconnected Items (%s)"), false );
126 m_panelFootprintWarnings = new wxPanel( m_Notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
127 wxBoxSizer* bSizerFootprintsBox;
128 bSizerFootprintsBox = new wxBoxSizer( wxVERTICAL );
129
130 m_footprintsDataView = new wxDataViewCtrl( m_panelFootprintWarnings, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxDV_NO_HEADER );
131 bSizerFootprintsBox->Add( m_footprintsDataView, 1, wxALL|wxEXPAND, 5 );
132
133
134 bSizerFootprintsBox->Add( 0, 8, 0, wxEXPAND, 5 );
135
136
137 m_panelFootprintWarnings->SetSizer( bSizerFootprintsBox );
138 m_panelFootprintWarnings->Layout();
139 bSizerFootprintsBox->Fit( m_panelFootprintWarnings );
140 m_Notebook->AddPage( m_panelFootprintWarnings, _("Schematic Parity (%s)"), false );
141 m_panelIgnored = new wxPanel( m_Notebook, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
142 wxBoxSizer* bSizer15;
143 bSizer15 = new wxBoxSizer( wxVERTICAL );
144
145 m_ignoredList = new wxListCtrl( m_panelIgnored, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_NO_HEADER|wxLC_REPORT );
146 bSizer15->Add( m_ignoredList, 1, wxALL|wxEXPAND, 5 );
147
148 m_violationSeveritiesLink = new wxHyperlinkCtrl( m_panelIgnored, wxID_ANY, _("Edit ignored tests"), wxEmptyString, wxDefaultPosition, wxDefaultSize, wxHL_DEFAULT_STYLE );
149 bSizer15->Add( m_violationSeveritiesLink, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
150
151
152 bSizer15->Add( 0, 7, 0, wxEXPAND, 5 );
153
154
155 m_panelIgnored->SetSizer( bSizer15 );
156 m_panelIgnored->Layout();
157 bSizer15->Fit( m_panelIgnored );
158 m_Notebook->AddPage( m_panelIgnored, _("Ignored Tests (%s)"), false );
159
160 bSizer13->Add( m_Notebook, 1, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 10 );
161
162
163 results->SetSizer( bSizer13 );
164 results->Layout();
165 bSizer13->Fit( results );
166 m_runningResultsBook->AddPage( results, _("a page"), true );
167
168 m_MainSizer->Add( m_runningResultsBook, 1, wxEXPAND, 5 );
169
170 wxBoxSizer* bSizer9;
171 bSizer9 = new wxBoxSizer( wxVERTICAL );
172
173 wxBoxSizer* bSeveritySizer;
174 bSeveritySizer = new wxBoxSizer( wxHORIZONTAL );
175
176 m_showLabel = new wxStaticText( this, wxID_ANY, _("Show:"), wxDefaultPosition, wxDefaultSize, 0 );
177 m_showLabel->Wrap( -1 );
178 bSeveritySizer->Add( m_showLabel, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
179
180 m_showAll = new wxCheckBox( this, wxID_ANY, _("All"), wxDefaultPosition, wxDefaultSize, 0 );
181 bSeveritySizer->Add( m_showAll, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
182
183
184 bSeveritySizer->Add( 35, 0, 0, wxEXPAND, 5 );
185
186 m_showErrors = new wxCheckBox( this, wxID_ANY, _("Errors"), wxDefaultPosition, wxDefaultSize, 0 );
187 bSeveritySizer->Add( m_showErrors, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
188
189 m_errorsBadge = new NUMBER_BADGE( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
190 bSeveritySizer->Add( m_errorsBadge, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 25 );
191
192 m_showWarnings = new wxCheckBox( this, wxID_ANY, _("Warnings"), wxDefaultPosition, wxDefaultSize, 0 );
193 bSeveritySizer->Add( m_showWarnings, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
194
195 m_warningsBadge = new NUMBER_BADGE( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
196 bSeveritySizer->Add( m_warningsBadge, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 25 );
197
198 m_showExclusions = new wxCheckBox( this, wxID_ANY, _("Exclusions"), wxDefaultPosition, wxDefaultSize, 0 );
199 bSeveritySizer->Add( m_showExclusions, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
200
201 m_exclusionsBadge = new NUMBER_BADGE( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
202 bSeveritySizer->Add( m_exclusionsBadge, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 25 );
203
204
205 bSeveritySizer->Add( 5, 0, 1, wxEXPAND, 5 );
206
207 m_saveReport = new wxButton( this, wxID_ANY, _("Save..."), wxDefaultPosition, wxDefaultSize, 0 );
208 bSeveritySizer->Add( m_saveReport, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
209
210
211 bSizer9->Add( bSeveritySizer, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
212
213
214 m_MainSizer->Add( bSizer9, 0, wxEXPAND|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
215
216 m_sizerButtons = new wxBoxSizer( wxHORIZONTAL );
217
218 m_DeleteCurrentMarkerButton = new wxButton( this, wxID_ANY, _("Delete Marker"), wxDefaultPosition, wxDefaultSize, 0 );
219 m_sizerButtons->Add( m_DeleteCurrentMarkerButton, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 10 );
220
221 m_DeleteAllMarkersButton = new wxButton( this, wxID_ANY, _("Delete All Markers"), wxDefaultPosition, wxDefaultSize, 0 );
222 m_sizerButtons->Add( m_DeleteAllMarkersButton, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
223
224 m_sdbSizer = new wxStdDialogButtonSizer();
225 m_sdbSizerOK = new wxButton( this, wxID_OK );
226 m_sdbSizer->AddButton( m_sdbSizerOK );
227 m_sdbSizerCancel = new wxButton( this, wxID_CANCEL );
228 m_sdbSizer->AddButton( m_sdbSizerCancel );
229 m_sdbSizer->Realize();
230
231 m_sizerButtons->Add( m_sdbSizer, 1, wxEXPAND|wxALL, 5 );
232
233
234 m_MainSizer->Add( m_sizerButtons, 0, wxEXPAND|wxLEFT, 5 );
235
236
237 this->SetSizer( m_MainSizer );
238 this->Layout();
239 m_MainSizer->Fit( this );
240
241 // Connect Events
242 this->Connect( wxEVT_ACTIVATE, wxActivateEventHandler( DIALOG_DRC_BASE::OnActivateDlg ) );
243 this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( DIALOG_DRC_BASE::OnClose ) );
244 m_messages->Connect( wxEVT_COMMAND_HTML_LINK_CLICKED, wxHtmlLinkEventHandler( DIALOG_DRC_BASE::OnErrorLinkClicked ), NULL, this );
245 m_Notebook->Connect( wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, wxNotebookEventHandler( DIALOG_DRC_BASE::OnChangingNotebookPage ), NULL, this );
246 m_markerDataView->Connect( wxEVT_COMMAND_DATAVIEW_ITEM_ACTIVATED, wxDataViewEventHandler( DIALOG_DRC_BASE::OnDRCItemDClick ), NULL, this );
247 m_markerDataView->Connect( wxEVT_COMMAND_DATAVIEW_ITEM_CONTEXT_MENU, wxDataViewEventHandler( DIALOG_DRC_BASE::OnDRCItemRClick ), NULL, this );
248 m_markerDataView->Connect( wxEVT_COMMAND_DATAVIEW_SELECTION_CHANGED, wxDataViewEventHandler( DIALOG_DRC_BASE::OnDRCItemSelected ), NULL, this );
249 m_unconnectedDataView->Connect( wxEVT_COMMAND_DATAVIEW_ITEM_ACTIVATED, wxDataViewEventHandler( DIALOG_DRC_BASE::OnDRCItemDClick ), NULL, this );
250 m_unconnectedDataView->Connect( wxEVT_COMMAND_DATAVIEW_ITEM_CONTEXT_MENU, wxDataViewEventHandler( DIALOG_DRC_BASE::OnDRCItemRClick ), NULL, this );
251 m_unconnectedDataView->Connect( wxEVT_COMMAND_DATAVIEW_SELECTION_CHANGED, wxDataViewEventHandler( DIALOG_DRC_BASE::OnDRCItemSelected ), NULL, this );
252 m_footprintsDataView->Connect( wxEVT_COMMAND_DATAVIEW_ITEM_ACTIVATED, wxDataViewEventHandler( DIALOG_DRC_BASE::OnDRCItemDClick ), NULL, this );
253 m_footprintsDataView->Connect( wxEVT_COMMAND_DATAVIEW_ITEM_CONTEXT_MENU, wxDataViewEventHandler( DIALOG_DRC_BASE::OnDRCItemRClick ), NULL, this );
254 m_footprintsDataView->Connect( wxEVT_COMMAND_DATAVIEW_SELECTION_CHANGED, wxDataViewEventHandler( DIALOG_DRC_BASE::OnDRCItemSelected ), NULL, this );
255 m_ignoredList->Connect( wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, wxListEventHandler( DIALOG_DRC_BASE::OnIgnoredItemRClick ), NULL, this );
256 m_violationSeveritiesLink->Connect( wxEVT_COMMAND_HYPERLINK, wxHyperlinkEventHandler( DIALOG_DRC_BASE::OnEditViolationSeverities ), NULL, this );
257 m_showAll->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_DRC_BASE::OnSeverity ), NULL, this );
258 m_showErrors->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_DRC_BASE::OnSeverity ), NULL, this );
259 m_showWarnings->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_DRC_BASE::OnSeverity ), NULL, this );
260 m_showExclusions->Connect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_DRC_BASE::OnSeverity ), NULL, this );
261 m_saveReport->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DRC_BASE::OnSaveReport ), NULL, this );
262 m_DeleteCurrentMarkerButton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DRC_BASE::OnDeleteOneClick ), NULL, this );
263 m_DeleteAllMarkersButton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DRC_BASE::OnDeleteAllClick ), NULL, this );
264 m_sdbSizerCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DRC_BASE::OnCancelClick ), NULL, this );
265 m_sdbSizerOK->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DRC_BASE::OnRunDRCClick ), NULL, this );
266}
267
269{
270 // Disconnect Events
271 this->Disconnect( wxEVT_ACTIVATE, wxActivateEventHandler( DIALOG_DRC_BASE::OnActivateDlg ) );
272 this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( DIALOG_DRC_BASE::OnClose ) );
273 m_messages->Disconnect( wxEVT_COMMAND_HTML_LINK_CLICKED, wxHtmlLinkEventHandler( DIALOG_DRC_BASE::OnErrorLinkClicked ), NULL, this );
274 m_Notebook->Disconnect( wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, wxNotebookEventHandler( DIALOG_DRC_BASE::OnChangingNotebookPage ), NULL, this );
275 m_markerDataView->Disconnect( wxEVT_COMMAND_DATAVIEW_ITEM_ACTIVATED, wxDataViewEventHandler( DIALOG_DRC_BASE::OnDRCItemDClick ), NULL, this );
276 m_markerDataView->Disconnect( wxEVT_COMMAND_DATAVIEW_ITEM_CONTEXT_MENU, wxDataViewEventHandler( DIALOG_DRC_BASE::OnDRCItemRClick ), NULL, this );
277 m_markerDataView->Disconnect( wxEVT_COMMAND_DATAVIEW_SELECTION_CHANGED, wxDataViewEventHandler( DIALOG_DRC_BASE::OnDRCItemSelected ), NULL, this );
278 m_unconnectedDataView->Disconnect( wxEVT_COMMAND_DATAVIEW_ITEM_ACTIVATED, wxDataViewEventHandler( DIALOG_DRC_BASE::OnDRCItemDClick ), NULL, this );
279 m_unconnectedDataView->Disconnect( wxEVT_COMMAND_DATAVIEW_ITEM_CONTEXT_MENU, wxDataViewEventHandler( DIALOG_DRC_BASE::OnDRCItemRClick ), NULL, this );
280 m_unconnectedDataView->Disconnect( wxEVT_COMMAND_DATAVIEW_SELECTION_CHANGED, wxDataViewEventHandler( DIALOG_DRC_BASE::OnDRCItemSelected ), NULL, this );
281 m_footprintsDataView->Disconnect( wxEVT_COMMAND_DATAVIEW_ITEM_ACTIVATED, wxDataViewEventHandler( DIALOG_DRC_BASE::OnDRCItemDClick ), NULL, this );
282 m_footprintsDataView->Disconnect( wxEVT_COMMAND_DATAVIEW_ITEM_CONTEXT_MENU, wxDataViewEventHandler( DIALOG_DRC_BASE::OnDRCItemRClick ), NULL, this );
283 m_footprintsDataView->Disconnect( wxEVT_COMMAND_DATAVIEW_SELECTION_CHANGED, wxDataViewEventHandler( DIALOG_DRC_BASE::OnDRCItemSelected ), NULL, this );
284 m_ignoredList->Disconnect( wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, wxListEventHandler( DIALOG_DRC_BASE::OnIgnoredItemRClick ), NULL, this );
285 m_violationSeveritiesLink->Disconnect( wxEVT_COMMAND_HYPERLINK, wxHyperlinkEventHandler( DIALOG_DRC_BASE::OnEditViolationSeverities ), NULL, this );
286 m_showAll->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_DRC_BASE::OnSeverity ), NULL, this );
287 m_showErrors->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_DRC_BASE::OnSeverity ), NULL, this );
288 m_showWarnings->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_DRC_BASE::OnSeverity ), NULL, this );
289 m_showExclusions->Disconnect( wxEVT_COMMAND_CHECKBOX_CLICKED, wxCommandEventHandler( DIALOG_DRC_BASE::OnSeverity ), NULL, this );
290 m_saveReport->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DRC_BASE::OnSaveReport ), NULL, this );
291 m_DeleteCurrentMarkerButton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DRC_BASE::OnDeleteOneClick ), NULL, this );
292 m_DeleteAllMarkersButton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DRC_BASE::OnDeleteAllClick ), NULL, this );
293 m_sdbSizerCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DRC_BASE::OnCancelClick ), NULL, this );
294 m_sdbSizerOK->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_DRC_BASE::OnRunDRCClick ), NULL, this );
295
296}
wxCheckBox * m_cbRefillZones
wxHyperlinkCtrl * m_violationSeveritiesLink
virtual void OnCancelClick(wxCommandEvent &event)
virtual void OnSaveReport(wxCommandEvent &event)
wxPanel * m_panelMessages
wxCheckBox * m_showAll
wxButton * m_DeleteAllMarkersButton
wxNotebook * m_runningNotebook
wxPanel * m_panelUnconnectedItems
wxStdDialogButtonSizer * m_sdbSizer
wxCheckBox * m_showExclusions
wxNotebook * m_Notebook
wxCheckBox * m_showErrors
virtual void OnErrorLinkClicked(wxHtmlLinkEvent &event)
virtual void OnSeverity(wxCommandEvent &event)
wxPanel * m_panelIgnored
virtual void OnActivateDlg(wxActivateEvent &event)
virtual void OnChangingNotebookPage(wxNotebookEvent &event)
wxDataViewCtrl * m_unconnectedDataView
virtual void OnDeleteAllClick(wxCommandEvent &event)
wxDataViewCtrl * m_footprintsDataView
NUMBER_BADGE * m_warningsBadge
wxCheckBox * m_cbReportAllTrackErrors
wxPanel * m_panelFootprintWarnings
NUMBER_BADGE * m_exclusionsBadge
wxSimplebook * m_runningResultsBook
virtual void OnClose(wxCloseEvent &event)
wxButton * m_DeleteCurrentMarkerButton
virtual void OnRunDRCClick(wxCommandEvent &event)
virtual void OnDeleteOneClick(wxCommandEvent &event)
wxButton * m_sdbSizerCancel
wxStaticText * m_showLabel
wxButton * m_saveReport
virtual void OnDRCItemSelected(wxDataViewEvent &event)
wxCheckBox * m_cbTestFootprints
DIALOG_DRC_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Design Rules Checker"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
virtual void OnIgnoredItemRClick(wxListEvent &event)
wxCheckBox * m_showWarnings
wxBoxSizer * m_sizerButtons
wxButton * m_sdbSizerOK
wxListCtrl * m_ignoredList
NUMBER_BADGE * m_errorsBadge
WX_HTML_REPORT_BOX * m_messages
wxPanel * m_panelViolations
virtual void OnDRCItemRClick(wxDataViewEvent &event)
virtual void OnDRCItemDClick(wxDataViewEvent &event)
virtual void OnEditViolationSeverities(wxHyperlinkEvent &event)
wxDataViewCtrl * m_markerDataView
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:88
A simple UI element that puts a number on top of a colored rounded rectangle with a fill color that s...
Definition: number_badge.h:40
A slimmed down version of WX_HTML_REPORT_PANEL.
#define ID_NOTEBOOK1
#define _(s)