KiCad PCB EDA Suite
appearance_controls_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Oct 26 2018)
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 class BITMAP_BUTTON;
13 class WX_GRID;
14 
15 #include <wx/scrolwin.h>
16 #include <wx/gdicmn.h>
17 #include <wx/font.h>
18 #include <wx/colour.h>
19 #include <wx/settings.h>
20 #include <wx/string.h>
21 #include <wx/sizer.h>
22 #include <wx/panel.h>
23 #include <wx/bitmap.h>
24 #include <wx/image.h>
25 #include <wx/icon.h>
26 #include <wx/stattext.h>
27 #include <wx/textctrl.h>
28 #include <wx/grid.h>
29 #include <wx/splitter.h>
30 #include <wx/notebook.h>
31 #include <wx/choice.h>
32 
34 
35 
39 class APPEARANCE_CONTROLS_BASE : public wxPanel
40 {
41  private:
42 
43  protected:
44  wxBoxSizer* m_sizerOuter;
45  wxNotebook* m_notebook;
46  wxPanel* m_panelLayers;
47  wxBoxSizer* m_panelLayersSizer;
48  wxScrolledCanvas* m_windowLayers;
49  wxPanel* m_panelObjects;
50  wxBoxSizer* m_objectsPanelSizer;
51  wxScrolledCanvas* m_windowObjects;
53  wxBoxSizer* m_netsTabOuterSizer;
54  wxSplitterWindow* m_netsTabSplitter;
55  wxPanel* m_panelNets;
56  wxStaticText* m_staticTextNets;
57  wxTextCtrl* m_txtNetFilter;
61  wxStaticText* m_staticText14;
63  wxScrolledWindow* m_netclassScrolledWindow;
64  wxBoxSizer* m_netclassOuterSizer;
65  wxStaticText* presetsLabel;
66  wxStaticText* presetsHotkey;
67  wxChoice* m_cbLayerPresets;
68 
69  // Virtual event handlers, overide them in your derived class
70  virtual void OnSetFocus( wxFocusEvent& event ) { event.Skip(); }
71  virtual void OnSize( wxSizeEvent& event ) { event.Skip(); }
72  virtual void OnNotebookPageChanged( wxNotebookEvent& event ) { event.Skip(); }
73  virtual void OnNetGridClick( wxGridEvent& event ) { event.Skip(); }
74  virtual void OnNetGridDoubleClick( wxGridEvent& event ) { event.Skip(); }
75  virtual void OnNetGridRightClick( wxGridEvent& event ) { event.Skip(); }
76  virtual void onLayerPresetChanged( wxCommandEvent& event ) { event.Skip(); }
77 
78 
79  public:
80 
81  APPEARANCE_CONTROLS_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 215,400 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString );
83 
84  void m_netsTabSplitterOnIdle( wxIdleEvent& )
85  {
86  m_netsTabSplitter->SetSashPosition( 300 );
87  m_netsTabSplitter->Disconnect( wxEVT_IDLE, wxIdleEventHandler( APPEARANCE_CONTROLS_BASE::m_netsTabSplitterOnIdle ), NULL, this );
88  }
89 
90 };
91 
virtual void OnSetFocus(wxFocusEvent &event)
A bitmap button widget that behaves like an AUI toolbar item's button when it is drawn.
Definition: bitmap_button.h:39
virtual void OnNetGridClick(wxGridEvent &event)
Class APPEARANCE_CONTROLS_BASE.
virtual void OnNetGridRightClick(wxGridEvent &event)
virtual void OnSize(wxSizeEvent &event)
wxScrolledWindow * m_netclassScrolledWindow
#define NULL
virtual void OnNetGridDoubleClick(wxGridEvent &event)
virtual void onLayerPresetChanged(wxCommandEvent &event)
wxSplitterWindow * m_netsTabSplitter
virtual void OnNotebookPageChanged(wxNotebookEvent &event)
const char * name
Definition: DXF_plotter.cpp:59
APPEARANCE_CONTROLS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(215, 400), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
void m_netsTabSplitterOnIdle(wxIdleEvent &)