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_track_via_properties_base.h | 99 +++++++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 pcbnew/dialogs/dialog_track_via_properties_base.h (limited to 'pcbnew/dialogs/dialog_track_via_properties_base.h') diff --git a/pcbnew/dialogs/dialog_track_via_properties_base.h b/pcbnew/dialogs/dialog_track_via_properties_base.h new file mode 100644 index 0000000..fb23b8e --- /dev/null +++ b/pcbnew/dialogs/dialog_track_via_properties_base.h @@ -0,0 +1,99 @@ +/////////////////////////////////////////////////////////////////////////// +// C++ code generated with wxFormBuilder (version May 6 2016) +// http://www.wxformbuilder.org/ +// +// PLEASE DO "NOT" EDIT THIS FILE! +/////////////////////////////////////////////////////////////////////////// + +#ifndef __DIALOG_TRACK_VIA_PROPERTIES_BASE_H__ +#define __DIALOG_TRACK_VIA_PROPERTIES_BASE_H__ + +#include +#include +#include +class DIALOG_SHIM; +class PCB_LAYER_BOX_SELECTOR; + +#include "dialog_shim.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +/////////////////////////////////////////////////////////////////////////// + + +/////////////////////////////////////////////////////////////////////////////// +/// Class DIALOG_TRACK_VIA_PROPERTIES_BASE +/////////////////////////////////////////////////////////////////////////////// +class DIALOG_TRACK_VIA_PROPERTIES_BASE : public DIALOG_SHIM +{ + private: + + protected: + wxBoxSizer* m_MainSizer; + wxStaticBoxSizer* m_sbTrackSizer; + wxStaticText* m_TrackStartXLabel; + wxTextCtrl* m_TrackStartXCtrl; + wxStaticText* m_TrackStartXUnit; + wxStaticText* m_TrackStartYLabel; + wxTextCtrl* m_TrackStartYCtrl; + wxStaticText* m_TrackStartYUnit; + wxStaticText* m_TrackEndXLabel; + wxTextCtrl* m_TrackEndXCtrl; + wxStaticText* m_TrackEndXUnit; + wxStaticText* m_TrackEndYLabel; + wxTextCtrl* m_TrackEndYCtrl; + wxStaticText* m_TrackEndYUnit; + wxStaticLine* m_trackStaticLine; + wxStaticText* m_TrackWidthLabel; + wxTextCtrl* m_TrackWidthCtrl; + wxStaticText* m_TrackWidthUnit; + wxCheckBox* m_trackNetclass; + wxStaticText* m_TrackLayerLabel; + PCB_LAYER_BOX_SELECTOR* m_TrackLayerCtrl; + wxStaticBoxSizer* m_sbViaSizer; + wxStaticText* m_ViaXLabel; + wxTextCtrl* m_ViaXCtrl; + wxStaticText* m_ViaXUnit; + wxStaticText* m_ViaYLabel; + wxTextCtrl* m_ViaYCtrl; + wxStaticText* m_ViaYUnit; + wxStaticLine* m_viaStaticLine; + wxStaticText* m_ViaDiameterLabel; + wxTextCtrl* m_ViaDiameterCtrl; + wxStaticText* m_ViaDiameterUnit; + wxStaticText* m_ViaDrillLabel; + wxTextCtrl* m_ViaDrillCtrl; + wxStaticText* m_ViaDrillUnit; + wxCheckBox* m_viaNetclass; + wxStdDialogButtonSizer* m_StdButtons; + wxButton* m_StdButtonsOK; + wxButton* m_StdButtonsCancel; + + // Virtual event handlers, overide them in your derived class + virtual void onClose( wxCloseEvent& event ) { event.Skip(); } + virtual void onTrackNetclassCheck( wxCommandEvent& event ) { event.Skip(); } + virtual void onViaNetclassCheck( wxCommandEvent& event ) { event.Skip(); } + virtual void onCancelClick( wxCommandEvent& event ) { event.Skip(); } + virtual void onOkClick( wxCommandEvent& event ) { event.Skip(); } + + + public: + + DIALOG_TRACK_VIA_PROPERTIES_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Track & Via Properties"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER|wxSYSTEM_MENU ); + ~DIALOG_TRACK_VIA_PROPERTIES_BASE(); + +}; + +#endif //__DIALOG_TRACK_VIA_PROPERTIES_BASE_H__ -- cgit