KiCad PCB EDA Suite
panel_common_settings_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Jul 11 2018)
3 // http://www.wxformbuilder.org/
4 //
5 // PLEASE DO *NOT* EDIT THIS FILE!
7 
8 #ifndef __PANEL_COMMON_SETTINGS_BASE_H__
9 #define __PANEL_COMMON_SETTINGS_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 <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/spinctrl.h>
22 #include <wx/sizer.h>
23 #include <wx/choice.h>
24 #include <wx/gbsizer.h>
25 #include <wx/textctrl.h>
26 #include <wx/bmpbuttn.h>
27 #include <wx/bitmap.h>
28 #include <wx/image.h>
29 #include <wx/icon.h>
30 #include <wx/button.h>
31 #include <wx/radiobut.h>
32 #include <wx/statbox.h>
33 #include <wx/slider.h>
34 #include <wx/checkbox.h>
35 #include <wx/panel.h>
36 
38 
42 class PANEL_COMMON_SETTINGS_BASE : public wxPanel
43 {
44  private:
45 
46  protected:
47  enum
48  {
49  wxID_AUTOPAN = 1000
50  };
51 
52  wxStaticText* m_staticTextautosave;
53  wxSpinCtrl* m_SaveTime;
55  wxSpinCtrl* m_fileHistorySize;
56  wxChoice* m_antialiasing;
57  wxTextCtrl* m_textEditorPath;
58  wxBitmapButton* m_textEditorBtn;
59  wxRadioButton* m_defaultPDFViewer;
60  wxRadioButton* m_otherPDFViewer;
61  wxTextCtrl* m_PDFViewerPath;
62  wxBitmapButton* m_pdfViewerBtn;
63  wxStaticText* m_staticText1;
65  wxStaticText* m_staticText2;
66  wxCheckBox* m_scaleAuto;
68  wxCheckBox* m_ZoomCenterOpt;
69  wxCheckBox* m_MousewheelPANOpt;
70  wxCheckBox* m_AutoPANOpt;
71 
72  // Virtual event handlers, overide them in your derived class
73  virtual void OnTextEditorClick( wxCommandEvent& event ) { event.Skip(); }
74  virtual void OnPDFViewerClick( wxCommandEvent& event ) { event.Skip(); }
75  virtual void OnScaleSlider( wxScrollEvent& event ) { event.Skip(); }
76  virtual void OnScaleAuto( wxCommandEvent& event ) { event.Skip(); }
77 
78 
79  public:
80 
81  PANEL_COMMON_SETTINGS_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL );
83 
84 };
85 
86 #endif //__PANEL_COMMON_SETTINGS_BASE_H__
PANEL_COMMON_SETTINGS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxTAB_TRAVERSAL)
virtual void OnPDFViewerClick(wxCommandEvent &event)
Class PANEL_COMMON_SETTINGS_BASE.
virtual void OnTextEditorClick(wxCommandEvent &event)
virtual void OnScaleSlider(wxScrollEvent &event)
virtual void OnScaleAuto(wxCommandEvent &event)
Customized wxSlider with forced stepping.