KiCad PCB EDA Suite
eeschema/dialogs/dialog_netlist_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version 3.9.0 Jun 18 2020)
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/button.h>
22 #include <wx/bitmap.h>
23 #include <wx/image.h>
24 #include <wx/icon.h>
25 #include <wx/dialog.h>
26 #include <wx/stattext.h>
27 #include <wx/textctrl.h>
28 
30 
35 {
37  private:
38 
39  // Private event handlers
40  void _wxFB_OnNetlistTypeSelection( wxNotebookEvent& event ){ OnNetlistTypeSelection( event ); }
41  void _wxFB_OnAddGenerator( wxCommandEvent& event ){ OnAddGenerator( event ); }
42  void _wxFB_OnDelGenerator( wxCommandEvent& event ){ OnDelGenerator( event ); }
43 
44 
45  protected:
46  enum
47  {
51  };
52 
53  wxNotebook* m_NoteBook;
54  wxBoxSizer* m_buttonSizer;
57  wxStdDialogButtonSizer* m_sdbSizer2;
58  wxButton* m_sdbSizer2OK;
59  wxButton* m_sdbSizer2Cancel;
60 
61  // Virtual event handlers, overide them in your derived class
62  virtual void OnNetlistTypeSelection( wxNotebookEvent& event ) { event.Skip(); }
63  virtual void OnAddGenerator( wxCommandEvent& event ) { event.Skip(); }
64  virtual void OnDelGenerator( wxCommandEvent& event ) { event.Skip(); }
65 
66 
67  public:
68 
69  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 );
71 
72 };
73 
78 {
80  private:
81 
82  // Private event handlers
83  void _wxFB_OnBrowseGenerators( wxCommandEvent& event ){ OnBrowseGenerators( 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 
104 
105  public:
106 
107  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 );
109 
110 };
111 
void _wxFB_OnAddGenerator(wxCommandEvent &event)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:82
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)
#define _(s)
virtual void OnBrowseGenerators(wxCommandEvent &event)
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)