2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2022-09-03 18:29:02 +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-06 13:46:16 +00:00
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2020-03-10 18:46:57 +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-19 14:17:49 +00:00
|
|
|
class WX_HTML_REPORT_BOX;
|
2020-08-26 01:17:40 +00:00
|
|
|
class WX_INFOBAR;
|
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
#include "dialog_shim.h"
|
2020-08-26 01:17:40 +00:00
|
|
|
#include <wx/infobar.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>
|
2020-08-26 01:17:40 +00:00
|
|
|
#include <wx/string.h>
|
2020-10-19 14:17:49 +00:00
|
|
|
#include <wx/html/htmlwin.h>
|
2022-01-22 21:34:01 +00:00
|
|
|
#include <wx/gauge.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/sizer.h>
|
2020-10-19 14:17:49 +00:00
|
|
|
#include <wx/panel.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
2020-10-19 14:17:49 +00:00
|
|
|
#include <wx/notebook.h>
|
2022-01-22 21:34:01 +00:00
|
|
|
#include <wx/dataview.h>
|
|
|
|
#include <wx/listctrl.h>
|
|
|
|
#include <wx/simplebook.h>
|
2020-10-19 14:17:49 +00:00
|
|
|
#include <wx/stattext.h>
|
|
|
|
#include <wx/checkbox.h>
|
2020-10-20 01:32:49 +00:00
|
|
|
#include <widgets/number_badge.h>
|
2019-08-07 19:01:50 +00:00
|
|
|
#include <wx/button.h>
|
2020-03-16 11:05:01 +00:00
|
|
|
#include <wx/statline.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2019-08-07 19:01:50 +00:00
|
|
|
#define ID_ERASE_DRC_MARKERS 1000
|
2015-09-10 12:03:16 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class DIALOG_ERC_BASE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
class DIALOG_ERC_BASE : public DIALOG_SHIM
|
|
|
|
{
|
|
|
|
private:
|
2020-03-10 18:46:57 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
protected:
|
2020-08-26 01:17:40 +00:00
|
|
|
WX_INFOBAR* m_infoBar;
|
2022-01-22 21:34:01 +00:00
|
|
|
wxSimplebook* m_runningResultsBook;
|
|
|
|
wxPanel* running;
|
|
|
|
wxNotebook* m_runningNotebook;
|
|
|
|
wxPanel* m_panelMessages;
|
2020-10-19 14:17:49 +00:00
|
|
|
WX_HTML_REPORT_BOX* m_messages;
|
2022-01-22 21:34:01 +00:00
|
|
|
wxGauge* m_gauge;
|
|
|
|
wxPanel* results;
|
|
|
|
wxNotebook* m_notebook;
|
2020-10-19 14:17:49 +00:00
|
|
|
wxPanel* violationsPanel;
|
2020-03-16 11:05:01 +00:00
|
|
|
wxDataViewCtrl* m_markerDataView;
|
2022-01-22 21:34:01 +00:00
|
|
|
wxPanel* m_panelIgnored;
|
|
|
|
wxListCtrl* m_ignoredList;
|
2020-03-16 11:05:01 +00:00
|
|
|
wxStaticText* m_showLabel;
|
|
|
|
wxCheckBox* m_showAll;
|
|
|
|
wxCheckBox* m_showErrors;
|
2020-10-20 01:32:49 +00:00
|
|
|
NUMBER_BADGE* m_errorsBadge;
|
2020-03-16 11:05:01 +00:00
|
|
|
wxCheckBox* m_showWarnings;
|
2020-10-20 01:32:49 +00:00
|
|
|
NUMBER_BADGE* m_warningsBadge;
|
2020-03-16 11:05:01 +00:00
|
|
|
wxCheckBox* m_showExclusions;
|
2020-10-20 01:32:49 +00:00
|
|
|
NUMBER_BADGE* m_exclusionsBadge;
|
2020-03-16 11:05:01 +00:00
|
|
|
wxButton* m_saveReport;
|
|
|
|
wxStaticLine* m_staticline1;
|
2019-08-07 19:01:50 +00:00
|
|
|
wxBoxSizer* m_buttonsSizer;
|
2022-01-22 21:34:01 +00:00
|
|
|
wxButton* m_deleteOneMarker;
|
|
|
|
wxButton* m_deleteAllMarkers;
|
2019-02-10 03:16:36 +00:00
|
|
|
wxStdDialogButtonSizer* m_sdbSizer1;
|
|
|
|
wxButton* m_sdbSizer1OK;
|
|
|
|
wxButton* m_sdbSizer1Cancel;
|
2020-03-10 18:46:57 +00:00
|
|
|
|
2022-09-03 18:29:02 +00:00
|
|
|
// Virtual event handlers, override them in your derived class
|
2018-08-06 20:30:49 +00:00
|
|
|
virtual void OnCloseErcDialog( wxCloseEvent& event ) { event.Skip(); }
|
2020-10-19 14:17:49 +00:00
|
|
|
virtual void OnLinkClicked( wxHtmlLinkEvent& event ) { event.Skip(); }
|
2020-03-16 11:05:01 +00:00
|
|
|
virtual void OnERCItemDClick( wxDataViewEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnERCItemRClick( wxDataViewEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnERCItemSelected( wxDataViewEvent& event ) { event.Skip(); }
|
2022-01-22 21:34:01 +00:00
|
|
|
virtual void OnIgnoreItemRClick( wxListEvent& event ) { event.Skip(); }
|
2020-03-16 11:05:01 +00:00
|
|
|
virtual void OnSeverity( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnSaveReport( wxCommandEvent& event ) { event.Skip(); }
|
2022-01-22 21:34:01 +00:00
|
|
|
virtual void OnDeleteOneClick( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnDeleteAllClick( wxCommandEvent& event ) { event.Skip(); }
|
2020-10-19 14:17:49 +00:00
|
|
|
virtual void OnCancelClick( wxCommandEvent& event ) { event.Skip(); }
|
2020-03-16 11:05:01 +00:00
|
|
|
virtual void OnRunERCClick( wxCommandEvent& event ) { event.Skip(); }
|
2020-03-10 18:46:57 +00:00
|
|
|
|
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
public:
|
2020-03-10 18:46:57 +00:00
|
|
|
|
|
|
|
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 );
|
2022-09-03 18:29:02 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
~DIALOG_ERC_BASE();
|
2020-03-10 18:46:57 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
};
|
|
|
|
|