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 4.2.1-0-g80c4cb6)
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>
15class WX_INFOBAR;
16
17#include "dialog_shim.h"
18#include <wx/infobar.h>
19#include <wx/gdicmn.h>
20#include <wx/font.h>
21#include <wx/colour.h>
22#include <wx/settings.h>
23#include <wx/string.h>
24#include <wx/bmpbuttn.h>
25#include <wx/bitmap.h>
26#include <wx/image.h>
27#include <wx/icon.h>
28#include <wx/button.h>
29#include <wx/gbsizer.h>
30#include <wx/html/htmlwin.h>
31#include <wx/gauge.h>
32#include <wx/sizer.h>
33#include <wx/panel.h>
34#include <wx/notebook.h>
35#include <wx/dataview.h>
36#include <wx/listctrl.h>
37#include <wx/hyperlink.h>
38#include <wx/simplebook.h>
39#include <wx/stattext.h>
40#include <wx/checkbox.h>
42#include <wx/dialog.h>
43
45
46#define ID_ERASE_DRC_MARKERS 7100
47
52{
53 private:
54
55 protected:
58 wxSimplebook* m_runningResultsBook;
59 wxPanel* running;
60 wxNotebook* m_runningNotebook;
63 wxGauge* m_gauge;
64 wxPanel* results;
65 wxNotebook* m_notebook;
67 wxDataViewCtrl* m_markerDataView;
69 wxListCtrl* m_ignoredList;
70 wxHyperlinkCtrl* m_violationSeveritiesLink;
71 wxStaticText* m_showLabel;
72 wxCheckBox* m_showAll;
73 wxCheckBox* m_showErrors;
75 wxCheckBox* m_showWarnings;
77 wxCheckBox* m_showExclusions;
79 wxButton* m_saveReport;
80 wxBoxSizer* m_buttonsSizer;
83 wxStdDialogButtonSizer* m_sdbSizer1;
84 wxButton* m_sdbSizer1OK;
86
87 // Virtual event handlers, override them in your derived class
88 virtual void OnCloseErcDialog( wxCloseEvent& event ) { event.Skip(); }
89 virtual void OnMenu( wxCommandEvent& event ) { event.Skip(); }
90 virtual void OnLinkClicked( wxHtmlLinkEvent& event ) { event.Skip(); }
91 virtual void OnERCItemDClick( wxDataViewEvent& event ) { event.Skip(); }
92 virtual void OnERCItemRClick( wxDataViewEvent& event ) { event.Skip(); }
93 virtual void OnERCItemSelected( wxDataViewEvent& event ) { event.Skip(); }
94 virtual void OnIgnoredItemRClick( wxListEvent& event ) { event.Skip(); }
95 virtual void OnEditViolationSeverities( wxHyperlinkEvent& event ) { event.Skip(); }
96 virtual void OnSeverity( wxCommandEvent& event ) { event.Skip(); }
97 virtual void OnSaveReport( wxCommandEvent& event ) { event.Skip(); }
98 virtual void OnDeleteOneClick( wxCommandEvent& event ) { event.Skip(); }
99 virtual void OnDeleteAllClick( wxCommandEvent& event ) { event.Skip(); }
100 virtual void OnCancelClick( wxCommandEvent& event ) { event.Skip(); }
101 virtual void OnRunERCClick( wxCommandEvent& event ) { event.Skip(); }
102
103
104 public:
105
106 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 );
107
109
110};
111
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
STD_BITMAP_BUTTON * m_bMenu
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)
virtual void OnIgnoredItemRClick(wxListEvent &event)
wxButton * m_deleteOneMarker
virtual void OnDeleteAllClick(wxCommandEvent &event)
virtual void OnEditViolationSeverities(wxHyperlinkEvent &event)
virtual void OnRunERCClick(wxCommandEvent &event)
wxCheckBox * m_showWarnings
virtual void OnMenu(wxCommandEvent &event)
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_SHIM(wxWindow *aParent, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxRESIZE_BORDER, const wxString &name=wxDialogNameStr)
A simple UI element that puts a number on top of a colored rounded rectangle with a fill color that s...
A bitmap button widget that behaves like a standard dialog button except with an icon.
A slimmed down version of WX_HTML_REPORT_PANEL.
A modified version of the wxInfoBar class that allows us to:
Definition wx_infobar.h:76
#define _(s)