From aa35045840b78d3f48212db45da59a2e5c69b223 Mon Sep 17 00:00:00 2001 From: saurabhb17 Date: Wed, 26 Feb 2020 15:57:49 +0530 Subject: Added main execs --- pcbnew/dialogs/dialog_design_rules_base.h | 117 ++++++++++++++++++++++++++++++ 1 file changed, 117 insertions(+) create mode 100644 pcbnew/dialogs/dialog_design_rules_base.h (limited to 'pcbnew/dialogs/dialog_design_rules_base.h') diff --git a/pcbnew/dialogs/dialog_design_rules_base.h b/pcbnew/dialogs/dialog_design_rules_base.h new file mode 100644 index 0000000..0de97bf --- /dev/null +++ b/pcbnew/dialogs/dialog_design_rules_base.h @@ -0,0 +1,117 @@ +/////////////////////////////////////////////////////////////////////////// +// C++ code generated with wxFormBuilder (version Jun 5 2014) +// http://www.wxformbuilder.org/ +// +// PLEASE DO "NOT" EDIT THIS FILE! +/////////////////////////////////////////////////////////////////////////// + +#ifndef __DIALOG_DESIGN_RULES_BASE_H__ +#define __DIALOG_DESIGN_RULES_BASE_H__ + +#include +#include +#include +class DIALOG_SHIM; +class NETS_LIST_CTRL; + +#include "dialog_shim.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +/////////////////////////////////////////////////////////////////////////// + +/////////////////////////////////////////////////////////////////////////////// +/// 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; + wxStdDialogButtonSizer* m_sdbSizer1; + wxButton* m_sdbSizer1OK; + wxButton* m_sdbSizer1Cancel; + + // Virtual event handlers, overide them in your derived class + virtual void OnNotebookPageChanged( wxNotebookEvent& event ) { event.Skip(); } + 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(); } + + + 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( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER ); + ~DIALOG_DESIGN_RULES_BASE(); + +}; + +#endif //__DIALOG_DESIGN_RULES_BASE_H__ -- cgit