KiCad PCB EDA Suite
dialog_lib_edit_pin_table_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Dec 21 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 class WX_GRID;
14 
15 #include "dialog_shim.h"
16 #include <wx/colour.h>
17 #include <wx/settings.h>
18 #include <wx/string.h>
19 #include <wx/font.h>
20 #include <wx/grid.h>
21 #include <wx/gdicmn.h>
22 #include <wx/bmpbuttn.h>
23 #include <wx/bitmap.h>
24 #include <wx/image.h>
25 #include <wx/icon.h>
26 #include <wx/button.h>
27 #include <wx/statline.h>
28 #include <wx/checkbox.h>
29 #include <wx/stattext.h>
30 #include <wx/sizer.h>
31 #include <wx/dialog.h>
32 
34 
35 
40 {
41  private:
42 
43  protected:
45  wxBitmapButton* m_addButton;
46  wxBitmapButton* m_deleteButton;
47  wxStaticLine* m_staticline1;
48  wxCheckBox* m_cbGroup;
49  wxBitmapButton* m_refreshButton;
50  wxStaticLine* m_staticline2;
51  wxStaticText* m_staticText1;
52  wxStaticText* m_summary;
53  wxStdDialogButtonSizer* m_Buttons;
54  wxButton* m_ButtonsOK;
55  wxButton* m_ButtonsCancel;
56 
57  // Virtual event handlers, overide them in your derived class
58  virtual void OnClose( wxCloseEvent& event ) = 0;
59  virtual void OnUpdateUI( wxUpdateUIEvent& event ) = 0;
60  virtual void OnCellEdited( wxGridEvent& event ) = 0;
61  virtual void OnSize( wxSizeEvent& event ) = 0;
62  virtual void OnAddRow( wxCommandEvent& event ) = 0;
63  virtual void OnDeleteRow( wxCommandEvent& event ) = 0;
64  virtual void OnRebuildRows( wxCommandEvent& event ) = 0;
65  virtual void OnCancel( wxCommandEvent& event ) = 0;
66 
67 
68  public:
69 
70  DIALOG_LIB_EDIT_PIN_TABLE_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Pin Table"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
72 
73 };
74 
DIALOG_LIB_EDIT_PIN_TABLE_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Pin Table"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
virtual void OnRebuildRows(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 OnDeleteRow(wxCommandEvent &event)=0
virtual void OnUpdateUI(wxUpdateUIEvent &event)=0
#define _(s)
virtual void OnAddRow(wxCommandEvent &event)=0
virtual void OnCancel(wxCommandEvent &event)=0
Class DIALOG_LIB_EDIT_PIN_TABLE_BASE.
virtual void OnClose(wxCloseEvent &event)=0
virtual void OnSize(wxSizeEvent &event)=0
virtual void OnCellEdited(wxGridEvent &event)=0