KiCad PCB EDA Suite
panel_setup_tracks_and_vias_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version 3.9.0 Jun 3 2020)
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>
13 class WX_GRID;
14 
15 #include <wx/string.h>
16 #include <wx/stattext.h>
17 #include <wx/gdicmn.h>
18 #include <wx/font.h>
19 #include <wx/colour.h>
20 #include <wx/settings.h>
21 #include <wx/grid.h>
22 #include <wx/bmpbuttn.h>
23 #include <wx/bitmap.h>
24 #include <wx/image.h>
25 #include <wx/icon.h>
26 #include <wx/button.h>
27 #include <wx/sizer.h>
28 #include <wx/statbox.h>
29 #include <wx/panel.h>
30 
32 
36 class PANEL_SETUP_TRACKS_AND_VIAS_BASE : public wxPanel
37 {
38  private:
39 
40  protected:
41  wxStaticText* m_label;
43  wxBitmapButton* m_trackWidthsAddButton;
44  wxBitmapButton* m_trackWidthsRemoveButton;
46  wxBitmapButton* m_viaSizesAddButton;
47  wxBitmapButton* m_viaSizesRemoveButton;
49  wxBitmapButton* m_diffPairsAddButton;
50  wxBitmapButton* m_diffPairsRemoveButton;
51 
52  // Virtual event handlers, overide them in your derived class
53  virtual void OnAddTrackWidthsClick( wxCommandEvent& event ) { event.Skip(); }
54  virtual void OnRemoveTrackWidthsClick( wxCommandEvent& event ) { event.Skip(); }
55  virtual void OnAddViaSizesClick( wxCommandEvent& event ) { event.Skip(); }
56  virtual void OnRemoveViaSizesClick( wxCommandEvent& event ) { event.Skip(); }
57  virtual void OnAddDiffPairsClick( wxCommandEvent& event ) { event.Skip(); }
58  virtual void OnRemoveDiffPairsClick( wxCommandEvent& event ) { event.Skip(); }
59 
60 
61  public:
62 
63  PANEL_SETUP_TRACKS_AND_VIAS_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString );
65 
66 };
67 
virtual void OnAddViaSizesClick(wxCommandEvent &event)
PANEL_SETUP_TRACKS_AND_VIAS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
virtual void OnRemoveDiffPairsClick(wxCommandEvent &event)
virtual void OnRemoveTrackWidthsClick(wxCommandEvent &event)
virtual void OnRemoveViaSizesClick(wxCommandEvent &event)
const char * name
Definition: DXF_plotter.cpp:60
virtual void OnAddDiffPairsClick(wxCommandEvent &event)
virtual void OnAddTrackWidthsClick(wxCommandEvent &event)
Class PANEL_SETUP_TRACKS_AND_VIAS_BASE.