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 #include "dialog_shim.h"
14 #include <wx/string.h>
15 #include <wx/stattext.h>
16 #include <wx/gdicmn.h>
17 #include <wx/font.h>
18 #include <wx/colour.h>
19 #include <wx/settings.h>
20 #include <wx/textctrl.h>
21 #include <wx/sizer.h>
22 #include <wx/dataview.h>
23 #include <wx/checkbox.h>
24 #include <wx/bitmap.h>
25 #include <wx/image.h>
26 #include <wx/icon.h>
27 #include <wx/statbmp.h>
28 #include <wx/button.h>
29 #include <wx/statline.h>
30 #include <wx/dialog.h>
31 
33 
34 #define ID_ERASE_DRC_MARKERS 1000
35 
40 {
41  private:
42 
43  protected:
44  wxStaticText* m_titleMessages;
45  wxTextCtrl* m_MessagesList;
46  wxStaticText* m_textMarkers;
47  wxDataViewCtrl* m_markerDataView;
48  wxStaticText* m_showLabel;
49  wxCheckBox* m_showAll;
50  wxCheckBox* m_showErrors;
51  wxStaticBitmap* m_errorsBadge;
52  wxCheckBox* m_showWarnings;
53  wxStaticBitmap* m_warningsBadge;
54  wxCheckBox* m_showExclusions;
55  wxStaticBitmap* m_exclusionsBadge;
56  wxButton* m_saveReport;
57  wxStaticLine* m_staticline1;
58  wxBoxSizer* m_buttonsSizer;
59  wxButton* m_buttondelmarkers;
60  wxStdDialogButtonSizer* m_sdbSizer1;
61  wxButton* m_sdbSizer1OK;
62  wxButton* m_sdbSizer1Cancel;
63 
64  // Virtual event handlers, overide them in your derived class
65  virtual void OnCloseErcDialog( wxCloseEvent& event ) { event.Skip(); }
66  virtual void OnERCItemDClick( wxDataViewEvent& event ) { event.Skip(); }
67  virtual void OnERCItemRClick( wxDataViewEvent& event ) { event.Skip(); }
68  virtual void OnERCItemSelected( wxDataViewEvent& event ) { event.Skip(); }
69  virtual void OnSeverity( wxCommandEvent& event ) { event.Skip(); }
70  virtual void OnSaveReport( wxCommandEvent& event ) { event.Skip(); }
71  virtual void OnEraseDrcMarkersClick( wxCommandEvent& event ) { event.Skip(); }
72  virtual void OnButtonCloseClick( wxCommandEvent& event ) { event.Skip(); }
73  virtual void OnRunERCClick( wxCommandEvent& event ) { event.Skip(); }
74 
75 
76  public:
77 
78  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 );
80 
81 };
82 
wxTextCtrl * m_MessagesList
wxButton * m_buttondelmarkers
virtual void OnERCItemSelected(wxDataViewEvent &event)
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:84
virtual void OnEraseDrcMarkersClick(wxCommandEvent &event)
wxButton * m_sdbSizer1Cancel
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
wxStaticText * m_textMarkers
wxStaticBitmap * m_warningsBadge
virtual void OnERCItemRClick(wxDataViewEvent &event)
virtual void OnButtonCloseClick(wxCommandEvent &event)
wxButton * m_saveReport
wxStaticBitmap * m_errorsBadge
wxCheckBox * m_showWarnings
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
wxDataViewCtrl * m_markerDataView
wxStaticText * m_titleMessages
#define _(s)
Definition: 3d_actions.cpp:33
wxStaticBitmap * m_exclusionsBadge
wxStaticText * m_showLabel
wxStaticLine * m_staticline1
virtual void OnERCItemDClick(wxDataViewEvent &event)