KiCad PCB EDA Suite
dialog_erc_base.h
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b)
3// http://www.wxformbuilder.org/
4//
5// PLEASE DO *NOT* EDIT THIS FILE!
7
8#pragma once
9
10#include <wx/artprov.h>
11#include <wx/xrc/xmlres.h>
12#include <wx/intl.h>
14class WX_INFOBAR;
15
16#include "dialog_shim.h"
17#include <wx/infobar.h>
18#include <wx/gdicmn.h>
19#include <wx/font.h>
20#include <wx/colour.h>
21#include <wx/settings.h>
22#include <wx/string.h>
23#include <wx/html/htmlwin.h>
24#include <wx/gauge.h>
25#include <wx/sizer.h>
26#include <wx/panel.h>
27#include <wx/bitmap.h>
28#include <wx/image.h>
29#include <wx/icon.h>
30#include <wx/notebook.h>
31#include <wx/dataview.h>
32#include <wx/listctrl.h>
33#include <wx/simplebook.h>
34#include <wx/stattext.h>
35#include <wx/checkbox.h>
37#include <wx/button.h>
38#include <wx/dialog.h>
39
41
42#define ID_ERASE_DRC_MARKERS 1000
43
48{
49 private:
50
51 protected:
53 wxSimplebook* m_runningResultsBook;
54 wxPanel* running;
55 wxNotebook* m_runningNotebook;
58 wxGauge* m_gauge;
59 wxPanel* results;
60 wxNotebook* m_notebook;
62 wxDataViewCtrl* m_markerDataView;
64 wxListCtrl* m_ignoredList;
65 wxStaticText* m_showLabel;
66 wxCheckBox* m_showAll;
67 wxCheckBox* m_showErrors;
69 wxCheckBox* m_showWarnings;
71 wxCheckBox* m_showExclusions;
73 wxButton* m_saveReport;
74 wxBoxSizer* m_buttonsSizer;
77 wxStdDialogButtonSizer* m_sdbSizer1;
78 wxButton* m_sdbSizer1OK;
80
81 // Virtual event handlers, override them in your derived class
82 virtual void OnCloseErcDialog( wxCloseEvent& event ) { event.Skip(); }
83 virtual void OnLinkClicked( wxHtmlLinkEvent& event ) { event.Skip(); }
84 virtual void OnERCItemDClick( wxDataViewEvent& event ) { event.Skip(); }
85 virtual void OnERCItemRClick( wxDataViewEvent& event ) { event.Skip(); }
86 virtual void OnERCItemSelected( wxDataViewEvent& event ) { event.Skip(); }
87 virtual void OnIgnoreItemRClick( wxListEvent& event ) { event.Skip(); }
88 virtual void OnSeverity( wxCommandEvent& event ) { event.Skip(); }
89 virtual void OnSaveReport( wxCommandEvent& event ) { event.Skip(); }
90 virtual void OnDeleteOneClick( wxCommandEvent& event ) { event.Skip(); }
91 virtual void OnDeleteAllClick( wxCommandEvent& event ) { event.Skip(); }
92 virtual void OnCancelClick( wxCommandEvent& event ) { event.Skip(); }
93 virtual void OnRunERCClick( wxCommandEvent& event ) { event.Skip(); }
94
95
96 public:
97
98 DIALOG_ERC_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Electrical Rules Checker"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
99
101
102};
103
Class DIALOG_ERC_BASE.
wxButton * m_saveReport
wxPanel * m_panelIgnored
virtual void OnIgnoreItemRClick(wxListEvent &event)
wxButton * m_sdbSizer1Cancel
wxSimplebook * m_runningResultsBook
wxPanel * m_panelMessages
wxCheckBox * m_showExclusions
virtual void OnLinkClicked(wxHtmlLinkEvent &event)
NUMBER_BADGE * m_errorsBadge
virtual void OnDeleteOneClick(wxCommandEvent &event)
WX_INFOBAR * m_infoBar
virtual void OnCancelClick(wxCommandEvent &event)
virtual void OnSeverity(wxCommandEvent &event)
wxStaticText * m_showLabel
virtual void OnSaveReport(wxCommandEvent &event)
wxPanel * violationsPanel
wxCheckBox * m_showErrors
wxNotebook * m_notebook
wxCheckBox * m_showAll
virtual void OnERCItemRClick(wxDataViewEvent &event)
NUMBER_BADGE * m_exclusionsBadge
wxListCtrl * m_ignoredList
wxStdDialogButtonSizer * m_sdbSizer1
wxBoxSizer * m_buttonsSizer
WX_HTML_REPORT_BOX * m_messages
wxDataViewCtrl * m_markerDataView
wxButton * m_deleteAllMarkers
NUMBER_BADGE * m_warningsBadge
virtual void OnERCItemSelected(wxDataViewEvent &event)
wxButton * m_deleteOneMarker
virtual void OnDeleteAllClick(wxCommandEvent &event)
virtual void OnRunERCClick(wxCommandEvent &event)
wxCheckBox * m_showWarnings
wxButton * m_sdbSizer1OK
DIALOG_ERC_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Electrical Rules Checker"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
wxNotebook * m_runningNotebook
virtual void OnERCItemDClick(wxDataViewEvent &event)
virtual void OnCloseErcDialog(wxCloseEvent &event)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:83
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:39
A slimmed down version of WX_HTML_REPORT_PANEL.
A modified version of the wxInfoBar class that allows us to:
Definition: wx_infobar.h:75
#define _(s)