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/dialog.h>
24 #include <wx/stattext.h>
25 #include <wx/textctrl.h>
26 
28 
33 {
34  DECLARE_EVENT_TABLE()
35  private:
36 
37  // Private event handlers
38  void _wxFB_OnNetlistTypeSelection( wxNotebookEvent& event ){ OnNetlistTypeSelection( event ); }
39  void _wxFB_OnAddGenerator( wxCommandEvent& event ){ OnAddGenerator( event ); }
40  void _wxFB_OnDelGenerator( wxCommandEvent& event ){ OnDelGenerator( event ); }
41 
42 
43  protected:
44  enum
45  {
49  };
50 
51  wxNotebook* m_NoteBook;
52  wxBoxSizer* m_buttonSizer;
55  wxStdDialogButtonSizer* m_sdbSizer2;
56  wxButton* m_sdbSizer2OK;
57  wxButton* m_sdbSizer2Cancel;
58 
59  // Virtual event handlers, overide them in your derived class
60  virtual void OnNetlistTypeSelection( wxNotebookEvent& event ) { event.Skip(); }
61  virtual void OnAddGenerator( wxCommandEvent& event ) { event.Skip(); }
62  virtual void OnDelGenerator( wxCommandEvent& event ) { event.Skip(); }
63 
64 
65  public:
66 
67  NETLIST_DIALOG_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Export Netlist"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
69 
70 };
71 
76 {
77  DECLARE_EVENT_TABLE()
78  private:
79 
80  // Private event handlers
81  void _wxFB_OnBrowseGenerators( wxCommandEvent& event ){ OnBrowseGenerators( event ); }
82  void _wxFB_OnCancelClick( wxCommandEvent& event ){ OnCancelClick( event ); }
83  void _wxFB_OnOKClick( wxCommandEvent& event ){ OnOKClick( event ); }
84 
85 
86  protected:
87  enum
88  {
90  };
91 
92  wxStaticText* m_staticTextName;
93  wxTextCtrl* m_textCtrlName;
94  wxStaticText* m_staticTextCmd;
95  wxTextCtrl* m_textCtrlCommand;
96  wxButton* m_buttonGenerator;
97  wxStdDialogButtonSizer* m_sdbSizer;
98  wxButton* m_sdbSizerOK;
99  wxButton* m_sdbSizerCancel;
100 
101  // Virtual event handlers, overide them in your derived class
102  virtual void OnBrowseGenerators( wxCommandEvent& event ) { event.Skip(); }
103  virtual void OnCancelClick( wxCommandEvent& event ) { event.Skip(); }
104  virtual void OnOKClick( wxCommandEvent& event ) { event.Skip(); }
105 
106 
107  public:
108 
109  NETLIST_DIALOG_ADD_GENERATOR_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Script Generator Properties"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
111 
112 };
113 
114 #endif //__DIALOG_NETLIST_BASE_H__
void _wxFB_OnAddGenerator(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:83
NETLIST_DIALOG_ADD_GENERATOR_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Script Generator Properties"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
virtual void OnAddGenerator(wxCommandEvent &event)
Class NETLIST_DIALOG_ADD_GENERATOR_BASE.
void _wxFB_OnNetlistTypeSelection(wxNotebookEvent &event)
virtual void OnBrowseGenerators(wxCommandEvent &event)
#define _(s)
void _wxFB_OnDelGenerator(wxCommandEvent &event)
virtual void OnDelGenerator(wxCommandEvent &event)
NETLIST_DIALOG_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Export Netlist"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
virtual void OnNetlistTypeSelection(wxNotebookEvent &event)