KiCad PCB EDA Suite
Loading...
Searching...
No Matches
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/hyperlink.h>
34#include <wx/simplebook.h>
35#include <wx/stattext.h>
36#include <wx/checkbox.h>
38#include <wx/button.h>
39#include <wx/dialog.h>
40
42
43#define ID_ERASE_DRC_MARKERS 1000
44
49{
50 private:
51
52 protected:
54 wxSimplebook* m_runningResultsBook;
55 wxPanel* running;
56 wxNotebook* m_runningNotebook;
59 wxGauge* m_gauge;
60 wxPanel* results;
61 wxNotebook* m_notebook;
63 wxDataViewCtrl* m_markerDataView;
65 wxListCtrl* m_ignoredList;
66 wxHyperlinkCtrl* m_violationSeveritiesLink;
67 wxStaticText* m_showLabel;
68 wxCheckBox* m_showAll;
69 wxCheckBox* m_showErrors;
71 wxCheckBox* m_showWarnings;
73 wxCheckBox* m_showExclusions;
75 wxButton* m_saveReport;
76 wxBoxSizer* m_buttonsSizer;
79 wxStdDialogButtonSizer* m_sdbSizer1;
80 wxButton* m_sdbSizer1OK;
82
83 // Virtual event handlers, override them in your derived class
84 virtual void OnCloseErcDialog( wxCloseEvent& event ) { event.Skip(); }
85 virtual void OnLinkClicked( wxHtmlLinkEvent& event ) { event.Skip(); }
86 virtual void OnERCItemDClick( wxDataViewEvent& event ) { event.Skip(); }
87 virtual void OnERCItemRClick( wxDataViewEvent& event ) { event.Skip(); }
88 virtual void OnERCItemSelected( wxDataViewEvent& event ) { event.Skip(); }
89 virtual void OnEditViolationSeverities( wxHyperlinkEvent& event ) { event.Skip(); }
90 virtual void OnSeverity( wxCommandEvent& event ) { event.Skip(); }
91 virtual void OnSaveReport( wxCommandEvent& event ) { event.Skip(); }
92 virtual void OnDeleteOneClick( wxCommandEvent& event ) { event.Skip(); }
93 virtual void OnDeleteAllClick( wxCommandEvent& event ) { event.Skip(); }
94 virtual void OnCancelClick( wxCommandEvent& event ) { event.Skip(); }
95 virtual void OnRunERCClick( wxCommandEvent& event ) { event.Skip(); }
96
97
98 public:
99
100 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 );
101
103
104};
105
Class DIALOG_ERC_BASE.
wxButton * m_saveReport
wxPanel * m_panelIgnored
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
wxHyperlinkCtrl * m_violationSeveritiesLink
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 OnEditViolationSeverities(wxHyperlinkEvent &event)
virtual void OnRunERCClick(wxCommandEvent &event)
wxCheckBox * m_showWarnings
wxButton * m_sdbSizer1OK
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)