KiCad PCB EDA Suite
panel_common_settings_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Jan 5 2019)
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 "widgets/stepped_slider.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/spinctrl.h>
21 #include <wx/sizer.h>
22 #include <wx/choice.h>
23 #include <wx/gbsizer.h>
24 #include <wx/textctrl.h>
25 #include <wx/bmpbuttn.h>
26 #include <wx/bitmap.h>
27 #include <wx/image.h>
28 #include <wx/icon.h>
29 #include <wx/button.h>
30 #include <wx/radiobut.h>
31 #include <wx/statbox.h>
32 #include <wx/slider.h>
33 #include <wx/checkbox.h>
34 #include <wx/panel.h>
35 
37 
41 class PANEL_COMMON_SETTINGS_BASE : public wxPanel
42 {
43  private:
44 
45  protected:
46  enum
47  {
48  wxID_AUTOPAN = 1000
49  };
50 
51  wxStaticText* m_staticTextautosave;
52  wxSpinCtrl* m_SaveTime;
54  wxSpinCtrl* m_fileHistorySize;
55  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_staticTexticonscale;
65  wxStaticText* m_staticTextPerCent;
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 onUpdateUIPdfPath( wxUpdateUIEvent& event ) { event.Skip(); }
75  virtual void OnPDFViewerClick( wxCommandEvent& event ) { event.Skip(); }
76  virtual void OnScaleSlider( wxScrollEvent& event ) { event.Skip(); }
77  virtual void OnScaleAuto( wxCommandEvent& event ) { event.Skip(); }
78 
79 
80  public:
81 
82  PANEL_COMMON_SETTINGS_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString );
84 
85 };
86 
virtual void onUpdateUIPdfPath(wxUpdateUIEvent &event)
virtual void OnPDFViewerClick(wxCommandEvent &event)
Class PANEL_COMMON_SETTINGS_BASE.
PANEL_COMMON_SETTINGS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
virtual void OnTextEditorClick(wxCommandEvent &event)
virtual void OnScaleSlider(wxScrollEvent &event)
virtual void OnScaleAuto(wxCommandEvent &event)
const char * name
Definition: DXF_plotter.cpp:61
Customized wxSlider with forced stepping.