KiCad PCB EDA Suite
eeschema/dialogs/dialog_netlist_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Nov 23 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 #include "dialog_shim.h"
14 #include <wx/gdicmn.h>
15 #include <wx/notebook.h>
16 #include <wx/font.h>
17 #include <wx/colour.h>
18 #include <wx/settings.h>
19 #include <wx/string.h>
20 #include <wx/sizer.h>
21 #include <wx/bitmap.h>
22 #include <wx/image.h>
23 #include <wx/icon.h>
24 #include <wx/button.h>
25 #include <wx/dialog.h>
26 #include <wx/stattext.h>
27 #include <wx/textctrl.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 
62  // Virtual event handlers, overide them in your derived class
63  virtual void OnNetlistTypeSelection( wxNotebookEvent& event ) { event.Skip(); }
64  virtual void GenNetlist( wxCommandEvent& event ) { event.Skip(); }
65  virtual void OnCancelClick( wxCommandEvent& event ) { event.Skip(); }
66  virtual void OnAddPlugin( wxCommandEvent& event ) { event.Skip(); }
67  virtual void OnDelPlugin( wxCommandEvent& event ) { event.Skip(); }
68 
69 
70  public:
71 
72  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 );
74 
75 };
76 
81 {
82  DECLARE_EVENT_TABLE()
83  private:
84 
85  // Private event handlers
86  void _wxFB_OnOKClick( wxCommandEvent& event ){ OnOKClick( event ); }
87  void _wxFB_OnCancelClick( wxCommandEvent& event ){ OnCancelClick( event ); }
88  void _wxFB_OnBrowsePlugins( wxCommandEvent& event ){ OnBrowsePlugins( event ); }
89 
90 
91  protected:
92  enum
93  {
94  wxID_BROWSE_PLUGINS = 1000
95  };
96 
97  wxStaticText* m_staticTextCmd;
98  wxTextCtrl* m_textCtrlCommand;
99  wxStaticText* m_staticTextName;
100  wxTextCtrl* m_textCtrlName;
101  wxButton* m_buttonOK;
102  wxButton* m_buttonCancel;
103  wxButton* m_buttonPlugin;
104 
105  // Virtual event handlers, overide them in your derived class
106  virtual void OnOKClick( wxCommandEvent& event ) { event.Skip(); }
107  virtual void OnCancelClick( wxCommandEvent& event ) { event.Skip(); }
108  virtual void OnBrowsePlugins( wxCommandEvent& event ) { event.Skip(); }
109 
110 
111  public:
112 
113  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 );
115 
116 };
117 
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)