KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_track_via_properties_base.h
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 4.0.0-0-g0efcecf)
3// http://www.wxformbuilder.org/
4//
5// PLEASE DO *NOT* EDIT THIS FILE!
7
8#pragma once
9
10#include <wx/artprov.h>
11#include <wx/xrc/xmlres.h>
12#include <wx/intl.h>
14
15#include "dialog_shim.h"
16#include <wx/string.h>
17#include <wx/stattext.h>
18#include <wx/gdicmn.h>
19#include <wx/font.h>
20#include <wx/colour.h>
21#include <wx/settings.h>
23#include <wx/sizer.h>
24#include <wx/checkbox.h>
25#include <wx/statline.h>
26#include <wx/statbox.h>
27#include <wx/textctrl.h>
28#include <wx/choice.h>
29#include <wx/gbsizer.h>
30#include <wx/bmpcbox.h>
31#include <wx/bitmap.h>
32#include <wx/image.h>
33#include <wx/icon.h>
34#include <wx/statbmp.h>
35#include <wx/spinctrl.h>
36#include <wx/button.h>
37#include <wx/dialog.h>
38
40
41
46{
47 private:
48 wxStaticText* m_stLenPercentUnits;
49 wxStaticText* m_stLenPercentHint;
50 wxStaticText* m_stLenPercentSuffix;
51 wxStaticText* m_stWidthPercentUnits;
52 wxStaticText* m_stWidthPercentHint;
54
55 protected:
56 wxBoxSizer* m_MainSizer;
57 wxStaticBoxSizer* m_sbCommonSizer;
58 wxStaticText* m_netSelectorLabel;
60 wxCheckBox* m_viaNotFree;
61 wxStaticLine* m_staticline1;
62 wxCheckBox* m_lockedCbox;
63 wxStaticBoxSizer* m_sbTrackSizer;
64 wxStaticText* m_TrackStartXLabel;
65 wxTextCtrl* m_TrackStartXCtrl;
66 wxStaticText* m_TrackStartYLabel;
67 wxTextCtrl* m_TrackStartYCtrl;
68 wxStaticText* m_TrackStartYUnit;
69 wxStaticText* m_TrackEndXLabel;
70 wxTextCtrl* m_TrackEndXCtrl;
71 wxStaticText* m_TrackEndYLabel;
72 wxTextCtrl* m_TrackEndYCtrl;
73 wxStaticText* m_TrackEndYUnit;
74 wxCheckBox* m_trackDesignRules;
78 wxStaticText* m_TrackWidthLabel;
79 wxTextCtrl* m_TrackWidthCtrl;
80 wxStaticText* m_TrackWidthUnit;
81 wxStaticText* m_TrackLayerLabel;
83 wxStaticBoxSizer* m_sbViaSizer;
84 wxStaticText* m_ViaXLabel;
85 wxTextCtrl* m_ViaXCtrl;
86 wxStaticText* m_ViaYLabel;
87 wxTextCtrl* m_ViaYCtrl;
88 wxStaticText* m_ViaYUnit;
89 wxCheckBox* m_viaDesignRules;
93 wxStaticText* m_ViaDiameterLabel;
94 wxTextCtrl* m_ViaDiameterCtrl;
95 wxStaticText* m_ViaDiameterUnit;
96 wxStaticText* m_ViaDrillLabel;
97 wxTextCtrl* m_ViaDrillCtrl;
98 wxStaticText* m_ViaDrillUnit;
99 wxStaticText* m_ViaTypeLabel;
101 wxStaticText* m_ViaStartLayerLabel;
103 wxStaticText* m_ViaEndLayerLabel1;
105 wxStaticText* m_annularRingsLabel;
107 wxStaticLine* m_staticline2;
109 wxStaticBitmap* m_legacyTeardropsIcon;
110 wxStaticText* m_staticText85;
111 wxStaticText* m_staticText851;
112 wxCheckBox* m_cbTeardrops;
114 wxStaticText* m_stHDRatio;
115 wxTextCtrl* m_tcHDRatio;
116 wxStaticText* m_stHDRatioUnits;
117 wxStaticText* m_minTrackWidthHint;
118 wxStaticBitmap* m_bitmapTeardrop;
119 wxStaticText* m_stLenPercentLabel;
120 wxTextCtrl* m_tcLenPercent;
121 wxStaticText* m_stMaxLen;
122 wxTextCtrl* m_tcTdMaxLen;
123 wxStaticText* m_stMaxLenUnits;
125 wxTextCtrl* m_tcWidthPercent;
126 wxStaticText* m_stMaxWidthLabel;
127 wxTextCtrl* m_tcMaxWidth;
128 wxStaticText* m_stMaxWidthUnits;
129 wxCheckBox* m_curvedEdges;
130 wxStaticText* m_curvePointsLabel;
131 wxSpinCtrl* m_curvePointsCtrl;
132 wxStdDialogButtonSizer* m_StdButtons;
133 wxButton* m_StdButtonsOK;
135
136 // Virtual event handlers, override them in your derived class
137 virtual void onViaNotFreeClicked( wxCommandEvent& event ) { event.Skip(); }
138 virtual void onTrackNetclassCheck( wxCommandEvent& event ) { event.Skip(); }
139 virtual void onWidthSelect( wxCommandEvent& event ) { event.Skip(); }
140 virtual void onWidthEdit( wxCommandEvent& event ) { event.Skip(); }
141 virtual void onViaNetclassCheck( wxCommandEvent& event ) { event.Skip(); }
142 virtual void onViaSelect( wxCommandEvent& event ) { event.Skip(); }
143 virtual void onViaEdit( wxCommandEvent& event ) { event.Skip(); }
144 virtual void onTeardropsUpdateUi( wxUpdateUIEvent& event ) { event.Skip(); }
145 virtual void onCurvedEdgesUpdateUi( wxUpdateUIEvent& event ) { event.Skip(); }
146
147
148 public:
149
150 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 );
151
153
154};
155
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:83
Class DIALOG_TRACK_VIA_PROPERTIES_BASE.
virtual void onViaEdit(wxCommandEvent &event)
virtual void onTrackNetclassCheck(wxCommandEvent &event)
virtual void onWidthEdit(wxCommandEvent &event)
virtual void onWidthSelect(wxCommandEvent &event)
virtual void onCurvedEdgesUpdateUi(wxUpdateUIEvent &event)
virtual void onViaNotFreeClicked(wxCommandEvent &event)
virtual void onTeardropsUpdateUi(wxUpdateUIEvent &event)
virtual void onViaSelect(wxCommandEvent &event)
virtual void onViaNetclassCheck(wxCommandEvent &event)
Class to display a pcb layer list in a wxBitmapComboBox.
#define _(s)