kicad/pcbnew/dialogs/dialog_track_via_properties...

118 lines
3.9 KiB
C
Raw Normal View History

2015-07-09 11:35:51 +00:00
///////////////////////////////////////////////////////////////////////////
2017-08-25 14:46:49 +00:00
// C++ code generated with wxFormBuilder (version Aug 20 2017)
2015-07-09 11:35:51 +00:00
// 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 <wx/artprov.h>
#include <wx/xrc/xmlres.h>
#include <wx/intl.h>
class DIALOG_SHIM;
2015-07-09 11:35:51 +00:00
class PCB_LAYER_BOX_SELECTOR;
class WIDGET_NET_SELECTOR;
2015-07-09 11:35:51 +00:00
#include "dialog_shim.h"
2015-07-09 11:35:51 +00:00
#include <wx/string.h>
#include <wx/stattext.h>
2015-07-09 11:35:51 +00:00
#include <wx/gdicmn.h>
#include <wx/font.h>
#include <wx/colour.h>
#include <wx/settings.h>
#include <wx/combobox.h>
2015-07-09 11:35:51 +00:00
#include <wx/sizer.h>
#include <wx/statline.h>
#include <wx/checkbox.h>
2016-08-15 15:16:48 +00:00
#include <wx/statbox.h>
#include <wx/textctrl.h>
2015-07-09 11:35:51 +00:00
#include <wx/bmpcbox.h>
#include <wx/choice.h>
2015-07-09 11:35:51 +00:00
#include <wx/button.h>
#include <wx/dialog.h>
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
/// Class DIALOG_TRACK_VIA_PROPERTIES_BASE
///////////////////////////////////////////////////////////////////////////////
class DIALOG_TRACK_VIA_PROPERTIES_BASE : public DIALOG_SHIM
2015-07-09 11:35:51 +00:00
{
private:
protected:
wxBoxSizer* m_MainSizer;
2016-08-15 15:16:48 +00:00
wxStaticBoxSizer* m_sbCommonSizer;
wxStaticText* m_staticText24;
WIDGET_NET_SELECTOR* m_NetComboBox;
wxStaticLine* m_staticline3;
2016-08-15 15:16:48 +00:00
wxCheckBox* m_lockedCbox;
wxStaticBoxSizer* m_sbTrackSizer;
2015-07-09 11:35:51 +00:00
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;
2017-08-25 14:46:49 +00:00
wxComboBox* m_TrackWidthCtrl;
2015-07-09 11:35:51 +00:00
wxStaticText* m_TrackWidthUnit;
wxCheckBox* m_trackNetclass;
wxStaticText* m_TrackLayerLabel;
PCB_LAYER_BOX_SELECTOR* m_TrackLayerCtrl;
wxStaticBoxSizer* m_sbViaSizer;
2015-07-09 11:35:51 +00:00
wxStaticText* m_ViaXLabel;
wxTextCtrl* m_ViaXCtrl;
wxStaticText* m_ViaXUnit;
wxStaticText* m_ViaYLabel;
wxTextCtrl* m_ViaYCtrl;
wxStaticText* m_ViaYUnit;
wxStaticLine* m_viaStaticLine;
wxStaticText* m_DesignRuleVias;
wxChoice* m_DesignRuleViasCtrl;
wxStaticText* m_DesignRuleViasUnit;
2015-07-09 11:35:51 +00:00
wxStaticText* m_ViaDiameterLabel;
wxTextCtrl* m_ViaDiameterCtrl;
wxStaticText* m_ViaDiameterUnit;
wxStaticText* m_ViaDrillLabel;
wxTextCtrl* m_ViaDrillCtrl;
wxStaticText* m_ViaDrillUnit;
wxStaticText* m_ViaTypeLabel;
wxChoice* m_ViaTypeChoice;
wxStaticText* m_ViaStartLayerLabel;
PCB_LAYER_BOX_SELECTOR* m_ViaStartLayer;
wxStaticText* m_ViaEndLayerLabel1;
PCB_LAYER_BOX_SELECTOR* m_ViaEndLayer;
2015-07-09 11:35:51 +00:00
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 OnInitDlg( wxInitDialogEvent& event ) { event.Skip(); }
2015-07-09 11:35:51 +00:00
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:
2016-08-15 15:16:48 +00:00
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( 573,437 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER|wxSYSTEM_MENU );
2015-07-09 11:35:51 +00:00
~DIALOG_TRACK_VIA_PROPERTIES_BASE();
};
#endif //__DIALOG_TRACK_VIA_PROPERTIES_BASE_H__