KiCad PCB EDA Suite
dialog_erc_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Oct 26 2018)
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>
13 class WX_HTML_REPORT_BOX;
14 class 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/sizer.h>
25 #include <wx/panel.h>
26 #include <wx/bitmap.h>
27 #include <wx/image.h>
28 #include <wx/icon.h>
29 #include <wx/dataview.h>
30 #include <wx/notebook.h>
31 #include <wx/stattext.h>
32 #include <wx/checkbox.h>
33 #include <widgets/number_badge.h>
34 #include <wx/button.h>
35 #include <wx/statline.h>
36 #include <wx/dialog.h>
37 
39 
40 #define ID_ERASE_DRC_MARKERS 1000
41 
46 {
47  private:
48 
49  protected:
51  wxNotebook* m_notebook;
52  wxPanel* messagesPanel;
54  wxPanel* violationsPanel;
55  wxDataViewCtrl* m_markerDataView;
56  wxStaticText* m_showLabel;
57  wxCheckBox* m_showAll;
58  wxCheckBox* m_showErrors;
60  wxCheckBox* m_showWarnings;
62  wxCheckBox* m_showExclusions;
64  wxButton* m_saveReport;
65  wxStaticLine* m_staticline1;
66  wxBoxSizer* m_buttonsSizer;
67  wxButton* m_buttondelmarkers;
68  wxStdDialogButtonSizer* m_sdbSizer1;
69  wxButton* m_sdbSizer1OK;
70  wxButton* m_sdbSizer1Cancel;
71 
72  // Virtual event handlers, overide them in your derived class
73  virtual void OnCloseErcDialog( wxCloseEvent& event ) { event.Skip(); }
74  virtual void OnLinkClicked( wxHtmlLinkEvent& event ) { event.Skip(); }
75  virtual void OnERCItemDClick( wxDataViewEvent& event ) { event.Skip(); }
76  virtual void OnERCItemRClick( wxDataViewEvent& event ) { event.Skip(); }
77  virtual void OnERCItemSelected( wxDataViewEvent& event ) { event.Skip(); }
78  virtual void OnSeverity( wxCommandEvent& event ) { event.Skip(); }
79  virtual void OnSaveReport( wxCommandEvent& event ) { event.Skip(); }
80  virtual void OnEraseDrcMarkersClick( wxCommandEvent& event ) { event.Skip(); }
81  virtual void OnCancelClick( wxCommandEvent& event ) { event.Skip(); }
82  virtual void OnRunERCClick( wxCommandEvent& event ) { event.Skip(); }
83 
84 
85  public:
86 
87  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 );
89 
90 };
91 
virtual void OnLinkClicked(wxHtmlLinkEvent &event)
wxButton * m_buttondelmarkers
NUMBER_BADGE * m_errorsBadge
virtual void OnERCItemSelected(wxDataViewEvent &event)
A slimmed down version of WX_HTML_REPORT_PANEL.
Class DIALOG_ERC_BASE.
wxCheckBox * m_showExclusions
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:82
virtual void OnEraseDrcMarkersClick(wxCommandEvent &event)
wxButton * m_sdbSizer1Cancel
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:38
virtual void OnRunERCClick(wxCommandEvent &event)
virtual void OnSaveReport(wxCommandEvent &event)
virtual void OnSeverity(wxCommandEvent &event)
wxCheckBox * m_showAll
virtual void OnCloseErcDialog(wxCloseEvent &event)
wxButton * m_sdbSizer1OK
wxStdDialogButtonSizer * m_sdbSizer1
wxBoxSizer * m_buttonsSizer
#define _(s)
virtual void OnERCItemRClick(wxDataViewEvent &event)
wxNotebook * m_notebook
wxButton * m_saveReport
NUMBER_BADGE * m_warningsBadge
wxPanel * violationsPanel
wxCheckBox * m_showWarnings
WX_INFOBAR * m_infoBar
A modified version of the wxInfoBar class that allows us to:
Definition: infobar.h:73
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)
wxCheckBox * m_showErrors
NUMBER_BADGE * m_exclusionsBadge
wxDataViewCtrl * m_markerDataView
WX_HTML_REPORT_BOX * m_messages
wxStaticText * m_showLabel
virtual void OnCancelClick(wxCommandEvent &event)
wxStaticLine * m_staticline1
wxPanel * messagesPanel
virtual void OnERCItemDClick(wxDataViewEvent &event)