KiCad PCB EDA Suite
dialog_grid_settings_base.h
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b)
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/button.h>
27#include <wx/bitmap.h>
28#include <wx/image.h>
29#include <wx/icon.h>
30#include <wx/dialog.h>
31
33
34
39{
40 private:
41
42 protected:
43 wxSimplebook* m_book;
44 wxStaticText* m_staticTextGridPosX;
45 wxTextCtrl* m_GridOriginXCtrl;
46 wxStaticText* m_TextPosXUnits;
47 wxStaticText* m_staticTextGridPosY;
48 wxTextCtrl* m_GridOriginYCtrl;
49 wxStaticText* m_TextPosYUnits;
51 wxStaticText* m_staticTextSizeX;
52 wxTextCtrl* m_OptGridSizeX;
53 wxStaticText* m_TextSizeXUnits;
54 wxStaticText* m_staticTextSizeY;
55 wxTextCtrl* m_OptGridSizeY;
56 wxStaticText* m_TextSizeYUnits;
57 wxStaticText* m_staticTextGrid1;
58 wxChoice* m_grid1Ctrl;
59 wxStaticText* m_grid1HotKey;
60 wxStaticText* m_staticTextGrid2;
61 wxChoice* m_grid2Ctrl;
62 wxStaticText* m_grid2HotKey;
65 wxStdDialogButtonSizer* m_sdbSizer;
66 wxButton* m_sdbSizerOK;
68
69 // Virtual event handlers, override them in your derived class
70 virtual void OnInitDlg( wxInitDialogEvent& event ) { event.Skip(); }
71 virtual void OnResetGridOriginClick( wxCommandEvent& event ) { event.Skip(); }
72 virtual void OnCancelClick( wxCommandEvent& event ) { event.Skip(); }
73 virtual void OnOkClick( wxCommandEvent& event ) { event.Skip(); }
74
75
76 public:
77
78 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 );
79
81
82};
83
Class DIALOG_GRID_SETTINGS_BASE.
virtual void OnOkClick(wxCommandEvent &event)
virtual void OnCancelClick(wxCommandEvent &event)
wxStdDialogButtonSizer * m_sdbSizer
virtual void OnInitDlg(wxInitDialogEvent &event)
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)
virtual void OnResetGridOriginClick(wxCommandEvent &event)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:83
#define _(s)