KiCad PCB EDA Suite
dialog_bom_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Dec 1 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/string.h>
15 #include <wx/stattext.h>
16 #include <wx/gdicmn.h>
17 #include <wx/font.h>
18 #include <wx/colour.h>
19 #include <wx/settings.h>
20 #include <wx/listbox.h>
21 #include <wx/sizer.h>
22 #include <wx/textctrl.h>
23 #include <wx/bmpbuttn.h>
24 #include <wx/bitmap.h>
25 #include <wx/image.h>
26 #include <wx/icon.h>
27 #include <wx/button.h>
28 #include <wx/checkbox.h>
29 #include <wx/statline.h>
30 #include <wx/dialog.h>
31 
33 
38 {
39  private:
40 
41  protected:
42  enum
43  {
44  IN_NAMELINE = 1000,
46  };
47 
49  wxListBox* m_lbGenerators;
50  wxStaticText* m_staticTextName;
51  wxTextCtrl* m_textCtrlName;
52  wxTextCtrl* m_Messages;
53  wxBitmapButton* m_buttonAddGenerator;
54  wxBitmapButton* m_buttonEdit;
55  wxBitmapButton* m_buttonDelGenerator;
56  wxStaticText* m_staticTextCmd;
57  wxTextCtrl* m_textCtrlCommand;
58  wxCheckBox* m_checkBoxShowConsole;
59  wxStaticLine* m_staticline;
60  wxStdDialogButtonSizer* m_sdbSizer;
61  wxButton* m_sdbSizerOK;
62  wxButton* m_sdbSizerCancel;
63  wxButton* m_sdbSizerHelp;
64 
65  // Virtual event handlers, overide them in your derived class
66  virtual void OnIdle( wxIdleEvent& event ) { event.Skip(); }
67  virtual void OnGeneratorSelected( wxCommandEvent& event ) { event.Skip(); }
68  virtual void OnNameEdited( wxCommandEvent& event ) { event.Skip(); }
69  virtual void OnAddGenerator( wxCommandEvent& event ) { event.Skip(); }
70  virtual void OnEditGenerator( wxCommandEvent& event ) { event.Skip(); }
71  virtual void OnRemoveGenerator( wxCommandEvent& event ) { event.Skip(); }
72  virtual void OnCommandLineEdited( wxCommandEvent& event ) { event.Skip(); }
73  virtual void OnShowConsoleChanged( wxCommandEvent& event ) { event.Skip(); }
74  virtual void OnHelp( wxCommandEvent& event ) { event.Skip(); }
75  virtual void OnRunGenerator( wxCommandEvent& event ) { event.Skip(); }
76 
77 
78  public:
79 
80  DIALOG_BOM_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Bill of Material"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 617,433 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
82 
83 };
84 
wxBitmapButton * m_buttonEdit
wxBitmapButton * m_buttonAddGenerator
wxStaticText * m_staticTextName
wxStdDialogButtonSizer * m_sdbSizer
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:84
wxButton * m_sdbSizerOK
virtual void OnRemoveGenerator(wxCommandEvent &event)
wxTextCtrl * m_textCtrlName
virtual void OnNameEdited(wxCommandEvent &event)
wxCheckBox * m_checkBoxShowConsole
wxStaticText * m_staticTextCmd
wxTextCtrl * m_textCtrlCommand
wxButton * m_sdbSizerHelp
wxStaticLine * m_staticline
wxTextCtrl * m_Messages
virtual void OnIdle(wxIdleEvent &event)
wxStaticText * m_staticTextGeneratorTitle
DIALOG_BOM_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Bill of Material"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(617, 433), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
virtual void OnCommandLineEdited(wxCommandEvent &event)
virtual void OnRunGenerator(wxCommandEvent &event)
#define _(s)
Definition: 3d_actions.cpp:31
virtual void OnGeneratorSelected(wxCommandEvent &event)
Class DIALOG_BOM_BASE.
virtual void OnAddGenerator(wxCommandEvent &event)
wxListBox * m_lbGenerators
wxButton * m_sdbSizerCancel
virtual void OnShowConsoleChanged(wxCommandEvent &event)
virtual void OnHelp(wxCommandEvent &event)
virtual void OnEditGenerator(wxCommandEvent &event)
wxBitmapButton * m_buttonDelGenerator