2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2022-08-30 11:03:40 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b)
|
2013-05-26 04:36:44 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2018-04-23 16:20:50 +00:00
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2019-03-26 02:38:18 +00:00
|
|
|
#pragma once
|
2013-05-26 04:36:44 +00:00
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/intl.h>
|
2020-10-17 19:15:26 +00:00
|
|
|
class WX_HTML_REPORT_BOX;
|
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
#include "dialog_shim.h"
|
|
|
|
#include <wx/string.h>
|
2020-09-16 15:03:55 +00:00
|
|
|
#include <wx/checkbox.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/gdicmn.h>
|
|
|
|
#include <wx/font.h>
|
|
|
|
#include <wx/colour.h>
|
|
|
|
#include <wx/settings.h>
|
|
|
|
#include <wx/sizer.h>
|
2020-10-17 19:15:26 +00:00
|
|
|
#include <wx/html/htmlwin.h>
|
2020-09-16 15:03:55 +00:00
|
|
|
#include <wx/gauge.h>
|
2018-01-30 14:13:34 +00:00
|
|
|
#include <wx/panel.h>
|
2020-02-27 22:00:14 +00:00
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/notebook.h>
|
2020-09-17 13:36:34 +00:00
|
|
|
#include <wx/dataview.h>
|
2021-07-11 21:47:19 +00:00
|
|
|
#include <wx/listctrl.h>
|
2022-08-30 11:03:40 +00:00
|
|
|
#include <wx/hyperlink.h>
|
2020-09-17 13:36:34 +00:00
|
|
|
#include <wx/simplebook.h>
|
2020-09-16 15:03:55 +00:00
|
|
|
#include <wx/stattext.h>
|
2020-10-20 01:32:49 +00:00
|
|
|
#include <widgets/number_badge.h>
|
2020-02-27 22:00:14 +00:00
|
|
|
#include <wx/button.h>
|
|
|
|
#include <wx/statline.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2020-02-27 22:00:14 +00:00
|
|
|
#define ID_NOTEBOOK1 1000
|
2013-05-26 04:36:44 +00:00
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2020-03-16 11:05:01 +00:00
|
|
|
/// Class DIALOG_DRC_BASE
|
2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2020-03-16 11:05:01 +00:00
|
|
|
class DIALOG_DRC_BASE : public DIALOG_SHIM
|
2013-05-26 04:36:44 +00:00
|
|
|
{
|
|
|
|
private:
|
2019-03-28 19:30:51 +00:00
|
|
|
wxPanel* m_panelUnconnectedItems;
|
2019-03-26 02:38:18 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
protected:
|
2020-09-16 15:03:55 +00:00
|
|
|
wxCheckBox* m_cbRefillZones;
|
2020-10-28 17:55:57 +00:00
|
|
|
wxCheckBox* m_cbReportAllTrackErrors;
|
2019-03-28 19:30:51 +00:00
|
|
|
wxCheckBox* m_cbTestFootprints;
|
2020-09-17 13:36:34 +00:00
|
|
|
wxSimplebook* m_runningResultsBook;
|
|
|
|
wxPanel* running;
|
|
|
|
wxNotebook* m_runningNotebook;
|
2020-09-16 15:03:55 +00:00
|
|
|
wxPanel* m_panelMessages;
|
2020-10-18 11:51:36 +00:00
|
|
|
WX_HTML_REPORT_BOX* m_messages;
|
2020-09-16 15:03:55 +00:00
|
|
|
wxGauge* m_gauge;
|
2020-09-17 13:36:34 +00:00
|
|
|
wxPanel* results;
|
|
|
|
wxNotebook* m_Notebook;
|
2019-03-28 19:30:51 +00:00
|
|
|
wxPanel* m_panelViolations;
|
2020-02-24 23:17:30 +00:00
|
|
|
wxDataViewCtrl* m_markerDataView;
|
|
|
|
wxDataViewCtrl* m_unconnectedDataView;
|
2019-03-28 19:30:51 +00:00
|
|
|
wxPanel* m_panelFootprintWarnings;
|
2020-02-24 23:17:30 +00:00
|
|
|
wxDataViewCtrl* m_footprintsDataView;
|
2021-07-11 21:47:19 +00:00
|
|
|
wxPanel* m_panelIgnored;
|
|
|
|
wxListCtrl* m_ignoredList;
|
2022-08-30 11:03:40 +00:00
|
|
|
wxHyperlinkCtrl* m_violationSeveritiesLink;
|
2020-02-27 22:00:14 +00:00
|
|
|
wxStaticText* m_showLabel;
|
|
|
|
wxCheckBox* m_showAll;
|
|
|
|
wxCheckBox* m_showErrors;
|
2020-10-20 01:32:49 +00:00
|
|
|
NUMBER_BADGE* m_errorsBadge;
|
2020-02-27 22:00:14 +00:00
|
|
|
wxCheckBox* m_showWarnings;
|
2020-10-20 01:32:49 +00:00
|
|
|
NUMBER_BADGE* m_warningsBadge;
|
2020-02-28 00:05:40 +00:00
|
|
|
wxCheckBox* m_showExclusions;
|
2020-10-20 01:32:49 +00:00
|
|
|
NUMBER_BADGE* m_exclusionsBadge;
|
2020-02-27 22:00:14 +00:00
|
|
|
wxButton* m_saveReport;
|
|
|
|
wxStaticLine* m_staticline1;
|
2018-01-30 14:13:34 +00:00
|
|
|
wxBoxSizer* m_sizerButtons;
|
|
|
|
wxButton* m_DeleteCurrentMarkerButton;
|
|
|
|
wxButton* m_DeleteAllMarkersButton;
|
2020-09-23 10:36:27 +00:00
|
|
|
wxStdDialogButtonSizer* m_sdbSizer;
|
|
|
|
wxButton* m_sdbSizerOK;
|
|
|
|
wxButton* m_sdbSizerCancel;
|
2019-03-26 02:38:18 +00:00
|
|
|
|
2022-08-30 11:03:40 +00:00
|
|
|
// Virtual event handlers, override them in your derived class
|
2016-04-15 18:15:22 +00:00
|
|
|
virtual void OnActivateDlg( wxActivateEvent& event ) { event.Skip(); }
|
2020-09-18 19:57:54 +00:00
|
|
|
virtual void OnClose( wxCloseEvent& event ) { event.Skip(); }
|
2020-10-17 19:15:26 +00:00
|
|
|
virtual void OnErrorLinkClicked( wxHtmlLinkEvent& event ) { event.Skip(); }
|
2020-02-24 23:17:30 +00:00
|
|
|
virtual void OnChangingNotebookPage( wxNotebookEvent& event ) { event.Skip(); }
|
2020-02-25 12:17:13 +00:00
|
|
|
virtual void OnDRCItemDClick( wxDataViewEvent& event ) { event.Skip(); }
|
2020-02-28 00:05:40 +00:00
|
|
|
virtual void OnDRCItemRClick( wxDataViewEvent& event ) { event.Skip(); }
|
2020-02-24 23:17:30 +00:00
|
|
|
virtual void OnDRCItemSelected( wxDataViewEvent& event ) { event.Skip(); }
|
2022-08-30 11:03:40 +00:00
|
|
|
virtual void OnEditViolationSeverities( wxHyperlinkEvent& event ) { event.Skip(); }
|
2020-02-27 22:00:14 +00:00
|
|
|
virtual void OnSeverity( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnSaveReport( wxCommandEvent& event ) { event.Skip(); }
|
2018-01-30 14:13:34 +00:00
|
|
|
virtual void OnDeleteOneClick( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnDeleteAllClick( wxCommandEvent& event ) { event.Skip(); }
|
2013-05-26 04:36:44 +00:00
|
|
|
virtual void OnCancelClick( wxCommandEvent& event ) { event.Skip(); }
|
2020-02-24 23:17:30 +00:00
|
|
|
virtual void OnRunDRCClick( wxCommandEvent& event ) { event.Skip(); }
|
2019-03-26 02:38:18 +00:00
|
|
|
|
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
public:
|
2019-03-26 02:38:18 +00:00
|
|
|
|
2022-01-22 21:34:01 +00:00
|
|
|
DIALOG_DRC_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Design Rules Checker"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
2022-08-30 11:03:40 +00:00
|
|
|
|
2020-03-16 11:05:01 +00:00
|
|
|
~DIALOG_DRC_BASE();
|
2019-03-26 02:38:18 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
};
|
|
|
|
|