KiCad PCB EDA Suite
dialog_fp_plugin_options_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version 3.10.0)
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 class WX_GRID;
14 
15 #include "html_window.h"
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/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/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;
51  wxStdDialogButtonSizer* m_sdbSizer1;
52  wxButton* m_sdbSizer1OK;
53  wxButton* m_sdbSizer1Cancel;
54 
55  // Virtual event handlers, override 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 );
69 
71 
72 };
73 
virtual void onGridCellChange(wxGridEvent &event)=0
virtual void onSize(wxSizeEvent &event)=0
Class DIALOG_FP_PLUGIN_OPTIONS_BASE.
virtual void onDeleteRow(wxCommandEvent &event)=0
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
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
Add dark theme support to wxHtmlWindow.
Definition: html_window.h:33
virtual void onUpdateUI(wxUpdateUIEvent &event)=0
virtual void onListBoxItemSelected(wxCommandEvent &event)=0