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 1 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 #include "dialog_shim.h"
14 #include <wx/string.h>
15 #include <wx/stattext.h>
16 #include <wx/gdicmn.h>
17 #include <wx/font.h>
18 #include <wx/colour.h>
19 #include <wx/settings.h>
20 #include <wx/textctrl.h>
21 #include <wx/sizer.h>
22 #include <wx/statbox.h>
23 #include <wx/combobox.h>
24 #include <wx/statline.h>
25 #include <wx/bitmap.h>
26 #include <wx/image.h>
27 #include <wx/icon.h>
28 #include <wx/button.h>
29 #include <wx/dialog.h>
30 
32 
33 
38 {
39  private:
40 
41  protected:
42  wxStaticText* m_staticTextGridPosX;
43  wxTextCtrl* m_GridOriginXCtrl;
44  wxStaticText* m_TextPosXUnits;
45  wxStaticText* m_staticTextGridPosY;
46  wxTextCtrl* m_GridOriginYCtrl;
47  wxStaticText* m_TextPosYUnits;
48  wxStaticText* m_staticTextSizeX;
49  wxTextCtrl* m_OptGridSizeX;
50  wxStaticText* m_TextSizeXUnits;
51  wxStaticText* m_staticTextSizeY;
52  wxTextCtrl* m_OptGridSizeY;
53  wxStaticText* m_TextSizeYUnits;
54  wxStaticText* m_staticTextGrid1;
55  wxComboBox* m_comboBoxGrid1;
56  wxStaticText* m_grid1HotKey;
57  wxStaticText* m_staticTextGrid2;
58  wxComboBox* m_comboBoxGrid2;
59  wxStaticText* m_grid2HotKey;
60  wxStaticLine* m_staticline1;
61  wxButton* m_buttonReset;
62  wxStdDialogButtonSizer* m_sdbSizer;
63  wxButton* m_sdbSizerOK;
64  wxButton* m_sdbSizerCancel;
65 
66  // Virtual event handlers, overide them in your derived class
67  virtual void OnInitDlg( wxInitDialogEvent& event ) { event.Skip(); }
68  virtual void OnResetGridOrgClick( wxCommandEvent& event ) { event.Skip(); }
69  virtual void OnCancelClick( wxCommandEvent& event ) { event.Skip(); }
70  virtual void OnOkClick( wxCommandEvent& event ) { event.Skip(); }
71 
72 
73  public:
74 
75  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 );
77 
78 };
79 
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)
virtual void OnOkClick(wxCommandEvent &event)
virtual void OnCancelClick(wxCommandEvent &event)
virtual void OnResetGridOrgClick(wxCommandEvent &event)