KiCad PCB EDA Suite
panel_setup_netclasses_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Oct 26 2018)
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/colour.h>
16 #include <wx/settings.h>
17 #include <wx/string.h>
18 #include <wx/font.h>
19 #include <wx/grid.h>
20 #include <wx/gdicmn.h>
21 #include <wx/bmpbuttn.h>
22 #include <wx/bitmap.h>
23 #include <wx/image.h>
24 #include <wx/icon.h>
25 #include <wx/button.h>
26 #include <wx/sizer.h>
27 #include <wx/statbox.h>
28 #include <wx/panel.h>
29 #include <wx/stattext.h>
30 #include <wx/choice.h>
31 #include <wx/textctrl.h>
32 
34 
38 class PANEL_SETUP_NETCLASSES_BASE : public wxPanel
39 {
40  private:
41 
42  protected:
43  wxPanel* m_netclassesPane;
45  wxBitmapButton* m_addButton;
46  wxBitmapButton* m_removeButton;
47  wxPanel* m_membershipPane;
48  wxStaticText* m_ncfilterLabel;
49  wxChoice* m_netClassFilter;
50  wxStaticText* m_filterLabel;
51  wxTextCtrl* m_netNameFilter;
52  wxButton* m_showAllButton;
53  wxButton* m_filterNetsButton;
54  wxStaticText* m_assignLabel;
55  wxChoice* m_assignNetClass;
56  wxButton* m_assignAllButton;
59 
60  // Virtual event handlers, overide them in your derived class
61  virtual void OnUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
62  virtual void OnSizeNetclassGrid( wxSizeEvent& event ) { event.Skip(); }
63  virtual void OnAddNetclassClick( wxCommandEvent& event ) { event.Skip(); }
64  virtual void OnRemoveNetclassClick( wxCommandEvent& event ) { event.Skip(); }
65  virtual void OnShowAll( wxCommandEvent& event ) { event.Skip(); }
66  virtual void OnApplyFilters( wxCommandEvent& event ) { event.Skip(); }
67  virtual void OnAssignAll( wxCommandEvent& event ) { event.Skip(); }
68  virtual void OnAssignSelected( wxCommandEvent& event ) { event.Skip(); }
69  virtual void OnMembershipKillFocus( wxFocusEvent& event ) { event.Skip(); }
70  virtual void OnSizeMembershipGrid( wxSizeEvent& event ) { event.Skip(); }
71 
72 
73  public:
74 
75  PANEL_SETUP_NETCLASSES_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 );
77 
78 };
79 
virtual void OnShowAll(wxCommandEvent &event)
virtual void OnAddNetclassClick(wxCommandEvent &event)
virtual void OnMembershipKillFocus(wxFocusEvent &event)
PANEL_SETUP_NETCLASSES_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 OnUpdateUI(wxUpdateUIEvent &event)
virtual void OnRemoveNetclassClick(wxCommandEvent &event)
virtual void OnAssignSelected(wxCommandEvent &event)
Class PANEL_SETUP_NETCLASSES_BASE.
const char * name
Definition: DXF_plotter.cpp:60
virtual void OnSizeMembershipGrid(wxSizeEvent &event)
virtual void OnAssignAll(wxCommandEvent &event)
virtual void OnSizeNetclassGrid(wxSizeEvent &event)
virtual void OnApplyFilters(wxCommandEvent &event)