KiCad PCB EDA Suite
dialog_symbol_fields_table_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Oct 26 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 class WX_GRID;
14 
15 #include "dialog_shim.h"
16 #include <wx/string.h>
17 #include <wx/checkbox.h>
18 #include <wx/gdicmn.h>
19 #include <wx/font.h>
20 #include <wx/colour.h>
21 #include <wx/settings.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/sizer.h>
28 #include <wx/dataview.h>
29 #include <wx/panel.h>
30 #include <wx/grid.h>
31 #include <wx/splitter.h>
32 #include <wx/dialog.h>
33 
35 
36 #define OPT_GROUP_COMPONENTS 1000
37 
42 {
43  private:
44 
45  protected:
46  wxSplitterWindow* m_splitterMainWindow;
47  wxPanel* m_leftPanel;
48  wxCheckBox* m_groupSymbolsBox;
49  wxBitmapButton* m_bRefresh;
50  wxDataViewListCtrl* m_fieldsCtrl;
51  wxButton* m_addFieldButton;
52  wxPanel* m_rightPanel;
54  wxButton* m_buttonApply;
55  wxStdDialogButtonSizer* m_sdbSizer;
56  wxButton* m_sdbSizerOK;
57  wxButton* m_sdbSizerCancel;
58 
59  // Virtual event handlers, overide them in your derived class
60  virtual void OnClose( wxCloseEvent& event ) { event.Skip(); }
61  virtual void OnGroupSymbolsToggled( wxCommandEvent& event ) { event.Skip(); }
62  virtual void OnRegroupSymbols( wxCommandEvent& event ) { event.Skip(); }
63  virtual void OnColumnItemToggled( wxDataViewEvent& event ) { event.Skip(); }
64  virtual void OnSizeFieldList( wxSizeEvent& event ) { event.Skip(); }
65  virtual void OnAddField( wxCommandEvent& event ) { event.Skip(); }
66  virtual void OnTableValueChanged( wxGridEvent& event ) { event.Skip(); }
67  virtual void OnTableCellClick( wxGridEvent& event ) { event.Skip(); }
68  virtual void OnTableItemContextMenu( wxGridEvent& event ) { event.Skip(); }
69  virtual void OnTableColSize( wxGridSizeEvent& event ) { event.Skip(); }
70  virtual void OnSaveAndContinue( wxCommandEvent& event ) { event.Skip(); }
71  virtual void OnCancel( wxCommandEvent& event ) { event.Skip(); }
72 
73 
74  public:
75 
76  DIALOG_SYMBOL_FIELDS_TABLE_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Symbol Fields Table"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxMAXIMIZE_BOX|wxRESIZE_BORDER );
78 
79 };
80 
virtual void OnAddField(wxCommandEvent &event)
virtual void OnSaveAndContinue(wxCommandEvent &event)
virtual void OnColumnItemToggled(wxDataViewEvent &event)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:82
virtual void OnGroupSymbolsToggled(wxCommandEvent &event)
virtual void OnSizeFieldList(wxSizeEvent &event)
virtual void OnTableValueChanged(wxGridEvent &event)
#define _(s)
virtual void OnCancel(wxCommandEvent &event)
virtual void OnRegroupSymbols(wxCommandEvent &event)
Class DIALOG_SYMBOL_FIELDS_TABLE_BASE.
virtual void OnTableColSize(wxGridSizeEvent &event)
DIALOG_SYMBOL_FIELDS_TABLE_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Symbol Fields Table"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxMAXIMIZE_BOX|wxRESIZE_BORDER)
virtual void OnTableItemContextMenu(wxGridEvent &event)
virtual void OnClose(wxCloseEvent &event)
virtual void OnTableCellClick(wxGridEvent &event)