2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2014-10-08 04:02:48 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version Jun 6 2014)
|
2013-05-26 04:36:44 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
|
|
|
// PLEASE DO "NOT" EDIT THIS FILE!
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef __DIALOG_ERC_BASE_H__
|
|
|
|
#define __DIALOG_ERC_BASE_H__
|
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/intl.h>
|
2014-08-29 06:47:05 +00:00
|
|
|
class DIALOG_SHIM;
|
|
|
|
class ERC_HTML_LISTBOX;
|
|
|
|
|
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>
|
|
|
|
#include <wx/checkbox.h>
|
|
|
|
#include <wx/statbox.h>
|
|
|
|
#include <wx/listbox.h>
|
2014-10-08 04:02:48 +00:00
|
|
|
#include <wx/button.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/panel.h>
|
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
|
|
|
#include <wx/notebook.h>
|
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class DIALOG_ERC_BASE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
class DIALOG_ERC_BASE : public DIALOG_SHIM
|
|
|
|
{
|
|
|
|
DECLARE_EVENT_TABLE()
|
|
|
|
private:
|
|
|
|
|
|
|
|
// Private event handlers
|
|
|
|
void _wxFB_OnCloseErcDialog( wxCloseEvent& event ){ OnCloseErcDialog( event ); }
|
|
|
|
void _wxFB_OnLeftClickMarkersList( wxCommandEvent& event ){ OnLeftClickMarkersList( event ); }
|
|
|
|
void _wxFB_OnLeftDblClickMarkersList( wxCommandEvent& event ){ OnLeftDblClickMarkersList( event ); }
|
2014-10-08 04:02:48 +00:00
|
|
|
void _wxFB_OnEraseDrcMarkersClick( wxCommandEvent& event ){ OnEraseDrcMarkersClick( event ); }
|
|
|
|
void _wxFB_OnErcCmpClick( wxCommandEvent& event ){ OnErcCmpClick( event ); }
|
|
|
|
void _wxFB_OnButtonCloseClick( wxCommandEvent& event ){ OnButtonCloseClick( event ); }
|
2013-05-26 04:36:44 +00:00
|
|
|
void _wxFB_OnResetMatrixClick( wxCommandEvent& event ){ OnResetMatrixClick( event ); }
|
|
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
enum
|
|
|
|
{
|
2014-10-08 04:02:48 +00:00
|
|
|
ID_MAKER_HTMLLISTBOX = 1000,
|
2013-05-26 04:36:44 +00:00
|
|
|
ID_ERASE_DRC_MARKERS,
|
2014-10-08 04:02:48 +00:00
|
|
|
ID_ERC_CMP,
|
2013-05-26 04:36:44 +00:00
|
|
|
ID_RESET_MATRIX
|
|
|
|
};
|
|
|
|
|
|
|
|
wxNotebook* m_NoteBook;
|
|
|
|
wxPanel* m_PanelERC;
|
|
|
|
wxStaticText* m_ErcTotalErrorsText;
|
|
|
|
wxTextCtrl* m_TotalErrCount;
|
|
|
|
wxStaticText* m_WarnErcErrorsText;
|
|
|
|
wxTextCtrl* m_LastWarningCount;
|
|
|
|
wxStaticText* m_LastErrCountText;
|
|
|
|
wxTextCtrl* m_LastErrCount;
|
|
|
|
wxCheckBox* m_WriteResultOpt;
|
|
|
|
wxStaticText* m_titleMessages;
|
|
|
|
wxTextCtrl* m_MessagesList;
|
|
|
|
wxStaticText* m_textMarkers;
|
|
|
|
ERC_HTML_LISTBOX* m_MarkersList;
|
2014-10-08 04:02:48 +00:00
|
|
|
wxButton* m_buttondelmarkers;
|
|
|
|
wxButton* m_buttonERC;
|
|
|
|
wxButton* m_buttonClose;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxPanel* m_PanelERCOptions;
|
|
|
|
wxButton* m_ResetOptButton;
|
|
|
|
wxPanel* m_matrixPanel;
|
|
|
|
|
|
|
|
// Virtual event handlers, overide them in your derived class
|
|
|
|
virtual void OnCloseErcDialog( wxCloseEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnLeftClickMarkersList( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnLeftDblClickMarkersList( wxCommandEvent& event ) { event.Skip(); }
|
2014-10-08 04:02:48 +00:00
|
|
|
virtual void OnEraseDrcMarkersClick( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnErcCmpClick( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnButtonCloseClick( wxCommandEvent& event ) { event.Skip(); }
|
2013-05-26 04:36:44 +00:00
|
|
|
virtual void OnResetMatrixClick( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
2014-10-08 04:02:48 +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( 519,392 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
2013-05-26 04:36:44 +00:00
|
|
|
~DIALOG_ERC_BASE();
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif //__DIALOG_ERC_BASE_H__
|