2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2018-08-06 20:30:49 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version Dec 30 2017)
|
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
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef __DIALOG_ERC_BASE_H__
|
|
|
|
#define __DIALOG_ERC_BASE_H__
|
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/intl.h>
|
2015-09-10 12:03:16 +00:00
|
|
|
class ERC_HTML_LISTFRAME;
|
2014-08-29 06:47:05 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
#include "dialog_shim.h"
|
|
|
|
#include <wx/string.h>
|
|
|
|
#include <wx/stattext.h>
|
|
|
|
#include <wx/gdicmn.h>
|
|
|
|
#include <wx/font.h>
|
|
|
|
#include <wx/colour.h>
|
|
|
|
#include <wx/settings.h>
|
|
|
|
#include <wx/textctrl.h>
|
|
|
|
#include <wx/sizer.h>
|
2015-12-20 12:40:17 +00:00
|
|
|
#include <wx/statline.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/checkbox.h>
|
|
|
|
#include <wx/statbox.h>
|
2015-09-10 12:03:16 +00:00
|
|
|
#include <wx/html/htmlwin.h>
|
2018-08-06 20:30:49 +00:00
|
|
|
#include <wx/button.h>
|
|
|
|
#include <wx/panel.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
|
|
|
#include <wx/notebook.h>
|
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2015-09-10 12:03:16 +00:00
|
|
|
#define ID_ERASE_DRC_MARKERS 1000
|
2018-07-27 13:52:30 +00:00
|
|
|
#define ID_RESET_MATRIX 1001
|
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:
|
|
|
|
|
|
|
|
protected:
|
|
|
|
wxNotebook* m_NoteBook;
|
|
|
|
wxPanel* m_PanelERC;
|
|
|
|
wxStaticText* m_ErcTotalErrorsText;
|
|
|
|
wxTextCtrl* m_TotalErrCount;
|
|
|
|
wxStaticText* m_WarnErcErrorsText;
|
|
|
|
wxTextCtrl* m_LastWarningCount;
|
|
|
|
wxStaticText* m_LastErrCountText;
|
|
|
|
wxTextCtrl* m_LastErrCount;
|
2015-12-20 12:40:17 +00:00
|
|
|
wxStaticLine* m_staticline1;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxCheckBox* m_WriteResultOpt;
|
|
|
|
wxStaticText* m_titleMessages;
|
|
|
|
wxTextCtrl* m_MessagesList;
|
|
|
|
wxStaticText* m_textMarkers;
|
2015-09-10 12:03:16 +00:00
|
|
|
ERC_HTML_LISTFRAME* m_MarkersList;
|
2014-10-08 04:02:48 +00:00
|
|
|
wxButton* m_buttondelmarkers;
|
2018-07-27 13:52:30 +00:00
|
|
|
wxStdDialogButtonSizer* m_sdbSizer1;
|
|
|
|
wxButton* m_sdbSizer1OK;
|
|
|
|
wxButton* m_sdbSizer1Cancel;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxPanel* m_PanelERCOptions;
|
2015-12-20 12:40:17 +00:00
|
|
|
wxCheckBox* m_cbTestSimilarLabels;
|
|
|
|
wxCheckBox* m_cbTestUniqueGlbLabels;
|
2018-04-06 13:46:16 +00:00
|
|
|
wxPanel* m_matrixPanel;
|
|
|
|
wxButton* m_ResetOptButton;
|
2013-05-26 04:36:44 +00:00
|
|
|
|
|
|
|
// Virtual event handlers, overide them in your derived class
|
2018-08-06 20:30:49 +00:00
|
|
|
virtual void OnCloseErcDialog( wxCloseEvent& event ) { event.Skip(); }
|
2015-09-10 12:03:16 +00:00
|
|
|
virtual void OnLeftClickMarkersList( wxHtmlLinkEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnLeftDblClickMarkersList( wxMouseEvent& event ) { event.Skip(); }
|
2014-10-08 04:02:48 +00:00
|
|
|
virtual void OnEraseDrcMarkersClick( wxCommandEvent& event ) { event.Skip(); }
|
2018-08-06 20:30:49 +00:00
|
|
|
virtual void OnButtonCloseClick( wxCommandEvent& event ) { event.Skip(); }
|
2014-10-08 04:02:48 +00:00
|
|
|
virtual void OnErcCmpClick( wxCommandEvent& event ) { event.Skip(); }
|
2013-05-26 04:36:44 +00:00
|
|
|
virtual void OnResetMatrixClick( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
2018-08-01 19:08:12 +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( 483,420 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
2013-05-26 04:36:44 +00:00
|
|
|
~DIALOG_ERC_BASE();
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif //__DIALOG_ERC_BASE_H__
|