KiCad PCB EDA Suite
eeschema/dialogs/dialog_netlist_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Dec 30 2017)
3 // http://www.wxformbuilder.org/
4 //
5 // PLEASE DO *NOT* EDIT THIS FILE!
7 
8 #ifndef __DIALOG_NETLIST_BASE_H__
9 #define __DIALOG_NETLIST_BASE_H__
10 
11 #include <wx/artprov.h>
12 #include <wx/xrc/xmlres.h>
13 #include <wx/intl.h>
14 #include "dialog_shim.h"
15 #include <wx/gdicmn.h>
16 #include <wx/notebook.h>
17 #include <wx/font.h>
18 #include <wx/colour.h>
19 #include <wx/settings.h>
20 #include <wx/string.h>
21 #include <wx/sizer.h>
22 #include <wx/button.h>
23 #include <wx/statline.h>
24 #include <wx/checkbox.h>
25 #include <wx/stattext.h>
26 #include <wx/textctrl.h>
27 #include <wx/dialog.h>
28 
30 
35 {
36  DECLARE_EVENT_TABLE()
37  private:
38 
39  // Private event handlers
40  void _wxFB_OnNetlistTypeSelection( wxNotebookEvent& event ){ OnNetlistTypeSelection( event ); }
41  void _wxFB_GenNetlist( wxCommandEvent& event ){ GenNetlist( event ); }
42  void _wxFB_OnCancelClick( wxCommandEvent& event ){ OnCancelClick( event ); }
43  void _wxFB_OnAddPlugin( wxCommandEvent& event ){ OnAddPlugin( event ); }
44  void _wxFB_OnDelPlugin( wxCommandEvent& event ){ OnDelPlugin( event ); }
45 
46 
47  protected:
48  enum
49  {
54  };
55 
56  wxNotebook* m_NoteBook;
57  wxButton* m_buttonNetlist;
58  wxButton* m_buttonCancel;
59  wxButton* m_buttonAddPlugin;
60  wxButton* m_buttonDelPlugin;
61  wxStaticLine* m_staticline1;
63  wxStaticText* m_staticTextDefaultFN;
65 
66  // Virtual event handlers, overide them in your derived class
67  virtual void OnNetlistTypeSelection( wxNotebookEvent& event ) { event.Skip(); }
68  virtual void GenNetlist( wxCommandEvent& event ) { event.Skip(); }
69  virtual void OnCancelClick( wxCommandEvent& event ) { event.Skip(); }
70  virtual void OnAddPlugin( wxCommandEvent& event ) { event.Skip(); }
71  virtual void OnDelPlugin( wxCommandEvent& event ) { event.Skip(); }
72 
73 
74  public:
75 
76  NETLIST_DIALOG_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Netlist"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
78 
79 };
80 
85 {
86  DECLARE_EVENT_TABLE()
87  private:
88 
89  // Private event handlers
90  void _wxFB_OnOKClick( wxCommandEvent& event ){ OnOKClick( event ); }
91  void _wxFB_OnCancelClick( wxCommandEvent& event ){ OnCancelClick( event ); }
92  void _wxFB_OnBrowsePlugins( wxCommandEvent& event ){ OnBrowsePlugins( event ); }
93 
94 
95  protected:
96  enum
97  {
98  wxID_BROWSE_PLUGINS = 1000
99  };
100 
101  wxStaticText* m_staticTextCmd;
102  wxTextCtrl* m_textCtrlCommand;
103  wxStaticText* m_staticTextName;
104  wxTextCtrl* m_textCtrlName;
105  wxButton* m_buttonOK;
106  wxButton* m_buttonCancel;
107  wxButton* m_buttonPlugin;
108 
109  // Virtual event handlers, overide them in your derived class
110  virtual void OnOKClick( wxCommandEvent& event ) { event.Skip(); }
111  virtual void OnCancelClick( wxCommandEvent& event ) { event.Skip(); }
112  virtual void OnBrowsePlugins( wxCommandEvent& event ) { event.Skip(); }
113 
114 
115  public:
116 
117  NETLIST_DIALOG_ADD_PLUGIN_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Plugin Properties"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
119 
120 };
121 
122 #endif //__DIALOG_NETLIST_BASE_H__
void _wxFB_OnAddPlugin(wxCommandEvent &event)
void _wxFB_OnCancelClick(wxCommandEvent &event)
virtual void OnCancelClick(wxCommandEvent &event)
Class DIALOG_SHIM may sit in the inheritance tree between wxDialog and any class written by wxFormBui...
Definition: dialog_shim.h:82
NETLIST_DIALOG_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Netlist"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
void _wxFB_GenNetlist(wxCommandEvent &event)
virtual void OnOKClick(wxCommandEvent &event)
void _wxFB_OnNetlistTypeSelection(wxNotebookEvent &event)
virtual void GenNetlist(wxCommandEvent &event)
Class NETLIST_DIALOG_ADD_PLUGIN_BASE.
virtual void OnAddPlugin(wxCommandEvent &event)
virtual void OnBrowsePlugins(wxCommandEvent &event)
virtual void OnCancelClick(wxCommandEvent &event)
void _wxFB_OnDelPlugin(wxCommandEvent &event)
virtual void OnDelPlugin(wxCommandEvent &event)
virtual void OnNetlistTypeSelection(wxNotebookEvent &event)