dialog_design_rules_base.h 4.04 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Oct  8 2012)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////

#ifndef __DIALOG_DESIGN_RULES_BASE_H__
#define __DIALOG_DESIGN_RULES_BASE_H__

#include <wx/artprov.h>
#include <wx/xrc/xmlres.h>
#include <wx/intl.h>
class DIALOG_SHIM;
class NETS_LIST_CTRL;

#include "dialog_shim.h"
#include <wx/colour.h>
#include <wx/settings.h>
#include <wx/string.h>
#include <wx/font.h>
#include <wx/grid.h>
#include <wx/gdicmn.h>
#include <wx/button.h>
#include <wx/sizer.h>
#include <wx/statbox.h>
#include <wx/combobox.h>
#include <wx/listctrl.h>
#include <wx/panel.h>
#include <wx/bitmap.h>
#include <wx/image.h>
#include <wx/icon.h>
#include <wx/radiobox.h>
#include <wx/stattext.h>
#include <wx/textctrl.h>
#include <wx/statline.h>
#include <wx/notebook.h>
#include <wx/html/htmlwin.h>
#include <wx/dialog.h>

///////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////////
/// Class DIALOG_DESIGN_RULES_BASE
///////////////////////////////////////////////////////////////////////////////
class DIALOG_DESIGN_RULES_BASE : public DIALOG_SHIM
{
	private:
	
	protected:
		enum
		{
			wxID_ADD_NETCLASS = 1000,
			wxID_REMOVE_NETCLASS,
			ID_LEFT_TO_RIGHT_COPY,
			ID_RIGHT_TO_LEFT_COPY
		};
		
		wxNotebook* m_DRnotebook;
		wxPanel* m_panelNetClassesEditor;
		wxGrid* m_grid;
		wxButton* m_addButton;
		wxButton* m_removeButton;
		wxButton* m_moveUpButton;
		wxComboBox* m_leftClassChoice;
		NETS_LIST_CTRL* m_leftListCtrl;
		wxButton* m_buttonRightToLeft;
		wxButton* m_buttonLeftToRight;
		wxButton* m_buttonLeftSelAll;
		wxButton* m_buttonRightSelAll;
		wxComboBox* m_rightClassChoice;
		NETS_LIST_CTRL* m_rightListCtrl;
		wxPanel* m_panelGolbalDesignRules;
		wxRadioBox* m_OptViaType;
		wxRadioBox* m_AllowMicroViaCtrl;
		wxStaticText* m_TrackMinWidthTitle;
		wxTextCtrl* m_SetTrackMinWidthCtrl;
		wxStaticText* m_ViaMinTitle;
		wxTextCtrl* m_SetViasMinSizeCtrl;
		wxStaticText* m_ViaMinDrillTitle;
		wxTextCtrl* m_SetViasMinDrillCtrl;
		wxStaticText* m_MicroViaMinSizeTitle;
		wxTextCtrl* m_SetMicroViasMinSizeCtrl;
		wxStaticText* m_MicroViaMinDrillTitle;
		wxTextCtrl* m_SetMicroViasMinDrillCtrl;
		wxStaticLine* m_staticline1;
		wxStaticText* m_staticTextInfo;
		wxStaticText* m_staticText7;
		wxGrid* m_gridViaSizeList;
		wxStaticText* m_staticText8;
		wxGrid* m_gridTrackWidthList;
		wxHtmlWindow* m_MessagesList;
		wxButton* m_buttonOk;
		wxButton* m_buttonCancel;
		
		// Virtual event handlers, overide them in your derived class
		virtual void OnNetClassesNameLeftClick( wxGridEvent& event ) { event.Skip(); }
		virtual void OnNetClassesNameRightClick( wxGridEvent& event ) { event.Skip(); }
		virtual void OnAddNetclassClick( wxCommandEvent& event ) { event.Skip(); }
		virtual void OnRemoveNetclassClick( wxCommandEvent& event ) { event.Skip(); }
		virtual void OnMoveUpSelectedNetClass( wxCommandEvent& event ) { event.Skip(); }
		virtual void OnLeftCBSelection( wxCommandEvent& event ) { event.Skip(); }
		virtual void OnRightToLeftCopyButton( wxCommandEvent& event ) { event.Skip(); }
		virtual void OnLeftToRightCopyButton( wxCommandEvent& event ) { event.Skip(); }
		virtual void OnLeftSelectAllButton( wxCommandEvent& event ) { event.Skip(); }
		virtual void OnRightSelectAllButton( wxCommandEvent& event ) { event.Skip(); }
		virtual void OnRightCBSelection( wxCommandEvent& event ) { event.Skip(); }
		virtual void OnOkButtonClick( wxCommandEvent& event ) { event.Skip(); }
		virtual void OnCancelButtonClick( wxCommandEvent& event ) { event.Skip(); }
		
	
	public:
		
		DIALOG_DESIGN_RULES_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Design Rules Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 777,697 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER ); 
		~DIALOG_DESIGN_RULES_BASE();
	
};

#endif //__DIALOG_DESIGN_RULES_BASE_H__