KiCad PCB EDA Suite
tuner_slider_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Jun 24 2016)
3 // http://www.wxformbuilder.org/
4 //
5 // PLEASE DO "NOT" EDIT THIS FILE!
7 
8 #ifndef __TUNER_SLIDER_BASE_H__
9 #define __TUNER_SLIDER_BASE_H__
10 
11 #include <wx/artprov.h>
12 #include <wx/xrc/xmlres.h>
13 #include <wx/intl.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/button.h>
21 #include <wx/sizer.h>
22 #include <wx/slider.h>
23 #include <wx/textctrl.h>
24 #include <wx/panel.h>
25 
27 
28 
32 class TUNER_SLIDER_BASE : public wxPanel
33 {
34  private:
35 
36  protected:
37  wxStaticText* m_name;
38  wxButton* m_closeBtn;
39  wxSlider* m_slider;
40  wxTextCtrl* m_maxText;
41  wxTextCtrl* m_valueText;
42  wxTextCtrl* m_minText;
43  wxButton* m_saveBtn;
44 
45  // Virtual event handlers, overide them in your derived class
46  virtual void onClose( wxCommandEvent& event ) { event.Skip(); }
47  virtual void onSliderChanged( wxScrollEvent& event ) { event.Skip(); }
48  virtual void onMaxTextEnter( wxCommandEvent& event ) { event.Skip(); }
49  virtual void onValueTextEnter( wxCommandEvent& event ) { event.Skip(); }
50  virtual void onMinTextEnter( wxCommandEvent& event ) { event.Skip(); }
51  virtual void onSave( wxCommandEvent& event ) { event.Skip(); }
52 
53 
54  public:
55 
56  TUNER_SLIDER_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 97,283 ), long style = wxTAB_TRAVERSAL );
58 
59 };
60 
61 #endif //__TUNER_SLIDER_BASE_H__
virtual void onMinTextEnter(wxCommandEvent &event)
virtual void onSave(wxCommandEvent &event)
wxTextCtrl * m_valueText
wxStaticText * m_name
Class TUNER_SLIDER_BASE.
TUNER_SLIDER_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(97, 283), long style=wxTAB_TRAVERSAL)
wxTextCtrl * m_maxText
virtual void onClose(wxCommandEvent &event)
wxTextCtrl * m_minText
virtual void onSliderChanged(wxScrollEvent &event)
virtual void onMaxTextEnter(wxCommandEvent &event)
virtual void onValueTextEnter(wxCommandEvent &event)