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 #include <wx/intl.h>
13 class BITMAP_BUTTON;
14 class WX_GRID;
15 
16 #include "widgets/wx_panel.h"
17 #include <wx/scrolwin.h>
18 #include <wx/gdicmn.h>
19 #include <wx/font.h>
20 #include <wx/colour.h>
21 #include <wx/settings.h>
22 #include <wx/string.h>
23 #include <wx/sizer.h>
24 #include <wx/panel.h>
25 #include <wx/bitmap.h>
26 #include <wx/image.h>
27 #include <wx/icon.h>
28 #include <wx/stattext.h>
29 #include <wx/textctrl.h>
30 #include <wx/grid.h>
31 #include <wx/splitter.h>
32 #include <wx/notebook.h>
33 #include <wx/choice.h>
34 
36 
37 
42 {
43  private:
44 
45  protected:
46  wxBoxSizer* m_sizerOuter;
47  wxNotebook* m_notebook;
48  wxPanel* m_panelLayers;
49  wxBoxSizer* m_panelLayersSizer;
50  wxScrolledCanvas* m_windowLayers;
51  wxPanel* m_panelObjects;
52  wxBoxSizer* m_objectsPanelSizer;
53  wxScrolledCanvas* m_windowObjects;
55  wxBoxSizer* m_netsTabOuterSizer;
56  wxSplitterWindow* m_netsTabSplitter;
57  wxPanel* m_panelNets;
58  wxStaticText* m_staticTextNets;
59  wxTextCtrl* m_txtNetFilter;
63  wxStaticText* m_staticTextNetClasses;
65  wxScrolledWindow* m_netclassScrolledWindow;
66  wxBoxSizer* m_netclassOuterSizer;
67  wxStaticText* m_presetsLabel;
68  wxChoice* m_cbLayerPresets;
69 
70  // Virtual event handlers, overide them in your derived class
71  virtual void OnSetFocus( wxFocusEvent& event ) { event.Skip(); }
72  virtual void OnSize( wxSizeEvent& event ) { event.Skip(); }
73  virtual void OnNotebookPageChanged( wxNotebookEvent& event ) { event.Skip(); }
74  virtual void OnNetGridClick( wxGridEvent& event ) { event.Skip(); }
75  virtual void OnNetGridDoubleClick( wxGridEvent& event ) { event.Skip(); }
76  virtual void OnNetGridRightClick( wxGridEvent& event ) { event.Skip(); }
77  virtual void onLayerPresetChanged( wxCommandEvent& event ) { event.Skip(); }
78 
79 
80  public:
81 
82  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 );
84 
85  void m_netsTabSplitterOnIdle( wxIdleEvent& )
86  {
87  m_netsTabSplitter->SetSashPosition( 300 );
88  m_netsTabSplitter->Disconnect( wxEVT_IDLE, wxIdleEventHandler( APPEARANCE_CONTROLS_BASE::m_netsTabSplitterOnIdle ), NULL, this );
89  }
90 
91 };
92 
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
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:56
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 &)