KiCad PCB EDA Suite
dialog_fp_plugin_options_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_FP_PLUGIN_OPTIONS_BASE_H__
9 #define __DIALOG_FP_PLUGIN_OPTIONS_BASE_H__
10 
11 #include <wx/artprov.h>
12 #include <wx/xrc/xmlres.h>
13 #include <wx/intl.h>
14 class WX_GRID;
15 
16 #include "dialog_shim.h"
17 #include <wx/colour.h>
18 #include <wx/settings.h>
19 #include <wx/string.h>
20 #include <wx/font.h>
21 #include <wx/grid.h>
22 #include <wx/gdicmn.h>
23 #include <wx/bitmap.h>
24 #include <wx/image.h>
25 #include <wx/icon.h>
26 #include <wx/bmpbuttn.h>
27 #include <wx/button.h>
28 #include <wx/sizer.h>
29 #include <wx/statbox.h>
30 #include <wx/listbox.h>
31 #include <wx/html/htmlwin.h>
32 #include <wx/dialog.h>
33 
35 
36 
41 {
42  private:
43 
44  protected:
46  wxBitmapButton* m_append_button;
47  wxBitmapButton* m_delete_button;
48  wxListBox* m_listbox;
50  wxHtmlWindow* m_html;
51  wxStdDialogButtonSizer* m_sdbSizer1;
52  wxButton* m_sdbSizer1OK;
53  wxButton* m_sdbSizer1Cancel;
54 
55  // Virtual event handlers, overide them in your derived class
56  virtual void onGridCellChange( wxGridEvent& event ) = 0;
57  virtual void onSize( wxSizeEvent& event ) = 0;
58  virtual void onUpdateUI( wxUpdateUIEvent& event ) = 0;
59  virtual void onAppendRow( wxCommandEvent& event ) = 0;
60  virtual void onDeleteRow( wxCommandEvent& event ) = 0;
61  virtual void onListBoxItemSelected( wxCommandEvent& event ) = 0;
62  virtual void onListBoxItemDoubleClicked( wxCommandEvent& event ) = 0;
63  virtual void onAppendOption( wxCommandEvent& event ) = 0;
64 
65 
66  public:
67 
68  DIALOG_FP_PLUGIN_OPTIONS_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxCAPTION|wxCLOSE_BOX|wxDEFAULT_DIALOG_STYLE|wxMAXIMIZE_BOX|wxRESIZE_BORDER );
70 
71 };
72 
73 #endif //__DIALOG_FP_PLUGIN_OPTIONS_BASE_H__
virtual void onGridCellChange(wxGridEvent &event)=0
virtual void onSize(wxSizeEvent &event)=0
Class DIALOG_FP_PLUGIN_OPTIONS_BASE.
virtual void onDeleteRow(wxCommandEvent &event)=0
Class DIALOG_SHIM may sit in the inheritance tree between wxDialog and any class written by wxFormBui...
Definition: dialog_shim.h:82
virtual void onListBoxItemDoubleClicked(wxCommandEvent &event)=0
virtual void onAppendRow(wxCommandEvent &event)=0
DIALOG_FP_PLUGIN_OPTIONS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=wxEmptyString, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxCAPTION|wxCLOSE_BOX|wxDEFAULT_DIALOG_STYLE|wxMAXIMIZE_BOX|wxRESIZE_BORDER)
virtual void onAppendOption(wxCommandEvent &event)=0
virtual void onUpdateUI(wxUpdateUIEvent &event)=0
virtual void onListBoxItemSelected(wxCommandEvent &event)=0