KiCad PCB EDA Suite
tuner_slider_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version 3.10.0)
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 <wx/string.h>
14 #include <wx/stattext.h>
15 #include <wx/gdicmn.h>
16 #include <wx/font.h>
17 #include <wx/colour.h>
18 #include <wx/settings.h>
19 #include <wx/button.h>
20 #include <wx/bitmap.h>
21 #include <wx/image.h>
22 #include <wx/icon.h>
23 #include <wx/sizer.h>
24 #include <wx/slider.h>
25 #include <wx/textctrl.h>
26 #include <wx/panel.h>
27 
29 
30 
34 class TUNER_SLIDER_BASE : public wxPanel
35 {
36  private:
37 
38  protected:
39  wxStaticText* m_name;
40  wxButton* m_closeBtn;
41  wxSlider* m_slider;
42  wxTextCtrl* m_maxText;
43  wxTextCtrl* m_valueText;
44  wxTextCtrl* m_minText;
45  wxButton* m_saveBtn;
46 
47  // Virtual event handlers, override them in your derived class
48  virtual void onClose( wxCommandEvent& event ) { event.Skip(); }
49  virtual void onSliderChanged( wxScrollEvent& event ) { event.Skip(); }
50  virtual void onMaxKillFocus( wxFocusEvent& event ) { event.Skip(); }
51  virtual void onMaxTextEnter( wxCommandEvent& event ) { event.Skip(); }
52  virtual void onValueKillFocus( wxFocusEvent& event ) { event.Skip(); }
53  virtual void onValueTextEnter( wxCommandEvent& event ) { event.Skip(); }
54  virtual void onMinKillFocus( wxFocusEvent& event ) { event.Skip(); }
55  virtual void onMinTextEnter( wxCommandEvent& event ) { event.Skip(); }
56  virtual void onSave( wxCommandEvent& event ) { event.Skip(); }
57 
58 
59  public:
60 
61  TUNER_SLIDER_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 126,283 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString );
62 
64 
65 };
66 
virtual void onMinTextEnter(wxCommandEvent &event)
virtual void onSave(wxCommandEvent &event)
wxTextCtrl * m_valueText
wxStaticText * m_name
TUNER_SLIDER_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(126, 283), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
Class TUNER_SLIDER_BASE.
wxTextCtrl * m_maxText
virtual void onClose(wxCommandEvent &event)
const char * name
Definition: DXF_plotter.cpp:56
virtual void onMaxKillFocus(wxFocusEvent &event)
wxTextCtrl * m_minText
virtual void onSliderChanged(wxScrollEvent &event)
virtual void onValueKillFocus(wxFocusEvent &event)
virtual void onMaxTextEnter(wxCommandEvent &event)
virtual void onValueTextEnter(wxCommandEvent &event)
virtual void onMinKillFocus(wxFocusEvent &event)