KiCad PCB EDA Suite
pcbnew/dialogs/dialog_set_grid_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_SET_GRID_BASE_H__
9 #define __DIALOG_SET_GRID_BASE_H__
10 
11 #include <wx/artprov.h>
12 #include <wx/xrc/xmlres.h>
13 #include <wx/intl.h>
14 #include "dialog_shim.h"
15 #include <wx/string.h>
16 #include <wx/stattext.h>
17 #include <wx/gdicmn.h>
18 #include <wx/font.h>
19 #include <wx/colour.h>
20 #include <wx/settings.h>
21 #include <wx/textctrl.h>
22 #include <wx/sizer.h>
23 #include <wx/statbox.h>
24 #include <wx/choice.h>
25 #include <wx/statline.h>
26 #include <wx/button.h>
27 #include <wx/dialog.h>
28 
30 
31 
36 {
37  private:
38 
39  protected:
40  wxStaticText* m_staticTextGridPosX;
41  wxTextCtrl* m_GridOriginXCtrl;
42  wxStaticText* m_TextPosXUnits;
43  wxStaticText* m_staticTextGridPosY;
44  wxTextCtrl* m_GridOriginYCtrl;
45  wxStaticText* m_TextPosYUnits;
46  wxStaticText* m_staticTextSizeX;
47  wxTextCtrl* m_OptGridSizeX;
48  wxStaticText* m_TextSizeXUnits;
49  wxStaticText* m_staticTextSizeY;
50  wxTextCtrl* m_OptGridSizeY;
51  wxStaticText* m_TextSizeYUnits;
52  wxStaticText* m_staticTextGrid1;
53  wxChoice* m_grid1Ctrl;
54  wxStaticText* m_grid1HotKey;
55  wxStaticText* m_staticTextGrid2;
56  wxChoice* m_grid2Ctrl;
57  wxStaticText* m_grid2HotKey;
58  wxStaticLine* m_staticline1;
59  wxButton* m_buttonReset;
60  wxStdDialogButtonSizer* m_sdbSizer;
61  wxButton* m_sdbSizerOK;
62  wxButton* m_sdbSizerCancel;
63 
64  // Virtual event handlers, overide them in your derived class
65  virtual void OnInitDlg( wxInitDialogEvent& event ) { event.Skip(); }
66  virtual void OnResetGridOrgClick( wxCommandEvent& event ) { event.Skip(); }
67  virtual void OnCancelClick( wxCommandEvent& event ) { event.Skip(); }
68  virtual void OnOkClick( wxCommandEvent& event ) { event.Skip(); }
69 
70 
71  public:
72 
73  DIALOG_SET_GRID_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Grid Settings"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
75 
76 };
77 
78 #endif //__DIALOG_SET_GRID_BASE_H__
DIALOG_SET_GRID_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Grid Settings"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
Class DIALOG_SHIM may sit in the inheritance tree between wxDialog and any class written by wxFormBui...
Definition: dialog_shim.h:83
virtual void OnInitDlg(wxInitDialogEvent &event)
#define _(s)
virtual void OnOkClick(wxCommandEvent &event)
virtual void OnCancelClick(wxCommandEvent &event)
virtual void OnResetGridOrgClick(wxCommandEvent &event)