KiCad PCB EDA Suite
dialog_eeschema_options_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_EESCHEMA_OPTIONS_BASE_H__
9 #define __DIALOG_EESCHEMA_OPTIONS_BASE_H__
10 
11 #include <wx/artprov.h>
12 #include <wx/xrc/xmlres.h>
13 #include <wx/intl.h>
14 #include "widgets/stepped_slider.h"
15 #include "dialog_shim.h"
16 #include <wx/string.h>
17 #include <wx/stattext.h>
18 #include <wx/gdicmn.h>
19 #include <wx/font.h>
20 #include <wx/colour.h>
21 #include <wx/settings.h>
22 #include <wx/choice.h>
23 #include <wx/spinctrl.h>
24 #include <wx/slider.h>
25 #include <wx/checkbox.h>
26 #include <wx/sizer.h>
27 #include <wx/statline.h>
28 #include <wx/panel.h>
29 #include <wx/bitmap.h>
30 #include <wx/image.h>
31 #include <wx/icon.h>
32 #include <wx/grid.h>
33 #include <wx/button.h>
34 #include <wx/notebook.h>
35 #include <wx/dialog.h>
36 
38 
43 {
44  DECLARE_EVENT_TABLE()
45  private:
46 
47  // Private event handlers
48  void _wxFB_OnSize( wxSizeEvent& event ){ OnSize( event ); }
49  void _wxFB_OnScaleSlider( wxScrollEvent& event ){ OnScaleSlider( event ); }
50  void _wxFB_OnScaleAuto( wxCommandEvent& event ){ OnScaleAuto( event ); }
51  void _wxFB_OnChooseUnits( wxCommandEvent& event ){ OnChooseUnits( event ); }
52  void _wxFB_OnAddButtonClick( wxCommandEvent& event ){ OnAddButtonClick( event ); }
53  void _wxFB_OnDeleteButtonClick( wxCommandEvent& event ){ OnDeleteButtonClick( event ); }
54 
55 
56  protected:
57  enum
58  {
63  };
64 
65  wxNotebook* m_notebook;
66  wxPanel* m_panel5;
67  wxStaticText* m_staticText3;
68  wxChoice* m_choiceGridSize;
69  wxStaticText* m_staticGridUnits;
70  wxStaticText* m_staticText51;
71  wxSpinCtrl* m_spinBusWidth;
72  wxStaticText* m_staticBusWidthUnits;
73  wxStaticText* m_staticText5;
74  wxSpinCtrl* m_spinLineWidth;
75  wxStaticText* m_staticLineWidthUnits;
76  wxStaticText* m_staticText26;
78  wxStaticText* m_stIconScale;
80  wxStaticText* m_staticText211;
81  wxCheckBox* m_scaleAuto;
82  wxStaticLine* m_staticline3;
83  wxCheckBox* m_checkShowGrid;
84  wxCheckBox* m_checkHVOrientation;
85  wxCheckBox* m_checkShowHiddenPins;
86  wxCheckBox* m_checkPageLimits;
87  wxCheckBox* m_footprintPreview;
88  wxPanel* m_panel3;
89  wxStaticText* m_staticText2;
90  wxChoice* m_choiceUnits;
91  wxStaticText* m_staticTextHpitch;
93  wxStaticText* m_staticRepeatXUnits;
94  wxStaticText* m_staticTextVpitch;
95  wxSpinCtrl* m_spinRepeatVertical;
96  wxStaticText* m_staticRepeatYUnits;
97  wxStaticText* m_staticText16;
98  wxSpinCtrl* m_spinRepeatLabel;
99  wxStaticText* m_staticTextTsize;
100  wxSpinCtrl* m_spinTextSize;
101  wxStaticText* m_staticTextSizeUnits;
104  wxStaticText* m_staticText23;
105  wxStaticLine* m_staticline2;
109  wxPanel* m_tabControls;
110  wxBoxSizer* m_controlsSizer;
111  wxStaticText* m_staticText20;
112  wxStaticText* m_staticText21;
113  wxPanel* m_panelHotkeys;
116  wxCheckBox* m_checkAutoPan;
117  wxPanel* m_tabColors;
118  wxPanel* m_panelColors;
119  wxPanel* m_panel2;
120  wxGrid* m_fieldGrid;
121  wxButton* addFieldButton;
122  wxButton* deleteFieldButton;
123  wxStdDialogButtonSizer* m_sdbSizer;
124  wxButton* m_sdbSizerOK;
125  wxButton* m_sdbSizerCancel;
126 
127  // Virtual event handlers, overide them in your derived class
128  virtual void OnSize( wxSizeEvent& event ) { event.Skip(); }
129  virtual void OnScaleSlider( wxScrollEvent& event ) { event.Skip(); }
130  virtual void OnScaleAuto( wxCommandEvent& event ) { event.Skip(); }
131  virtual void OnChooseUnits( wxCommandEvent& event ) { event.Skip(); }
132  virtual void OnAddButtonClick( wxCommandEvent& event ) { event.Skip(); }
133  virtual void OnDeleteButtonClick( wxCommandEvent& event ) { event.Skip(); }
134 
135 
136  public:
137 
138  DIALOG_EESCHEMA_OPTIONS_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Schematic Editor Options"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
140 
141 };
142 
143 #endif //__DIALOG_EESCHEMA_OPTIONS_BASE_H__
virtual void OnAddButtonClick(wxCommandEvent &event)
virtual void OnDeleteButtonClick(wxCommandEvent &event)
Class DIALOG_SHIM may sit in the inheritance tree between wxDialog and any class written by wxFormBui...
Definition: dialog_shim.h:70
virtual void OnScaleAuto(wxCommandEvent &event)
virtual void OnScaleSlider(wxScrollEvent &event)
void _wxFB_OnDeleteButtonClick(wxCommandEvent &event)
void _wxFB_OnAddButtonClick(wxCommandEvent &event)
virtual void OnChooseUnits(wxCommandEvent &event)
DIALOG_EESCHEMA_OPTIONS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Schematic Editor Options"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
Customized wxSlider with forced stepping.
Class DIALOG_EESCHEMA_OPTIONS_BASE.
void _wxFB_OnChooseUnits(wxCommandEvent &event)
virtual void OnSize(wxSizeEvent &event)
void _wxFB_OnScaleAuto(wxCommandEvent &event)
void _wxFB_OnScaleSlider(wxScrollEvent &event)