KiCad PCB EDA Suite
appearance_controls_base.h
Go to the documentation of this file.
1
2// 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>
13class BITMAP_BUTTON;
14class 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;
53 wxScrolledCanvas* m_windowObjects;
56 wxSplitterWindow* m_netsTabSplitter;
57 wxPanel* m_panelNets;
58 wxStaticText* m_staticTextNets;
59 wxTextCtrl* m_txtNetFilter;
65 wxScrolledWindow* m_netclassScrolledWindow;
67 wxStaticText* m_presetsLabel;
69 wxStaticText* m_viewportsLabel;
70 wxChoice* m_cbViewports;
71
72 // Virtual event handlers, overide them in your derived class
73 virtual void OnSetFocus( wxFocusEvent& event ) { event.Skip(); }
74 virtual void OnSize( wxSizeEvent& event ) { event.Skip(); }
75 virtual void OnNotebookPageChanged( wxNotebookEvent& event ) { event.Skip(); }
76 virtual void OnNetGridClick( wxGridEvent& event ) { event.Skip(); }
77 virtual void OnNetGridDoubleClick( wxGridEvent& event ) { event.Skip(); }
78 virtual void OnNetGridRightClick( wxGridEvent& event ) { event.Skip(); }
79 virtual void onLayerPresetChanged( wxCommandEvent& event ) { event.Skip(); }
80 virtual void onViewportChanged( wxCommandEvent& event ) { event.Skip(); }
81
82
83 public:
84
85 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 );
87
88 void m_netsTabSplitterOnIdle( wxIdleEvent& )
89 {
90 m_netsTabSplitter->SetSashPosition( 300 );
91 m_netsTabSplitter->Disconnect( wxEVT_IDLE, wxIdleEventHandler( APPEARANCE_CONTROLS_BASE::m_netsTabSplitterOnIdle ), NULL, this );
92 }
93
94};
95
const char * name
Definition: DXF_plotter.cpp:56
Class APPEARANCE_CONTROLS_BASE.
virtual void onLayerPresetChanged(wxCommandEvent &event)
virtual void OnNotebookPageChanged(wxNotebookEvent &event)
virtual void OnNetGridDoubleClick(wxGridEvent &event)
virtual void onViewportChanged(wxCommandEvent &event)
virtual void OnNetGridClick(wxGridEvent &event)
virtual void OnNetGridRightClick(wxGridEvent &event)
wxSplitterWindow * m_netsTabSplitter
virtual void OnSetFocus(wxFocusEvent &event)
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 &)
wxScrolledWindow * m_netclassScrolledWindow
virtual void OnSize(wxSizeEvent &event)
A bitmap button widget that behaves like an AUI toolbar item's button when it is drawn.
Definition: bitmap_button.h:40