KiCad PCB EDA Suite
dialog_grid_settings_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 #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/panel.h>
24 #include <wx/choice.h>
25 #include <wx/simplebook.h>
26 #include <wx/statline.h>
27 #include <wx/bitmap.h>
28 #include <wx/image.h>
29 #include <wx/icon.h>
30 #include <wx/button.h>
31 #include <wx/dialog.h>
32 
34 
35 
40 {
41  private:
42 
43  protected:
44  wxSimplebook* m_book;
45  wxStaticText* m_staticTextGridPosX;
46  wxTextCtrl* m_GridOriginXCtrl;
47  wxStaticText* m_TextPosXUnits;
48  wxStaticText* m_staticTextGridPosY;
49  wxTextCtrl* m_GridOriginYCtrl;
50  wxStaticText* m_TextPosYUnits;
51  wxChoice* m_currentGridCtrl;
52  wxStaticText* m_staticTextSizeX;
53  wxTextCtrl* m_OptGridSizeX;
54  wxStaticText* m_TextSizeXUnits;
55  wxStaticText* m_staticTextSizeY;
56  wxTextCtrl* m_OptGridSizeY;
57  wxStaticText* m_TextSizeYUnits;
58  wxStaticText* m_staticTextGrid1;
59  wxChoice* m_grid1Ctrl;
60  wxStaticText* m_grid1HotKey;
61  wxStaticText* m_staticTextGrid2;
62  wxChoice* m_grid2Ctrl;
63  wxStaticText* m_grid2HotKey;
64  wxStaticLine* m_staticline1;
66  wxButton* m_buttonResetSizes;
67  wxStdDialogButtonSizer* m_sdbSizer;
68  wxButton* m_sdbSizerOK;
69  wxButton* m_sdbSizerCancel;
70 
71  // Virtual event handlers, overide them in your derived class
72  virtual void OnInitDlg( wxInitDialogEvent& event ) { event.Skip(); }
73  virtual void OnResetGridOriginClick( wxCommandEvent& event ) { event.Skip(); }
74  virtual void OnCancelClick( wxCommandEvent& event ) { event.Skip(); }
75  virtual void OnOkClick( wxCommandEvent& event ) { event.Skip(); }
76 
77 
78  public:
79 
80  DIALOG_GRID_SETTINGS_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 );
82 
83 };
84 
virtual void OnOkClick(wxCommandEvent &event)
wxStdDialogButtonSizer * m_sdbSizer
DIALOG_GRID_SETTINGS_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)
virtual void OnInitDlg(wxInitDialogEvent &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 OnResetGridOriginClick(wxCommandEvent &event)
#define _(s)
virtual void OnCancelClick(wxCommandEvent &event)
Class DIALOG_GRID_SETTINGS_BASE.