KiCad PCB EDA Suite
dialog_netlist_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Sep 8 2016)
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 class DIALOG_SHIM;
15 
16 #include "dialog_shim.h"
17 #include <wx/gdicmn.h>
18 #include <wx/notebook.h>
19 #include <wx/font.h>
20 #include <wx/colour.h>
21 #include <wx/settings.h>
22 #include <wx/string.h>
23 #include <wx/sizer.h>
24 #include <wx/button.h>
25 #include <wx/statline.h>
26 #include <wx/checkbox.h>
27 #include <wx/stattext.h>
28 #include <wx/textctrl.h>
29 #include <wx/dialog.h>
30 
32 
37 {
38  DECLARE_EVENT_TABLE()
39  private:
40 
41  // Private event handlers
42  void _wxFB_OnNetlistTypeSelection( wxNotebookEvent& event ){ OnNetlistTypeSelection( event ); }
43  void _wxFB_GenNetlist( wxCommandEvent& event ){ GenNetlist( event ); }
44  void _wxFB_OnCancelClick( wxCommandEvent& event ){ OnCancelClick( event ); }
45  void _wxFB_OnAddPlugin( wxCommandEvent& event ){ OnAddPlugin( event ); }
46  void _wxFB_OnDelPlugin( wxCommandEvent& event ){ OnDelPlugin( event ); }
47 
48 
49  protected:
50  enum
51  {
56  };
57 
58  wxNotebook* m_NoteBook;
59  wxButton* m_buttonNetlist;
60  wxButton* m_buttonCancel;
61  wxButton* m_buttonAddPlugin;
62  wxButton* m_buttonDelPlugin;
63  wxStaticLine* m_staticline1;
65  wxStaticText* m_staticTextDefaultFN;
67 
68  // Virtual event handlers, overide them in your derived class
69  virtual void OnNetlistTypeSelection( wxNotebookEvent& event ) { event.Skip(); }
70  virtual void GenNetlist( wxCommandEvent& event ) { event.Skip(); }
71  virtual void OnCancelClick( wxCommandEvent& event ) { event.Skip(); }
72  virtual void OnAddPlugin( wxCommandEvent& event ) { event.Skip(); }
73  virtual void OnDelPlugin( wxCommandEvent& event ) { event.Skip(); }
74 
75 
76  public:
77 
78  NETLIST_DIALOG_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Netlist"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 404,334 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
80 
81 };
82 
87 {
88  DECLARE_EVENT_TABLE()
89  private:
90 
91  // Private event handlers
92  void _wxFB_OnOKClick( wxCommandEvent& event ){ OnOKClick( event ); }
93  void _wxFB_OnCancelClick( wxCommandEvent& event ){ OnCancelClick( event ); }
94  void _wxFB_OnBrowsePlugins( wxCommandEvent& event ){ OnBrowsePlugins( event ); }
95 
96 
97  protected:
98  enum
99  {
101  };
102 
103  wxStaticText* m_staticTextCmd;
104  wxTextCtrl* m_textCtrlCommand;
105  wxStaticText* m_staticTextName;
106  wxTextCtrl* m_textCtrlName;
107  wxButton* m_buttonOK;
108  wxButton* m_buttonCancel;
109  wxButton* m_buttonPlugin;
110 
111  // Virtual event handlers, overide them in your derived class
112  virtual void OnOKClick( wxCommandEvent& event ) { event.Skip(); }
113  virtual void OnCancelClick( wxCommandEvent& event ) { event.Skip(); }
114  virtual void OnBrowsePlugins( wxCommandEvent& event ) { event.Skip(); }
115 
116 
117  public:
118 
119  NETLIST_DIALOG_ADD_PLUGIN_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Plugins:"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 312,144 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
121 
122 };
123 
124 #endif //__DIALOG_NETLIST_BASE_H__
void _wxFB_OnCancelClick(wxCommandEvent &event)
wxTextCtrl * m_textCtrlDefaultFileName
NETLIST_DIALOG_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Netlist"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(404, 334), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
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:60
wxCheckBox * m_cbUseDefaultNetlistName
NETLIST_DIALOG_ADD_PLUGIN_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Plugins:"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(312, 144), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
void _wxFB_GenNetlist(wxCommandEvent &event)
virtual void OnOKClick(wxCommandEvent &event)
Class NETLIST_DIALOG_BASE.
wxStaticLine * m_staticline1
wxStaticText * m_staticTextDefaultFN
void _wxFB_OnNetlistTypeSelection(wxNotebookEvent &event)
void _wxFB_OnOKClick(wxCommandEvent &event)
virtual void GenNetlist(wxCommandEvent &event)
Class NETLIST_DIALOG_ADD_PLUGIN_BASE.
virtual void OnAddPlugin(wxCommandEvent &event)
void _wxFB_OnBrowsePlugins(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)